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 *);
127 extern struct nfs_page *nfs_page_create_from_page(struct nfs_open_context *ctx,
132 extern struct nfs_page *nfs_page_create_from_folio(struct nfs_open_context *ctx,
136 extern void nfs_release_request(struct nfs_page *);
[all …]
H A Dnfs_xdr.h1621 struct nfs_page;
1647 struct nfs_page *req;
1694 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()
157 nfs_cancel_remove_inode(struct nfs_page *req, struct inode *inode) in nfs_cancel_remove_inode()
180 static struct nfs_page *nfs_folio_find_head_request(struct folio *folio) in nfs_folio_find_head_request()
183 struct nfs_page *req; in nfs_folio_find_head_request()
262 static struct nfs_page *
263 nfs_page_group_search_locked(struct nfs_page *head, unsigned int page_offset) in nfs_page_group_search_locked()
265 struct nfs_page *req; in nfs_page_group_search_locked()
[all …]
H A Dpnfs.h191 void (*mark_request_commit) (struct nfs_page *req,
195 void (*clear_request_commit) (struct nfs_page *req,
267 void pnfs_generic_pg_check_layout(struct nfs_pageio_descriptor *pgio, struct nfs_page *req);
268 void pnfs_generic_pg_init_read(struct nfs_pageio_descriptor *, struct nfs_page *);
271 struct nfs_page *req, u64 wb_size);
275 struct nfs_page *prev, struct nfs_page *req);
402 void pnfs_generic_clear_request_commit(struct nfs_page *req,
427 void pnfs_layout_mark_request_commit(struct nfs_page *req,
526 pnfs_mark_request_commit(struct nfs_page *req, struct pnfs_layout_segment *lseg, in pnfs_mark_request_commit()
538 pnfs_clear_request_commit(struct nfs_page *req, struct nfs_commit_info *cinfo) in pnfs_clear_request_commit()
[all …]
H A Ddirect.c122 struct nfs_page *req) in nfs_direct_truncate_request()
276 struct nfs_page *req = nfs_list_entry(hdr->pages.next); in nfs_direct_read_completion()
294 struct nfs_page *req; in nfs_read_sync_pgio_error()
352 struct nfs_page *req; in nfs_direct_read_schedule_iovec()
492 struct nfs_page *req) in nfs_direct_add_page_head()
494 struct nfs_page *head = req->wb_head; in nfs_direct_add_page_head()
511 struct nfs_page *req, *subreq; in nfs_direct_join_group()
549 struct nfs_page *req; in nfs_direct_write_reschedule()
610 struct nfs_page *req; in nfs_direct_commit_complete()
656 struct nfs_page *req) in nfs_direct_resched_write()
[all …]
H A Dread.c121 static void nfs_readpage_release(struct nfs_page *req, int error) in nfs_readpage_release()
132 static void nfs_page_group_set_uptodate(struct nfs_page *req) in nfs_page_group_set_uptodate()
146 struct nfs_page *req = nfs_list_entry(hdr->pages.next); in nfs_read_completion()
201 struct nfs_page *req; in nfs_async_read_error()
293 struct nfs_page *new; in nfs_read_add_folio()
H A Dinternal.h315 void nfs_free_request(struct nfs_page *req);
590 void nfs_mark_request_commit(struct nfs_page *req,
603 void nfs_request_add_commit_list(struct nfs_page *req,
605 void nfs_request_add_commit_list_locked(struct nfs_page *req,
608 void nfs_request_remove_commit_list(struct nfs_page *req,
664 struct nfs_page *req) in nfs_write_match_verf()
H A Dpnfs_nfs.c78 pnfs_generic_clear_request_commit(struct nfs_page *req, in pnfs_generic_clear_request_commit()
1153 pnfs_layout_mark_request_commit(struct nfs_page *req, in pnfs_layout_mark_request_commit()
H A Dpnfs.c2835 struct nfs_page *req) in pnfs_generic_pg_check_layout()
2847 pnfs_generic_pg_init_read(struct nfs_pageio_descriptor *pgio, struct nfs_page *req) in pnfs_generic_pg_init_read()
2879 struct nfs_page *req, u64 wb_size) in pnfs_generic_pg_init_write()
2915 struct nfs_page *prev, struct nfs_page *req) in pnfs_generic_pg_test()
H A Dnfstrace.h1398 const struct nfs_page *req,
1437 const struct nfs_page *req, \
/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.c827 struct nfs_page *req, in ff_layout_pg_get_read()
843 struct nfs_page *req) in ff_layout_pg_init_read()
898 struct nfs_page *req) in ff_layout_pg_init_write()
961 struct nfs_page *req) in ff_layout_pg_get_mirror_count_write()
1657 struct nfs_page *req; in ff_layout_commit_record_layoutstats_done()