Searched refs:wb_flags (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.10/fs/nfs/ |
D | pagelist.c | 258 if (!test_and_set_bit(PG_HEADLOCK, &req->wb_flags)) in nfs_page_set_headlock() 261 set_bit(PG_CONTENDED1, &req->wb_flags); in nfs_page_set_headlock() 263 return wait_on_bit_lock(&req->wb_flags, PG_HEADLOCK, in nfs_page_set_headlock() 275 clear_bit(PG_HEADLOCK, &req->wb_flags); in nfs_page_clear_headlock() 277 if (!test_bit(PG_CONTENDED1, &req->wb_flags)) in nfs_page_clear_headlock() 279 wake_up_bit(&req->wb_flags, PG_HEADLOCK); in nfs_page_clear_headlock() 325 WARN_ON_ONCE(!test_bit(PG_HEADLOCK, &head->wb_flags)); in nfs_page_group_sync_on_bit_locked() 326 WARN_ON_ONCE(test_and_set_bit(bit, &req->wb_flags)); in nfs_page_group_sync_on_bit_locked() 330 if (!test_bit(bit, &tmp->wb_flags)) in nfs_page_group_sync_on_bit_locked() 338 clear_bit(bit, &tmp->wb_flags); in nfs_page_group_sync_on_bit_locked() [all …]
|
D | write.c | 155 if (!test_and_set_bit(PG_INODE_REF, &req->wb_flags)) { in nfs_page_set_inode_ref() 166 if (!test_bit(PG_REMOVE, &req->wb_flags)) in nfs_cancel_remove_inode() 171 if (test_and_clear_bit(PG_REMOVE, &req->wb_flags)) in nfs_cancel_remove_inode() 466 clear_bit(PG_REMOVE, &subreq->wb_flags); in nfs_destroy_unlinked_subrequests() 471 if (test_and_clear_bit(PG_TEARDOWN, &subreq->wb_flags)) { in nfs_destroy_unlinked_subrequests() 482 if (test_and_clear_bit(PG_INODE_REF, &subreq->wb_flags)) { in nfs_destroy_unlinked_subrequests() 619 WARN_ON_ONCE(test_bit(PG_CLEAN, &req->wb_flags)); in nfs_page_async_flush() 764 set_bit(PG_MAPPED, &req->wb_flags); in nfs_inode_add_request() 774 WARN_ON(test_and_set_bit(PG_INODE_REF, &req->wb_flags)); in nfs_inode_add_request() 795 clear_bit(PG_MAPPED, &head->wb_flags); in nfs_inode_remove_request() [all …]
|
D | pnfs_nfs.c | 83 if (!test_and_clear_bit(PG_COMMIT_TO_DS, &req->wb_flags)) in pnfs_generic_clear_request_commit() 1187 set_bit(PG_COMMIT_TO_DS, &req->wb_flags); in pnfs_layout_mark_request_commit()
|
/Linux-v5.10/include/linux/ |
D | nfs_page.h | 51 unsigned long wb_flags; member 118 #define NFS_WBACK_BUSY(req) (test_bit(PG_BUSY,&(req)->wb_flags)) 162 return !test_and_set_bit(PG_BUSY, &req->wb_flags); in nfs_lock_request()
|