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()
143 nfs_page_set_headlock(struct nfs_page *req) in nfs_page_set_headlock()
159 nfs_page_clear_headlock(struct nfs_page *req) in nfs_page_clear_headlock()
179 nfs_page_group_lock(struct nfs_page *req) in nfs_page_group_lock()
194 nfs_page_group_unlock(struct nfs_page *req) in nfs_page_group_unlock()
207 nfs_page_group_sync_on_bit_locked(struct nfs_page *req, unsigned int bit) in nfs_page_group_sync_on_bit_locked()
209 struct nfs_page *head = req->wb_head; in nfs_page_group_sync_on_bit_locked()
210 struct nfs_page *tmp; in nfs_page_group_sync_on_bit_locked()
238 bool nfs_page_group_sync_on_bit(struct nfs_page *req, unsigned int bit) in nfs_page_group_sync_on_bit()
256 nfs_page_group_init(struct nfs_page *req, struct nfs_page *prev) in nfs_page_group_init()
299 struct nfs_page *req = container_of(kref, struct nfs_page, wb_kref); in nfs_page_group_destroy()
300 struct nfs_page *head = req->wb_head; in nfs_page_group_destroy()
301 struct nfs_page *tmp, *next; in nfs_page_group_destroy()
333 struct nfs_page *
335 struct nfs_page *last, unsigned int offset, in nfs_create_request()
338 struct nfs_page *req; in nfs_create_request()
378 void nfs_unlock_request(struct nfs_page *req) in nfs_unlock_request()
396 void nfs_unlock_and_release_request(struct nfs_page *req) in nfs_unlock_and_release_request()
409 static void nfs_clear_request(struct nfs_page *req) in nfs_clear_request()
440 void nfs_free_request(struct nfs_page *req) in nfs_free_request()
456 void nfs_release_request(struct nfs_page *req) in nfs_release_request()
470 nfs_wait_on_request(struct nfs_page *req) in nfs_wait_on_request()
491 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()
868 struct nfs_page *req) in nfs_pageio_setup_mirroring()
917 static bool nfs_can_coalesce_requests(struct nfs_page *prev, in nfs_can_coalesce_requests()
918 struct nfs_page *req, in nfs_can_coalesce_requests()
961 struct nfs_page *req) in nfs_pageio_do_add_request()
965 struct nfs_page *prev = NULL; in nfs_pageio_do_add_request()
1005 struct nfs_page *req) in nfs_pageio_cleanup_request()
1025 struct nfs_page *req) in __nfs_pageio_add_request()
1029 struct nfs_page *subreq; in __nfs_pageio_add_request()
1102 struct nfs_page *req; in nfs_do_recoalesce()
1104 req = list_first_entry(&head, struct nfs_page, wb_list); in nfs_do_recoalesce()
1119 struct nfs_page *req) in nfs_pageio_add_request_mirror()
1151 struct nfs_page *req) in nfs_pageio_add_request()
1155 struct nfs_page *dupreq, *lastreq; in nfs_pageio_add_request()
1254 struct nfs_page *req = nfs_list_entry(pages.next); in nfs_pageio_resend()
1302 struct nfs_page *prev; in nfs_pageio_cond_complete()
1328 sizeof(struct nfs_page), in nfs_init_nfspagecache()