Lines Matching refs:nfs_page
93 static inline struct nfs_page *
96 struct nfs_page *p = kmem_cache_zalloc(nfs_page_cachep, GFP_KERNEL); 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()
292 nfs_page_group_lock(struct nfs_page *req) in nfs_page_group_lock()
307 nfs_page_group_unlock(struct nfs_page *req) in nfs_page_group_unlock()
320 nfs_page_group_sync_on_bit_locked(struct nfs_page *req, unsigned int bit) in nfs_page_group_sync_on_bit_locked()
322 struct nfs_page *head = req->wb_head; in nfs_page_group_sync_on_bit_locked()
323 struct nfs_page *tmp; in nfs_page_group_sync_on_bit_locked()
351 bool nfs_page_group_sync_on_bit(struct nfs_page *req, unsigned int bit) in nfs_page_group_sync_on_bit()
369 nfs_page_group_init(struct nfs_page *req, struct nfs_page *prev) in nfs_page_group_init()
412 struct nfs_page *req = container_of(kref, struct nfs_page, wb_kref); in nfs_page_group_destroy()
413 struct nfs_page *head = req->wb_head; in nfs_page_group_destroy()
414 struct nfs_page *tmp, *next; in nfs_page_group_destroy()
434 static struct nfs_page *
439 struct nfs_page *req; in __nfs_create_request()
480 struct nfs_page *
485 struct nfs_page *ret; in nfs_create_request()
496 static struct nfs_page *
497 nfs_create_subreq(struct nfs_page *req, in nfs_create_subreq()
502 struct nfs_page *last; in nfs_create_subreq()
503 struct nfs_page *ret; in nfs_create_subreq()
526 void nfs_unlock_request(struct nfs_page *req) in nfs_unlock_request()
544 void nfs_unlock_and_release_request(struct nfs_page *req) in nfs_unlock_and_release_request()
557 static void nfs_clear_request(struct nfs_page *req) in nfs_clear_request()
585 void nfs_free_request(struct nfs_page *req) in nfs_free_request()
601 void nfs_release_request(struct nfs_page *req) in nfs_release_request()
615 nfs_wait_on_request(struct nfs_page *req) in nfs_wait_on_request()
636 struct nfs_page *prev, struct nfs_page *req) in nfs_generic_pg_test()
709 struct nfs_page *req = hdr->req; in nfs_pgio_rpcsetup()
897 struct nfs_page *req; in nfs_generic_pgio()
1001 struct nfs_page *req) in nfs_pageio_setup_mirroring()
1051 static unsigned int nfs_coalesce_size(struct nfs_page *prev, in nfs_coalesce_size()
1052 struct nfs_page *req, in nfs_coalesce_size()
1091 struct nfs_page *req) in nfs_pageio_do_add_request()
1094 struct nfs_page *prev = NULL; in nfs_pageio_do_add_request()
1146 struct nfs_page *req) in nfs_pageio_cleanup_request()
1167 struct nfs_page *req) in __nfs_pageio_add_request()
1170 struct nfs_page *subreq; in __nfs_pageio_add_request()
1236 struct nfs_page *req; in nfs_do_recoalesce()
1238 req = list_first_entry(&head, struct nfs_page, wb_list); in nfs_do_recoalesce()
1253 struct nfs_page *req) in nfs_pageio_add_request_mirror()
1285 struct nfs_page *req) in nfs_pageio_add_request()
1289 struct nfs_page *dupreq; in nfs_pageio_add_request()
1374 struct nfs_page *req = nfs_list_entry(pages.next); in nfs_pageio_resend()
1422 struct nfs_page *prev; in nfs_pageio_cond_complete()
1448 sizeof(struct nfs_page), in nfs_init_nfspagecache()