Home
last modified time | relevance | path

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

/linux-6.1.9/fs/nfs/
Dpagelist.c258 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()
274 clear_bit_unlock(PG_HEADLOCK, &req->wb_flags); in nfs_page_clear_headlock()
276 if (!test_bit(PG_CONTENDED1, &req->wb_flags)) in nfs_page_clear_headlock()
278 wake_up_bit(&req->wb_flags, PG_HEADLOCK); in nfs_page_clear_headlock()
324 WARN_ON_ONCE(!test_bit(PG_HEADLOCK, &head->wb_flags)); in nfs_page_group_sync_on_bit_locked()
325 WARN_ON_ONCE(test_and_set_bit(bit, &req->wb_flags)); in nfs_page_group_sync_on_bit_locked()
329 if (!test_bit(bit, &tmp->wb_flags)) in nfs_page_group_sync_on_bit_locked()
337 clear_bit(bit, &tmp->wb_flags); in nfs_page_group_sync_on_bit_locked()
[all …]
Dwrite.c151 if (!test_and_set_bit(PG_INODE_REF, &req->wb_flags)) { in nfs_page_set_inode_ref()
162 if (!test_bit(PG_REMOVE, &req->wb_flags)) in nfs_cancel_remove_inode()
167 if (test_and_clear_bit(PG_REMOVE, &req->wb_flags)) in nfs_cancel_remove_inode()
467 clear_bit(PG_REMOVE, &subreq->wb_flags); in nfs_destroy_unlinked_subrequests()
472 if (test_and_clear_bit(PG_TEARDOWN, &subreq->wb_flags)) { in nfs_destroy_unlinked_subrequests()
483 if (test_and_clear_bit(PG_INODE_REF, &subreq->wb_flags)) { in nfs_destroy_unlinked_subrequests()
622 WARN_ON_ONCE(test_bit(PG_CLEAN, &req->wb_flags)); in nfs_page_async_flush()
768 set_bit(PG_MAPPED, &req->wb_flags); in nfs_inode_add_request()
778 WARN_ON(test_and_set_bit(PG_INODE_REF, &req->wb_flags)); in nfs_inode_add_request()
799 clear_bit(PG_MAPPED, &head->wb_flags); in nfs_inode_remove_request()
[all …]
Dpnfs_nfs.c83 if (!test_and_clear_bit(PG_COMMIT_TO_DS, &req->wb_flags)) in pnfs_generic_clear_request_commit()
1178 set_bit(PG_COMMIT_TO_DS, &req->wb_flags); in pnfs_layout_mark_request_commit()
/linux-6.1.9/include/linux/
Dnfs_page.h51 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()