Searched refs:wb_flags (Results 1 – 4 of 4) sorted by relevance
/Linux-v4.19/fs/nfs/ |
D | pagelist.c | 150 if (!test_and_set_bit(PG_HEADLOCK, &head->wb_flags)) in nfs_page_group_lock() 153 set_bit(PG_CONTENDED1, &head->wb_flags); in nfs_page_group_lock() 155 return wait_on_bit_lock(&head->wb_flags, PG_HEADLOCK, in nfs_page_group_lock() 171 clear_bit(PG_HEADLOCK, &head->wb_flags); in nfs_page_group_unlock() 173 if (!test_bit(PG_CONTENDED1, &head->wb_flags)) in nfs_page_group_unlock() 175 wake_up_bit(&head->wb_flags, PG_HEADLOCK); in nfs_page_group_unlock() 189 WARN_ON_ONCE(!test_bit(PG_HEADLOCK, &head->wb_flags)); in nfs_page_group_sync_on_bit_locked() 190 WARN_ON_ONCE(test_and_set_bit(bit, &req->wb_flags)); in nfs_page_group_sync_on_bit_locked() 194 if (!test_bit(bit, &tmp->wb_flags)) in nfs_page_group_sync_on_bit_locked() 202 clear_bit(bit, &tmp->wb_flags); in nfs_page_group_sync_on_bit_locked() [all …]
|
D | write.c | 416 clear_bit(PG_REMOVE, &subreq->wb_flags); in nfs_destroy_unlinked_subrequests() 421 if (test_and_clear_bit(PG_TEARDOWN, &subreq->wb_flags)) in nfs_destroy_unlinked_subrequests() 428 if (test_and_clear_bit(PG_INODE_REF, &subreq->wb_flags)) { in nfs_destroy_unlinked_subrequests() 559 if (test_and_clear_bit(PG_REMOVE, &head->wb_flags)) { in nfs_lock_and_join_requests() 560 set_bit(PG_INODE_REF, &head->wb_flags); in nfs_lock_and_join_requests() 622 WARN_ON_ONCE(test_bit(PG_CLEAN, &req->wb_flags)); in nfs_page_async_flush() 761 set_bit(PG_MAPPED, &req->wb_flags); in nfs_inode_add_request() 771 WARN_ON(test_and_set_bit(PG_INODE_REF, &req->wb_flags)); in nfs_inode_add_request() 793 clear_bit(PG_MAPPED, &head->wb_flags); in nfs_inode_remove_request() 798 if (test_and_clear_bit(PG_INODE_REF, &req->wb_flags)) in nfs_inode_remove_request() [all …]
|
D | pnfs_nfs.c | 72 if (!test_and_clear_bit(PG_COMMIT_TO_DS, &req->wb_flags)) in pnfs_generic_clear_request_commit() 948 set_bit(PG_COMMIT_TO_DS, &req->wb_flags); in pnfs_layout_mark_request_commit()
|
/Linux-v4.19/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)) 153 return !test_and_set_bit(PG_BUSY, &req->wb_flags); in nfs_lock_request()
|