Lines Matching refs:nfs_page

77 static inline struct nfs_page *
80 struct nfs_page *p = kmem_cache_zalloc(nfs_page_cachep, GFP_KERNEL); in nfs_page_alloc()
87 nfs_page_free(struct nfs_page *p) in nfs_page_free()
145 nfs_page_group_lock(struct nfs_page *req) in nfs_page_group_lock()
147 struct nfs_page *head = req->wb_head; in nfs_page_group_lock()
165 nfs_page_group_unlock(struct nfs_page *req) in nfs_page_group_unlock()
167 struct nfs_page *head = req->wb_head; in nfs_page_group_unlock()
185 nfs_page_group_sync_on_bit_locked(struct nfs_page *req, unsigned int bit) in nfs_page_group_sync_on_bit_locked()
187 struct nfs_page *head = req->wb_head; in nfs_page_group_sync_on_bit_locked()
188 struct nfs_page *tmp; in nfs_page_group_sync_on_bit_locked()
216 bool nfs_page_group_sync_on_bit(struct nfs_page *req, unsigned int bit) in nfs_page_group_sync_on_bit()
234 nfs_page_group_init(struct nfs_page *req, struct nfs_page *prev) in nfs_page_group_init()
277 struct nfs_page *req = container_of(kref, struct nfs_page, wb_kref); in nfs_page_group_destroy()
278 struct nfs_page *head = req->wb_head; in nfs_page_group_destroy()
279 struct nfs_page *tmp, *next; in nfs_page_group_destroy()
299 static struct nfs_page *
304 struct nfs_page *req; in __nfs_create_request()
345 struct nfs_page *
350 struct nfs_page *ret; in nfs_create_request()
361 static struct nfs_page *
362 nfs_create_subreq(struct nfs_page *req, struct nfs_page *last, in nfs_create_subreq()
366 struct nfs_page *ret; in nfs_create_subreq()
383 void nfs_unlock_request(struct nfs_page *req) in nfs_unlock_request()
401 void nfs_unlock_and_release_request(struct nfs_page *req) in nfs_unlock_and_release_request()
414 static void nfs_clear_request(struct nfs_page *req) in nfs_clear_request()
442 void nfs_free_request(struct nfs_page *req) in nfs_free_request()
458 void nfs_release_request(struct nfs_page *req) in nfs_release_request()
472 nfs_wait_on_request(struct nfs_page *req) in nfs_wait_on_request()
493 struct nfs_page *prev, struct nfs_page *req) in nfs_generic_pg_test()
566 struct nfs_page *req = hdr->req; in nfs_pgio_rpcsetup()
763 struct nfs_page *req; in nfs_generic_pgio()
866 struct nfs_page *req) in nfs_pageio_setup_mirroring()
925 static bool nfs_can_coalesce_requests(struct nfs_page *prev, in nfs_can_coalesce_requests()
926 struct nfs_page *req, in nfs_can_coalesce_requests()
969 struct nfs_page *req) in nfs_pageio_do_add_request()
973 struct nfs_page *prev = NULL; in nfs_pageio_do_add_request()
1023 struct nfs_page *req) in nfs_pageio_cleanup_request()
1043 struct nfs_page *req) in __nfs_pageio_add_request()
1047 struct nfs_page *subreq; in __nfs_pageio_add_request()
1117 struct nfs_page *req; in nfs_do_recoalesce()
1119 req = list_first_entry(&head, struct nfs_page, wb_list); in nfs_do_recoalesce()
1134 struct nfs_page *req) in nfs_pageio_add_request_mirror()
1166 struct nfs_page *req) in nfs_pageio_add_request()
1170 struct nfs_page *dupreq, *lastreq; in nfs_pageio_add_request()
1260 struct nfs_page *req = nfs_list_entry(pages.next); in nfs_pageio_resend()
1308 struct nfs_page *prev; in nfs_pageio_cond_complete()
1326 sizeof(struct nfs_page), in nfs_init_nfspagecache()