Lines Matching refs:nfs_page

89 static inline struct nfs_page *
92 struct nfs_page *p = kmem_cache_zalloc(nfs_page_cachep, GFP_NOIO); in nfs_page_alloc()
99 nfs_page_free(struct nfs_page *p) in nfs_page_free()
168 nfs_page_group_lock(struct nfs_page *req, bool nonblock) in nfs_page_group_lock()
170 struct nfs_page *head = req->wb_head; in nfs_page_group_lock()
191 nfs_page_group_lock_wait(struct nfs_page *req) in nfs_page_group_lock_wait()
193 struct nfs_page *head = req->wb_head; in nfs_page_group_lock_wait()
206 nfs_page_group_unlock(struct nfs_page *req) in nfs_page_group_unlock()
208 struct nfs_page *head = req->wb_head; in nfs_page_group_unlock()
224 nfs_page_group_sync_on_bit_locked(struct nfs_page *req, unsigned int bit) in nfs_page_group_sync_on_bit_locked()
226 struct nfs_page *head = req->wb_head; in nfs_page_group_sync_on_bit_locked()
227 struct nfs_page *tmp; in nfs_page_group_sync_on_bit_locked()
255 bool nfs_page_group_sync_on_bit(struct nfs_page *req, unsigned int bit) in nfs_page_group_sync_on_bit()
273 nfs_page_group_init(struct nfs_page *req, struct nfs_page *prev) in nfs_page_group_init()
318 struct nfs_page *req = container_of(kref, struct nfs_page, wb_kref); in nfs_page_group_destroy()
319 struct nfs_page *tmp, *next; in nfs_page_group_destroy()
351 struct nfs_page *
353 struct nfs_page *last, unsigned int offset, in nfs_create_request()
356 struct nfs_page *req; in nfs_create_request()
394 void nfs_unlock_request(struct nfs_page *req) in nfs_unlock_request()
410 void nfs_unlock_and_release_request(struct nfs_page *req) in nfs_unlock_and_release_request()
423 static void nfs_clear_request(struct nfs_page *req) in nfs_clear_request()
450 void nfs_free_request(struct nfs_page *req) in nfs_free_request()
466 void nfs_release_request(struct nfs_page *req) in nfs_release_request()
479 nfs_wait_on_request(struct nfs_page *req) in nfs_wait_on_request()
495 struct nfs_page *prev, struct nfs_page *req) in nfs_generic_pg_test()
570 struct nfs_page *req = hdr->req; in nfs_pgio_rpcsetup()
796 struct nfs_page *req; in nfs_generic_pgio()
869 struct nfs_page *req) in nfs_pageio_setup_mirroring()
931 static bool nfs_can_coalesce_requests(struct nfs_page *prev, in nfs_can_coalesce_requests()
932 struct nfs_page *req, in nfs_can_coalesce_requests()
975 struct nfs_page *req) in nfs_pageio_do_add_request()
979 struct nfs_page *prev = NULL; in nfs_pageio_do_add_request()
1029 struct nfs_page *req) in __nfs_pageio_add_request()
1033 struct nfs_page *subreq; in __nfs_pageio_add_request()
1107 struct nfs_page *req; in nfs_do_recoalesce()
1109 req = list_first_entry(&head, struct nfs_page, wb_list); in nfs_do_recoalesce()
1125 struct nfs_page *req) in nfs_pageio_add_request_mirror()
1142 struct nfs_page *req) in nfs_pageio_add_request()
1146 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()
1289 sizeof(struct nfs_page), in nfs_init_nfspagecache()