Home
last modified time | relevance | path

Searched refs:nfs_page (Results 1 – 14 of 14) sorted by relevance

/linux/include/linux/
H A Dnfs_page.h43 struct nfs_page { struct
57 struct nfs_page *wb_this_page; /* list of reqs for this page */ argument
58 struct nfs_page *wb_head; /* head pointer for req list */ argument
65 void (*pg_init)(struct nfs_pageio_descriptor *, struct nfs_page *); argument
66 size_t (*pg_test)(struct nfs_pageio_descriptor *, struct nfs_page *,
67 struct nfs_page *);
70 struct nfs_page *);
125 extern struct nfs_page *nfs_page_create_from_page(struct nfs_open_context *ctx,
130 extern struct nfs_page *nfs_page_create_from_folio(struct nfs_open_context *ctx,
134 extern void nfs_release_request(struct nfs_page *);
[all …]
H A Dnfs_xdr.h1624 struct nfs_page;
1651 struct nfs_page *req;
1699 void (*resched_write) (struct nfs_commit_info *, struct nfs_page *);
/linux/fs/nfs/
H A Dpagelist.c37 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()
[all …]
H A Dwrite.c56 static void nfs_redirty_request(struct nfs_page *req);
61 static void nfs_inode_remove_request(struct nfs_page *req);
63 struct nfs_page *req);
148 nfs_page_set_inode_ref(struct nfs_page *req, struct inode *inode) in nfs_page_set_inode_ref()
156 static void nfs_cancel_remove_inode(struct nfs_page *req, struct inode *inode) in nfs_cancel_remove_inode()
170 static struct nfs_page *nfs_folio_find_head_request(struct folio *folio) in nfs_folio_find_head_request()
173 struct nfs_page *req; in nfs_folio_find_head_request()
246 static bool nfs_page_group_covers_page(struct nfs_page *req) in nfs_page_group_covers_page()
256 static void nfs_mark_uptodate(struct nfs_page *req) in nfs_mark_uptodate()
307 static void nfs_page_end_writeback(struct nfs_page *req) in nfs_page_end_writeback()
[all …]
H A Dpnfs.h192 void (*mark_request_commit) (struct nfs_page *req,
196 void (*clear_request_commit) (struct nfs_page *req,
268 void pnfs_generic_pg_check_layout(struct nfs_pageio_descriptor *pgio, struct nfs_page *req);
269 void pnfs_generic_pg_init_read(struct nfs_pageio_descriptor *, struct nfs_page *);
272 struct nfs_page *req, u64 wb_size);
276 struct nfs_page *prev, struct nfs_page *req);
402 void pnfs_generic_clear_request_commit(struct nfs_page *req,
428 void pnfs_layout_mark_request_commit(struct nfs_page *req,
527 pnfs_mark_request_commit(struct nfs_page *req, struct pnfs_layout_segment *lseg, in pnfs_mark_request_commit()
539 pnfs_clear_request_commit(struct nfs_page *req, struct nfs_commit_info *cinfo) in pnfs_clear_request_commit()
[all …]
H A Ddirect.c123 struct nfs_page *req) in nfs_direct_truncate_request()
293 struct nfs_page *req = nfs_list_entry(hdr->pages.next); in nfs_direct_read_completion()
311 struct nfs_page *req; in nfs_read_sync_pgio_error()
370 struct nfs_page *req; in nfs_direct_read_schedule_iovec()
510 struct nfs_page *req) in nfs_direct_add_page_head()
512 struct nfs_page *head = req->wb_head; in nfs_direct_add_page_head()
529 struct nfs_page *req, *subreq; in nfs_direct_join_group()
567 struct nfs_page *req; in nfs_direct_write_reschedule()
628 struct nfs_page *req; in nfs_direct_commit_complete()
674 struct nfs_page *req) in nfs_direct_resched_write()
[all …]
H A Dread.c122 static void nfs_readpage_release(struct nfs_page *req, int error) in nfs_readpage_release()
133 static void nfs_page_group_set_uptodate(struct nfs_page *req) in nfs_page_group_set_uptodate()
147 struct nfs_page *req = nfs_list_entry(hdr->pages.next); in nfs_read_completion()
202 struct nfs_page *req; in nfs_async_read_error()
294 struct nfs_page *new; in nfs_read_add_folio()
H A Dinternal.h313 void nfs_free_request(struct nfs_page *req);
608 void nfs_mark_request_commit(struct nfs_page *req,
621 void nfs_request_add_commit_list(struct nfs_page *req,
623 void nfs_request_add_commit_list_locked(struct nfs_page *req,
626 void nfs_request_remove_commit_list(struct nfs_page *req,
682 struct nfs_page *req) in nfs_write_match_verf()
H A Dnfstrace.h1490 const struct nfs_page *req
1499 __field(const struct nfs_page *__private, req)
1530 const struct nfs_page *req \
1540 const struct nfs_page *req,
1579 const struct nfs_page *req, \
H A Dpnfs_nfs.c80 pnfs_generic_clear_request_commit(struct nfs_page *req, in pnfs_generic_clear_request_commit()
1174 pnfs_layout_mark_request_commit(struct nfs_page *req, in pnfs_layout_mark_request_commit()
H A Dpnfs.c2872 struct nfs_page *req) in pnfs_generic_pg_check_layout()
2884 pnfs_generic_pg_init_read(struct nfs_pageio_descriptor *pgio, struct nfs_page *req) in pnfs_generic_pg_init_read()
2916 struct nfs_page *req, u64 wb_size) in pnfs_generic_pg_init_write()
2952 struct nfs_page *prev, struct nfs_page *req) in pnfs_generic_pg_test()
/linux/fs/nfs/blocklayout/
H A Dblocklayout.c823 struct nfs_page *req, unsigned int alignment, bool is_write) in is_aligned_req()
854 bl_pg_init_read(struct nfs_pageio_descriptor *pgio, struct nfs_page *req) in bl_pg_init_read()
876 bl_pg_test_read(struct nfs_pageio_descriptor *pgio, struct nfs_page *prev, in bl_pg_test_read()
877 struct nfs_page *req) in bl_pg_test_read()
908 bl_pg_init_write(struct nfs_pageio_descriptor *pgio, struct nfs_page *req) in bl_pg_init_write()
938 bl_pg_test_write(struct nfs_pageio_descriptor *pgio, struct nfs_page *prev, in bl_pg_test_write()
939 struct nfs_page *req) in bl_pg_test_write()
/linux/fs/nfs/filelayout/
H A Dfilelayout.c791 filelayout_pg_test(struct nfs_pageio_descriptor *pgio, struct nfs_page *prev, in filelayout_pg_test()
792 struct nfs_page *req) in filelayout_pg_test()
868 struct nfs_page *req) in filelayout_pg_init_read()
892 struct nfs_page *req) in filelayout_pg_init_write()
938 filelayout_mark_request_commit(struct nfs_page *req, in filelayout_mark_request_commit()
/linux/fs/nfs/flexfilelayout/
H A Dflexfilelayout.c959 struct nfs_page *req, in ff_layout_pg_get_read()
986 ff_layout_pg_test(struct nfs_pageio_descriptor *pgio, struct nfs_page *prev, in ff_layout_pg_test()
987 struct nfs_page *req) in ff_layout_pg_test()
1025 struct nfs_page *req) in ff_layout_pg_init_read()
1096 struct nfs_page *req) in ff_layout_pg_init_write()
1164 struct nfs_page *req) in ff_layout_pg_get_mirror_count_write()
2006 struct nfs_page *req; in ff_layout_commit_record_layoutstats_done()