Lines Matching +full:sync +full:- +full:read
1 /* SPDX-License-Identifier: GPL-2.0 */
32 PG_TEARDOWN, /* page group sync for destroy */
33 PG_UNLOCKPAGE, /* page group sync bit in read path */
34 PG_UPTODATE, /* page group sync bit in read path */
35 PG_WB_END, /* page group sync bit in write path */
36 PG_REMOVE, /* page group sync bit in write path */
44 struct page *wb_page; /* page to read in/write out */
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()
166 * nfs_list_add_request - Insert a request into a list
173 list_add_tail(&req->wb_list, head); in nfs_list_add_request()
177 * nfs_list_move_request - Move a request to a new list
184 list_move_tail(&req->wb_list, head); in nfs_list_move_request()
188 * nfs_list_remove_request - Remove a request from its wb_list
194 if (list_empty(&req->wb_list)) in nfs_list_remove_request()
196 list_del_init(&req->wb_list); in nfs_list_remove_request()
207 return (((loff_t)req->wb_index) << PAGE_SHIFT) + req->wb_offset; in req_offset()
213 return req->wb_lock_context->open_context; in nfs_req_openctx()