Home
last modified time | relevance | path

Searched refs:wb_flags (Results 1 – 4 of 4) sorted by relevance

/linux-6.15/fs/nfs/
H A Dpagelist.c204 set_bit(PG_CONTENDED1, &req->wb_flags); in nfs_page_set_headlock()
217 clear_bit_unlock(PG_HEADLOCK, &req->wb_flags); in nfs_page_clear_headlock()
219 if (!test_bit(PG_CONTENDED1, &req->wb_flags)) in nfs_page_clear_headlock()
221 wake_up_bit(&req->wb_flags, PG_HEADLOCK); in nfs_page_clear_headlock()
272 if (!test_bit(bit, &tmp->wb_flags)) in nfs_page_group_sync_on_bit_locked()
280 clear_bit(bit, &tmp->wb_flags); in nfs_page_group_sync_on_bit_locked()
337 set_bit(PG_INODE_REF, &req->wb_flags); in nfs_page_group_init()
411 set_bit(PG_FOLIO, &req->wb_flags); in nfs_page_assign_folio()
522 clear_bit_unlock(PG_BUSY, &req->wb_flags); in nfs_unlock_request()
526 wake_up_bit(&req->wb_flags, PG_BUSY); in nfs_unlock_request()
[all …]
H A Dwrite.c161 if (!test_bit(PG_REMOVE, &req->wb_flags)) in nfs_cancel_remove_inode()
166 if (test_and_clear_bit(PG_REMOVE, &req->wb_flags)) in nfs_cancel_remove_inode()
397 clear_bit(PG_REMOVE, &subreq->wb_flags); in nfs_destroy_unlinked_subrequests()
489 if (!test_bit(PG_BUSY, &req->wb_flags)) in nfs_wait_on_request()
491 set_bit(PG_CONTENDED2, &req->wb_flags); in nfs_wait_on_request()
493 return wait_on_bit_io(&req->wb_flags, PG_BUSY, in nfs_wait_on_request()
785 set_bit(PG_MAPPED, &req->wb_flags); in nfs_inode_add_request()
813 clear_bit(PG_MAPPED, &req->wb_head->wb_flags); in nfs_inode_remove_request()
848 set_bit(PG_CLEAN, &req->wb_flags); in nfs_request_add_commit_list_locked()
946 if (test_bit(PG_CLEAN, &req->wb_flags)) { in nfs_clear_request_commit()
[all …]
H A Dpnfs_nfs.c84 if (!test_and_clear_bit(PG_COMMIT_TO_DS, &req->wb_flags)) in pnfs_generic_clear_request_commit()
1180 set_bit(PG_COMMIT_TO_DS, &req->wb_flags); in pnfs_layout_mark_request_commit()
/linux-6.15/include/linux/
H A Dnfs_page.h55 unsigned long wb_flags; member
125 #define NFS_WBACK_BUSY(req) (test_bit(PG_BUSY,&(req)->wb_flags))
175 if (test_bit(PG_FOLIO, &req->wb_flags)) in nfs_page_to_folio()
233 return !test_and_set_bit(PG_BUSY, &req->wb_flags); in nfs_lock_request()