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()
194 struct nfs_page *
195 nfs_page_group_lock_head(struct nfs_page *req) in nfs_page_group_lock_head()
197 struct nfs_page *head = req->wb_head; in nfs_page_group_lock_head()
218 nfs_unroll_locks(struct nfs_page *head, struct nfs_page *req) in nfs_unroll_locks()
220 struct nfs_page *tmp; in nfs_unroll_locks()
240 nfs_page_group_lock_subreq(struct nfs_page *head, struct nfs_page *subreq) in nfs_page_group_lock_subreq()
267 int nfs_page_group_lock_subrequests(struct nfs_page *head) in nfs_page_group_lock_subrequests()
269 struct nfs_page *subreq; in nfs_page_group_lock_subrequests()
295 nfs_page_set_headlock(struct nfs_page *req) in nfs_page_set_headlock()
311 nfs_page_clear_headlock(struct nfs_page *req) in nfs_page_clear_headlock()
330 nfs_page_group_lock(struct nfs_page *req) in nfs_page_group_lock()
345 nfs_page_group_unlock(struct nfs_page *req) in nfs_page_group_unlock()
358 nfs_page_group_sync_on_bit_locked(struct nfs_page *req, unsigned int bit) in nfs_page_group_sync_on_bit_locked()
360 struct nfs_page *head = req->wb_head; in nfs_page_group_sync_on_bit_locked()
361 struct nfs_page *tmp; in nfs_page_group_sync_on_bit_locked()
389 bool nfs_page_group_sync_on_bit(struct nfs_page *req, unsigned int bit) in nfs_page_group_sync_on_bit()
407 nfs_page_group_init(struct nfs_page *req, struct nfs_page *prev) in nfs_page_group_init()
450 struct nfs_page *req = container_of(kref, struct nfs_page, wb_kref); in nfs_page_group_destroy()
451 struct nfs_page *head = req->wb_head; in nfs_page_group_destroy()
452 struct nfs_page *tmp, *next; in nfs_page_group_destroy()
472 static struct nfs_page *nfs_page_create(struct nfs_lock_context *l_ctx, in nfs_page_create()
476 struct nfs_page *req; in nfs_page_create()
502 static void nfs_page_assign_folio(struct nfs_page *req, struct folio *folio) in nfs_page_assign_folio()
511 static void nfs_page_assign_page(struct nfs_page *req, struct page *page) in nfs_page_assign_page()
531 struct nfs_page *nfs_page_create_from_page(struct nfs_open_context *ctx, in nfs_page_create_from_page()
537 struct nfs_page *ret; in nfs_page_create_from_page()
562 struct nfs_page *nfs_page_create_from_folio(struct nfs_open_context *ctx, in nfs_page_create_from_folio()
568 struct nfs_page *ret; in nfs_page_create_from_folio()
581 static struct nfs_page *
582 nfs_create_subreq(struct nfs_page *req, in nfs_create_subreq()
587 struct nfs_page *last; in nfs_create_subreq()
588 struct nfs_page *ret; in nfs_create_subreq()
616 void nfs_unlock_request(struct nfs_page *req) in nfs_unlock_request()
629 void nfs_unlock_and_release_request(struct nfs_page *req) in nfs_unlock_and_release_request()
642 static void nfs_clear_request(struct nfs_page *req) in nfs_clear_request()
675 void nfs_free_request(struct nfs_page *req) in nfs_free_request()
691 void nfs_release_request(struct nfs_page *req) in nfs_release_request()
705 nfs_wait_on_request(struct nfs_page *req) in nfs_wait_on_request()
726 struct nfs_page *prev, struct nfs_page *req) in nfs_generic_pg_test()
800 struct nfs_page *req = hdr->req; in nfs_pgio_rpcsetup()
989 struct nfs_page *req; in nfs_generic_pgio()
1109 struct nfs_page *req) in nfs_pageio_setup_mirroring()
1147 static bool nfs_page_is_contiguous(const struct nfs_page *prev, in nfs_page_is_contiguous()
1148 const struct nfs_page *req) in nfs_page_is_contiguous()
1177 static unsigned int nfs_coalesce_size(struct nfs_page *prev, in nfs_coalesce_size()
1178 struct nfs_page *req, in nfs_coalesce_size()
1209 struct nfs_page *req) in nfs_pageio_do_add_request()
1212 struct nfs_page *prev = NULL; in nfs_pageio_do_add_request()
1260 struct nfs_page *req) in nfs_pageio_cleanup_request()
1281 struct nfs_page *req) in __nfs_pageio_add_request()
1284 struct nfs_page *subreq; in __nfs_pageio_add_request()
1347 struct nfs_page *req; in nfs_do_recoalesce()
1349 req = list_first_entry(&head, struct nfs_page, wb_list); in nfs_do_recoalesce()
1364 struct nfs_page *req) in nfs_pageio_add_request_mirror()
1396 struct nfs_page *req) in nfs_pageio_add_request()
1400 struct nfs_page *dupreq; in nfs_pageio_add_request()
1486 struct nfs_page *req = nfs_list_entry(pages.next); in nfs_pageio_resend()
1534 struct nfs_page *prev; in nfs_pageio_cond_complete()
1565 sizeof(struct nfs_page), in nfs_init_nfspagecache()