Lines Matching refs:nfs_page

76 static inline struct nfs_page *
79 struct nfs_page *p = kmem_cache_zalloc(nfs_page_cachep, GFP_NOIO); in nfs_page_alloc()
86 nfs_page_free(struct nfs_page *p) in nfs_page_free()
144 nfs_page_group_lock(struct nfs_page *req) in nfs_page_group_lock()
146 struct nfs_page *head = req->wb_head; in nfs_page_group_lock()
164 nfs_page_group_unlock(struct nfs_page *req) in nfs_page_group_unlock()
166 struct nfs_page *head = req->wb_head; in nfs_page_group_unlock()
184 nfs_page_group_sync_on_bit_locked(struct nfs_page *req, unsigned int bit) in nfs_page_group_sync_on_bit_locked()
186 struct nfs_page *head = req->wb_head; in nfs_page_group_sync_on_bit_locked()
187 struct nfs_page *tmp; in nfs_page_group_sync_on_bit_locked()
215 bool nfs_page_group_sync_on_bit(struct nfs_page *req, unsigned int bit) in nfs_page_group_sync_on_bit()
233 nfs_page_group_init(struct nfs_page *req, struct nfs_page *prev) in nfs_page_group_init()
276 struct nfs_page *req = container_of(kref, struct nfs_page, wb_kref); in nfs_page_group_destroy()
277 struct nfs_page *head = req->wb_head; in nfs_page_group_destroy()
278 struct nfs_page *tmp, *next; in nfs_page_group_destroy()
310 struct nfs_page *
312 struct nfs_page *last, unsigned int offset, in nfs_create_request()
315 struct nfs_page *req; in nfs_create_request()
355 void nfs_unlock_request(struct nfs_page *req) in nfs_unlock_request()
373 void nfs_unlock_and_release_request(struct nfs_page *req) in nfs_unlock_and_release_request()
386 static void nfs_clear_request(struct nfs_page *req) in nfs_clear_request()
417 void nfs_free_request(struct nfs_page *req) in nfs_free_request()
433 void nfs_release_request(struct nfs_page *req) in nfs_release_request()
447 nfs_wait_on_request(struct nfs_page *req) in nfs_wait_on_request()
468 struct nfs_page *prev, struct nfs_page *req) in nfs_generic_pg_test()
543 struct nfs_page *req = hdr->req; in nfs_pgio_rpcsetup()
740 struct nfs_page *req; in nfs_generic_pgio()
846 struct nfs_page *req) in nfs_pageio_setup_mirroring()
904 static bool nfs_can_coalesce_requests(struct nfs_page *prev, in nfs_can_coalesce_requests()
905 struct nfs_page *req, in nfs_can_coalesce_requests()
948 struct nfs_page *req) in nfs_pageio_do_add_request()
952 struct nfs_page *prev = NULL; in nfs_pageio_do_add_request()
1004 struct nfs_page *req) in __nfs_pageio_add_request()
1008 struct nfs_page *subreq; in __nfs_pageio_add_request()
1080 struct nfs_page *req; in nfs_do_recoalesce()
1082 req = list_first_entry(&head, struct nfs_page, wb_list); in nfs_do_recoalesce()
1098 struct nfs_page *req) in nfs_pageio_add_request_mirror()
1115 struct nfs_page *req) in nfs_pageio_add_request()
1119 struct nfs_page *dupreq, *lastreq; in nfs_pageio_add_request()
1228 struct nfs_page *req = nfs_list_entry(hdr->pages.next); in nfs_pageio_resend()
1273 struct nfs_page *prev; in nfs_pageio_cond_complete()
1291 sizeof(struct nfs_page), in nfs_init_nfspagecache()