Searched refs:wb_flags (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.4/fs/nfs/ |
D | pagelist.c | 151 if (!test_and_set_bit(PG_HEADLOCK, &head->wb_flags)) in nfs_page_group_lock() 154 set_bit(PG_CONTENDED1, &head->wb_flags); in nfs_page_group_lock() 156 return wait_on_bit_lock(&head->wb_flags, PG_HEADLOCK, in nfs_page_group_lock() 172 clear_bit(PG_HEADLOCK, &head->wb_flags); in nfs_page_group_unlock() 174 if (!test_bit(PG_CONTENDED1, &head->wb_flags)) in nfs_page_group_unlock() 176 wake_up_bit(&head->wb_flags, PG_HEADLOCK); in nfs_page_group_unlock() 190 WARN_ON_ONCE(!test_bit(PG_HEADLOCK, &head->wb_flags)); in nfs_page_group_sync_on_bit_locked() 191 WARN_ON_ONCE(test_and_set_bit(bit, &req->wb_flags)); in nfs_page_group_sync_on_bit_locked() 195 if (!test_bit(bit, &tmp->wb_flags)) in nfs_page_group_sync_on_bit_locked() 203 clear_bit(bit, &tmp->wb_flags); in nfs_page_group_sync_on_bit_locked() [all …]
|
D | write.c | 425 clear_bit(PG_REMOVE, &subreq->wb_flags); in nfs_destroy_unlinked_subrequests() 430 if (test_and_clear_bit(PG_TEARDOWN, &subreq->wb_flags)) in nfs_destroy_unlinked_subrequests() 437 if (test_and_clear_bit(PG_INODE_REF, &subreq->wb_flags)) { in nfs_destroy_unlinked_subrequests() 568 if (test_and_clear_bit(PG_REMOVE, &head->wb_flags)) { in nfs_lock_and_join_requests() 569 set_bit(PG_INODE_REF, &head->wb_flags); in nfs_lock_and_join_requests() 620 WARN_ON_ONCE(test_bit(PG_CLEAN, &req->wb_flags)); in nfs_page_async_flush() 765 set_bit(PG_MAPPED, &req->wb_flags); in nfs_inode_add_request() 775 WARN_ON(test_and_set_bit(PG_INODE_REF, &req->wb_flags)); in nfs_inode_add_request() 796 clear_bit(PG_MAPPED, &head->wb_flags); in nfs_inode_remove_request() 801 if (test_and_clear_bit(PG_INODE_REF, &req->wb_flags)) { in nfs_inode_remove_request() [all …]
|
D | pnfs_nfs.c | 73 if (!test_and_clear_bit(PG_COMMIT_TO_DS, &req->wb_flags)) in pnfs_generic_clear_request_commit() 954 set_bit(PG_COMMIT_TO_DS, &req->wb_flags); in pnfs_layout_mark_request_commit()
|
/Linux-v5.4/include/linux/ |
D | nfs_page.h | 51 unsigned long wb_flags; member 114 #define NFS_WBACK_BUSY(req) (test_bit(PG_BUSY,&(req)->wb_flags)) 153 return !test_and_set_bit(PG_BUSY, &req->wb_flags); in nfs_lock_request()
|