Searched refs:wb_flags (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/fs/nfs/ |
H A D | pagelist.c | 297 if (!test_and_set_bit(PG_HEADLOCK, &req->wb_flags)) in nfs_page_set_headlock() 300 set_bit(PG_CONTENDED1, &req->wb_flags); in nfs_page_set_headlock() 302 return wait_on_bit_lock(&req->wb_flags, PG_HEADLOCK, in nfs_page_set_headlock() 313 clear_bit_unlock(PG_HEADLOCK, &req->wb_flags); in nfs_page_clear_headlock() 315 if (!test_bit(PG_CONTENDED1, &req->wb_flags)) in nfs_page_clear_headlock() 317 wake_up_bit(&req->wb_flags, PG_HEADLOCK); in nfs_page_clear_headlock() 363 WARN_ON_ONCE(!test_bit(PG_HEADLOCK, &head->wb_flags)); in nfs_page_group_sync_on_bit_locked() 364 WARN_ON_ONCE(test_and_set_bit(bit, &req->wb_flags)); in nfs_page_group_sync_on_bit_locked() 368 if (!test_bit(bit, &tmp->wb_flags)) in nfs_page_group_sync_on_bit_locked() 376 clear_bit(bit, &tmp->wb_flags); in nfs_page_group_sync_on_bit_locked() [all …]
|
H A D | write.c | 153 if (!test_and_set_bit(PG_INODE_REF, &req->wb_flags)) { in nfs_page_set_inode_ref() 164 if (!test_bit(PG_REMOVE, &req->wb_flags)) in nfs_cancel_remove_inode() 169 if (test_and_clear_bit(PG_REMOVE, &req->wb_flags)) in nfs_cancel_remove_inode() 468 clear_bit(PG_REMOVE, &subreq->wb_flags); in nfs_destroy_unlinked_subrequests() 473 if (test_and_clear_bit(PG_TEARDOWN, &subreq->wb_flags)) { in nfs_destroy_unlinked_subrequests() 484 if (test_and_clear_bit(PG_INODE_REF, &subreq->wb_flags)) { in nfs_destroy_unlinked_subrequests() 623 WARN_ON_ONCE(test_bit(PG_CLEAN, &req->wb_flags)); in nfs_page_async_flush() 774 set_bit(PG_MAPPED, &req->wb_flags); in nfs_inode_add_request() 784 WARN_ON(test_and_set_bit(PG_INODE_REF, &req->wb_flags)); in nfs_inode_add_request() 803 clear_bit(PG_MAPPED, &req->wb_head->wb_flags); in nfs_inode_remove_request() [all …]
|
H A D | pnfs_nfs.c | 83 if (!test_and_clear_bit(PG_COMMIT_TO_DS, &req->wb_flags)) in pnfs_generic_clear_request_commit() 1223 set_bit(PG_COMMIT_TO_DS, &req->wb_flags); in pnfs_layout_mark_request_commit()
|
/openbmc/linux/include/linux/ |
H A D | nfs_page.h | 55 unsigned long wb_flags; member 125 #define NFS_WBACK_BUSY(req) (test_bit(PG_BUSY,&(req)->wb_flags)) 178 if (test_bit(PG_FOLIO, &req->wb_flags)) in nfs_page_to_folio() 236 return !test_and_set_bit(PG_BUSY, &req->wb_flags); in nfs_lock_request()
|