Lines Matching refs:nfs_page

93 static inline struct nfs_page *nfs_page_alloc(void)  in nfs_page_alloc()
95 struct nfs_page *p = in nfs_page_alloc()
103 nfs_page_free(struct nfs_page *p) in nfs_page_free()
155 struct nfs_page *
156 nfs_page_group_lock_head(struct nfs_page *req) in nfs_page_group_lock_head()
158 struct nfs_page *head = req->wb_head; in nfs_page_group_lock_head()
179 nfs_unroll_locks(struct nfs_page *head, struct nfs_page *req) in nfs_unroll_locks()
181 struct nfs_page *tmp; in nfs_unroll_locks()
201 nfs_page_group_lock_subreq(struct nfs_page *head, struct nfs_page *subreq) in nfs_page_group_lock_subreq()
228 int nfs_page_group_lock_subrequests(struct nfs_page *head) in nfs_page_group_lock_subrequests()
230 struct nfs_page *subreq; in nfs_page_group_lock_subrequests()
256 nfs_page_set_headlock(struct nfs_page *req) in nfs_page_set_headlock()
272 nfs_page_clear_headlock(struct nfs_page *req) in nfs_page_clear_headlock()
291 nfs_page_group_lock(struct nfs_page *req) in nfs_page_group_lock()
306 nfs_page_group_unlock(struct nfs_page *req) in nfs_page_group_unlock()
319 nfs_page_group_sync_on_bit_locked(struct nfs_page *req, unsigned int bit) in nfs_page_group_sync_on_bit_locked()
321 struct nfs_page *head = req->wb_head; in nfs_page_group_sync_on_bit_locked()
322 struct nfs_page *tmp; in nfs_page_group_sync_on_bit_locked()
350 bool nfs_page_group_sync_on_bit(struct nfs_page *req, unsigned int bit) in nfs_page_group_sync_on_bit()
368 nfs_page_group_init(struct nfs_page *req, struct nfs_page *prev) in nfs_page_group_init()
411 struct nfs_page *req = container_of(kref, struct nfs_page, wb_kref); in nfs_page_group_destroy()
412 struct nfs_page *head = req->wb_head; in nfs_page_group_destroy()
413 struct nfs_page *tmp, *next; in nfs_page_group_destroy()
433 static struct nfs_page *
438 struct nfs_page *req; in __nfs_create_request()
479 struct nfs_page *
484 struct nfs_page *ret; in nfs_create_request()
495 static struct nfs_page *
496 nfs_create_subreq(struct nfs_page *req, in nfs_create_subreq()
501 struct nfs_page *last; in nfs_create_subreq()
502 struct nfs_page *ret; in nfs_create_subreq()
525 void nfs_unlock_request(struct nfs_page *req) in nfs_unlock_request()
538 void nfs_unlock_and_release_request(struct nfs_page *req) in nfs_unlock_and_release_request()
551 static void nfs_clear_request(struct nfs_page *req) in nfs_clear_request()
579 void nfs_free_request(struct nfs_page *req) in nfs_free_request()
595 void nfs_release_request(struct nfs_page *req) in nfs_release_request()
609 nfs_wait_on_request(struct nfs_page *req) in nfs_wait_on_request()
630 struct nfs_page *prev, struct nfs_page *req) in nfs_generic_pg_test()
703 struct nfs_page *req = hdr->req; in nfs_pgio_rpcsetup()
891 struct nfs_page *req; in nfs_generic_pgio()
999 struct nfs_page *req) in nfs_pageio_setup_mirroring()
1049 static unsigned int nfs_coalesce_size(struct nfs_page *prev, in nfs_coalesce_size()
1050 struct nfs_page *req, in nfs_coalesce_size()
1089 struct nfs_page *req) in nfs_pageio_do_add_request()
1092 struct nfs_page *prev = NULL; in nfs_pageio_do_add_request()
1140 struct nfs_page *req) in nfs_pageio_cleanup_request()
1161 struct nfs_page *req) in __nfs_pageio_add_request()
1164 struct nfs_page *subreq; in __nfs_pageio_add_request()
1227 struct nfs_page *req; in nfs_do_recoalesce()
1229 req = list_first_entry(&head, struct nfs_page, wb_list); in nfs_do_recoalesce()
1244 struct nfs_page *req) in nfs_pageio_add_request_mirror()
1276 struct nfs_page *req) in nfs_pageio_add_request()
1280 struct nfs_page *dupreq; in nfs_pageio_add_request()
1365 struct nfs_page *req = nfs_list_entry(pages.next); in nfs_pageio_resend()
1413 struct nfs_page *prev; in nfs_pageio_cond_complete()
1439 sizeof(struct nfs_page), in nfs_init_nfspagecache()