Searched refs:wb_flags (Results 1 – 4 of 4) sorted by relevance
/linux-4.19.296/fs/nfs/ |
D | pagelist.c | 145 if (!test_and_set_bit(PG_HEADLOCK, &req->wb_flags)) in nfs_page_set_headlock() 148 set_bit(PG_CONTENDED1, &req->wb_flags); in nfs_page_set_headlock() 150 return wait_on_bit_lock(&req->wb_flags, PG_HEADLOCK, in nfs_page_set_headlock() 162 clear_bit(PG_HEADLOCK, &req->wb_flags); in nfs_page_clear_headlock() 164 if (!test_bit(PG_CONTENDED1, &req->wb_flags)) in nfs_page_clear_headlock() 166 wake_up_bit(&req->wb_flags, PG_HEADLOCK); in nfs_page_clear_headlock() 212 WARN_ON_ONCE(!test_bit(PG_HEADLOCK, &head->wb_flags)); in nfs_page_group_sync_on_bit_locked() 213 WARN_ON_ONCE(test_and_set_bit(bit, &req->wb_flags)); in nfs_page_group_sync_on_bit_locked() 217 if (!test_bit(bit, &tmp->wb_flags)) in nfs_page_group_sync_on_bit_locked() 225 clear_bit(bit, &tmp->wb_flags); in nfs_page_group_sync_on_bit_locked() [all …]
|
D | write.c | 427 clear_bit(PG_REMOVE, &subreq->wb_flags); in nfs_destroy_unlinked_subrequests() 432 if (test_and_clear_bit(PG_TEARDOWN, &subreq->wb_flags)) { in nfs_destroy_unlinked_subrequests() 443 if (test_and_clear_bit(PG_INODE_REF, &subreq->wb_flags)) { in nfs_destroy_unlinked_subrequests() 574 if (test_and_clear_bit(PG_REMOVE, &head->wb_flags)) { in nfs_lock_and_join_requests() 575 set_bit(PG_INODE_REF, &head->wb_flags); in nfs_lock_and_join_requests() 637 WARN_ON_ONCE(test_bit(PG_CLEAN, &req->wb_flags)); in nfs_page_async_flush() 777 set_bit(PG_MAPPED, &req->wb_flags); in nfs_inode_add_request() 787 WARN_ON(test_and_set_bit(PG_INODE_REF, &req->wb_flags)); in nfs_inode_add_request() 808 clear_bit(PG_MAPPED, &head->wb_flags); in nfs_inode_remove_request() 813 if (test_and_clear_bit(PG_INODE_REF, &req->wb_flags)) { in nfs_inode_remove_request() [all …]
|
D | pnfs_nfs.c | 71 if (!test_and_clear_bit(PG_COMMIT_TO_DS, &req->wb_flags)) in pnfs_generic_clear_request_commit() 947 set_bit(PG_COMMIT_TO_DS, &req->wb_flags); in pnfs_layout_mark_request_commit()
|
/linux-4.19.296/include/linux/ |
D | nfs_page.h | 52 unsigned long wb_flags; member 113 #define NFS_WBACK_BUSY(req) (test_bit(PG_BUSY,&(req)->wb_flags)) 155 return !test_and_set_bit(PG_BUSY, &req->wb_flags); in nfs_lock_request()
|