Lines Matching refs:nfs_page
37 const struct nfs_page *req;
42 const struct nfs_page *req) in nfs_page_iter_page_init()
50 const struct nfs_page *req = i->req; in nfs_page_iter_page_advance()
58 const struct nfs_page *req = i->req; in nfs_page_iter_page_get()
132 static inline struct nfs_page *nfs_page_alloc(void) in nfs_page_alloc()
134 struct nfs_page *p = in nfs_page_alloc()
142 nfs_page_free(struct nfs_page *p) in nfs_page_free()
199 nfs_page_set_headlock(struct nfs_page *req) in nfs_page_set_headlock()
215 nfs_page_clear_headlock(struct nfs_page *req) in nfs_page_clear_headlock()
234 nfs_page_group_lock(struct nfs_page *req) in nfs_page_group_lock()
249 nfs_page_group_unlock(struct nfs_page *req) in nfs_page_group_unlock()
262 nfs_page_group_sync_on_bit_locked(struct nfs_page *req, unsigned int bit) in nfs_page_group_sync_on_bit_locked()
264 struct nfs_page *head = req->wb_head; in nfs_page_group_sync_on_bit_locked()
265 struct nfs_page *tmp; in nfs_page_group_sync_on_bit_locked()
293 bool nfs_page_group_sync_on_bit(struct nfs_page *req, unsigned int bit) in nfs_page_group_sync_on_bit()
311 nfs_page_group_init(struct nfs_page *req, struct nfs_page *prev) in nfs_page_group_init()
354 struct nfs_page *req = container_of(kref, struct nfs_page, wb_kref); in nfs_page_group_destroy()
355 struct nfs_page *head = req->wb_head; in nfs_page_group_destroy()
356 struct nfs_page *tmp, *next; in nfs_page_group_destroy()
376 static struct nfs_page *nfs_page_create(struct nfs_lock_context *l_ctx, in nfs_page_create()
380 struct nfs_page *req; in nfs_page_create()
406 static void nfs_page_assign_folio(struct nfs_page *req, struct folio *folio) in nfs_page_assign_folio()
415 static void nfs_page_assign_page(struct nfs_page *req, struct page *page) in nfs_page_assign_page()
435 struct nfs_page *nfs_page_create_from_page(struct nfs_open_context *ctx, in nfs_page_create_from_page()
441 struct nfs_page *ret; in nfs_page_create_from_page()
466 struct nfs_page *nfs_page_create_from_folio(struct nfs_open_context *ctx, in nfs_page_create_from_folio()
472 struct nfs_page *ret; in nfs_page_create_from_folio()
485 static struct nfs_page *
486 nfs_create_subreq(struct nfs_page *req, in nfs_create_subreq()
491 struct nfs_page *last; in nfs_create_subreq()
492 struct nfs_page *ret; in nfs_create_subreq()
520 void nfs_unlock_request(struct nfs_page *req) in nfs_unlock_request()
533 void nfs_unlock_and_release_request(struct nfs_page *req) in nfs_unlock_and_release_request()
546 static void nfs_clear_request(struct nfs_page *req) in nfs_clear_request()
579 void nfs_free_request(struct nfs_page *req) in nfs_free_request()
595 void nfs_release_request(struct nfs_page *req) in nfs_release_request()
611 struct nfs_page *prev, struct nfs_page *req) in nfs_generic_pg_test()
685 struct nfs_page *req = hdr->req; in nfs_pgio_rpcsetup()
879 struct nfs_page *req; in nfs_generic_pgio()
1006 struct nfs_page *req) in nfs_pageio_setup_mirroring()
1044 static bool nfs_page_is_contiguous(const struct nfs_page *prev, in nfs_page_is_contiguous()
1045 const struct nfs_page *req) in nfs_page_is_contiguous()
1074 static unsigned int nfs_coalesce_size(struct nfs_page *prev, in nfs_coalesce_size()
1075 struct nfs_page *req, in nfs_coalesce_size()
1106 struct nfs_page *req) in nfs_pageio_do_add_request()
1109 struct nfs_page *prev = NULL; in nfs_pageio_do_add_request()
1157 struct nfs_page *req) in nfs_pageio_cleanup_request()
1178 struct nfs_page *req) in __nfs_pageio_add_request()
1181 struct nfs_page *subreq; in __nfs_pageio_add_request()
1244 struct nfs_page *req; in nfs_do_recoalesce()
1246 req = list_first_entry(&head, struct nfs_page, wb_list); in nfs_do_recoalesce()
1261 struct nfs_page *req) in nfs_pageio_add_request_mirror()
1293 struct nfs_page *req) in nfs_pageio_add_request()
1297 struct nfs_page *dupreq; in nfs_pageio_add_request()
1383 struct nfs_page *req = nfs_list_entry(pages.next); in nfs_pageio_resend()
1431 struct nfs_page *prev; in nfs_pageio_cond_complete()
1467 sizeof(struct nfs_page), in nfs_init_nfspagecache()