Home
last modified time | relevance | path

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

/linux/fs/nfs/
H A Dpagelist.c201 if (!test_and_set_bit(PG_HEADLOCK, &req->wb_flags)) in nfs_page_set_headlock()
204 set_bit(PG_CONTENDED1, &req->wb_flags); in nfs_page_set_headlock()
206 return wait_on_bit_lock(&req->wb_flags, PG_HEADLOCK, 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()
268 WARN_ON_ONCE(!test_bit(PG_HEADLOCK, &head->wb_flags)); in nfs_page_group_sync_on_bit_locked()
269 WARN_ON_ONCE(test_and_set_bit(bit, &req->wb_flags)); in nfs_page_group_sync_on_bit_locked()
273 if (!test_bit(bit, &tmp->wb_flags)) in nfs_page_group_sync_on_bit_locked()
281 clear_bit(bit, &tmp->wb_flags); in nfs_page_group_sync_on_bit_locked()
[all …]
H A Dwrite.c150 if (!test_and_set_bit(PG_INODE_REF, &req->wb_flags)) { in nfs_page_set_inode_ref()
158 if (test_and_clear_bit(PG_REMOVE, &req->wb_flags)) in nfs_cancel_remove_inode()
345 clear_bit(PG_REMOVE, &subreq->wb_flags); in nfs_destroy_unlinked_subrequests()
350 if (test_and_clear_bit(PG_TEARDOWN, &subreq->wb_flags)) { in nfs_destroy_unlinked_subrequests()
361 if (test_and_clear_bit(PG_INODE_REF, &subreq->wb_flags)) { in nfs_destroy_unlinked_subrequests()
437 if (!test_bit(PG_BUSY, &req->wb_flags)) in nfs_wait_on_request()
439 set_bit(PG_CONTENDED2, &req->wb_flags); in nfs_wait_on_request()
441 return wait_on_bit_io(&req->wb_flags, PG_BUSY, in nfs_wait_on_request()
598 WARN_ON_ONCE(test_bit(PG_CLEAN, &req->wb_flags)); in nfs_do_writepage()
719 set_bit(PG_MAPPED, &req->wb_flags); in nfs_inode_add_request()
[all …]
H A Dpnfs_nfs.c85 if (!test_and_clear_bit(PG_COMMIT_TO_DS, &req->wb_flags)) in pnfs_generic_clear_request_commit()
1197 set_bit(PG_COMMIT_TO_DS, &req->wb_flags); in pnfs_layout_mark_request_commit()
H A Dnfstrace.h1515 __entry->flags = req->wb_flags;
/linux/include/linux/
H A Dnfs_page.h55 unsigned long wb_flags; member
174 if (test_bit(PG_FOLIO, &req->wb_flags)) in nfs_page_to_folio()
232 return !test_and_set_bit(PG_BUSY, &req->wb_flags); in nfs_lock_request()