Searched refs:wb_flags (Results 1 – 4 of 4) sorted by relevance
/linux-4.4.14/fs/nfs/ |
D | pagelist.c | 174 if (!test_and_set_bit(PG_HEADLOCK, &head->wb_flags)) in nfs_page_group_lock() 178 return wait_on_bit_lock(&head->wb_flags, PG_HEADLOCK, in nfs_page_group_lock() 197 wait_on_bit(&head->wb_flags, PG_HEADLOCK, in nfs_page_group_lock_wait() 213 clear_bit(PG_HEADLOCK, &head->wb_flags); in nfs_page_group_unlock() 215 wake_up_bit(&head->wb_flags, PG_HEADLOCK); in nfs_page_group_unlock() 229 WARN_ON_ONCE(!test_bit(PG_HEADLOCK, &head->wb_flags)); in nfs_page_group_sync_on_bit_locked() 230 WARN_ON_ONCE(test_and_set_bit(bit, &req->wb_flags)); in nfs_page_group_sync_on_bit_locked() 234 if (!test_bit(bit, &tmp->wb_flags)) in nfs_page_group_sync_on_bit_locked() 242 clear_bit(bit, &tmp->wb_flags); in nfs_page_group_sync_on_bit_locked() 285 WARN_ON_ONCE(!test_bit(PG_HEADLOCK, &prev->wb_head->wb_flags)); in nfs_page_group_init() [all …]
|
D | write.c | 188 WARN_ON_ONCE(!test_bit(PG_HEADLOCK, &head->wb_head->wb_flags)); in nfs_page_group_search_locked() 300 clear_bit(PG_TEARDOWN, &req->wb_flags); in nfs_page_group_clear_bits() 301 clear_bit(PG_UNLOCKPAGE, &req->wb_flags); in nfs_page_group_clear_bits() 302 clear_bit(PG_UPTODATE, &req->wb_flags); in nfs_page_group_clear_bits() 303 clear_bit(PG_WB_END, &req->wb_flags); in nfs_page_group_clear_bits() 304 clear_bit(PG_REMOVE, &req->wb_flags); in nfs_page_group_clear_bits() 335 WARN_ON_ONCE(test_bit(PG_TEARDOWN, &req->wb_flags)); in nfs_unroll_locks_and_wait() 385 if (!test_bit(PG_TEARDOWN, &subreq->wb_flags)) { in nfs_destroy_unlinked_subrequests() 392 if (test_and_clear_bit(PG_INODE_REF, &subreq->wb_flags)) in nfs_destroy_unlinked_subrequests() 397 WARN_ON_ONCE(test_bit(PG_CLEAN, &subreq->wb_flags)); in nfs_destroy_unlinked_subrequests() [all …]
|
D | pnfs_nfs.c | 72 if (!test_and_clear_bit(PG_COMMIT_TO_DS, &req->wb_flags)) in pnfs_generic_clear_request_commit() 104 clear_bit(PG_COMMIT_TO_DS, &req->wb_flags); in pnfs_generic_transfer_commit_list() 883 set_bit(PG_COMMIT_TO_DS, &req->wb_flags); in pnfs_layout_mark_request_commit()
|
/linux-4.4.14/include/linux/ |
D | nfs_page.h | 49 unsigned long wb_flags; member 111 #define NFS_WBACK_BUSY(req) (test_bit(PG_BUSY,&(req)->wb_flags)) 151 return !test_and_set_bit(PG_BUSY, &req->wb_flags); in nfs_lock_request()
|