Home
last modified time | relevance | path

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

/Linux-v5.4/include/linux/
Dnfs_page.h42 struct nfs_page { struct
53 struct nfs_page *wb_this_page; /* list of reqs for this page */ argument
54 struct nfs_page *wb_head; /* head pointer for req list */ argument
60 void (*pg_init)(struct nfs_pageio_descriptor *, struct nfs_page *); argument
61 size_t (*pg_test)(struct nfs_pageio_descriptor *, struct nfs_page *,
62 struct nfs_page *);
65 struct nfs_page *);
116 extern struct nfs_page *nfs_create_request(struct nfs_open_context *ctx,
120 extern void nfs_release_request(struct nfs_page *);
131 struct nfs_page *);
[all …]
Dnfs_xdr.h1484 struct nfs_page;
1509 struct nfs_page *req;
1553 void (*resched_write) (struct nfs_commit_info *, struct nfs_page *);
/Linux-v5.4/fs/nfs/
Dpagelist.c77 static inline struct nfs_page *
80 struct nfs_page *p = kmem_cache_zalloc(nfs_page_cachep, GFP_KERNEL); in nfs_page_alloc()
87 nfs_page_free(struct nfs_page *p) in nfs_page_free()
145 nfs_page_group_lock(struct nfs_page *req) in nfs_page_group_lock()
147 struct nfs_page *head = req->wb_head; in nfs_page_group_lock()
165 nfs_page_group_unlock(struct nfs_page *req) in nfs_page_group_unlock()
167 struct nfs_page *head = req->wb_head; in nfs_page_group_unlock()
185 nfs_page_group_sync_on_bit_locked(struct nfs_page *req, unsigned int bit) in nfs_page_group_sync_on_bit_locked()
187 struct nfs_page *head = req->wb_head; in nfs_page_group_sync_on_bit_locked()
188 struct nfs_page *tmp; in nfs_page_group_sync_on_bit_locked()
[all …]
Dwrite.c55 static void nfs_redirty_request(struct nfs_page *req);
60 static void nfs_inode_remove_request(struct nfs_page *req);
61 static void nfs_clear_request_commit(struct nfs_page *req);
64 static struct nfs_page *
152 static struct nfs_page *
157 return (struct nfs_page *)page_private(page); in nfs_page_private_request()
167 static struct nfs_page *
171 struct nfs_page *req; in nfs_page_find_private_request()
185 static struct nfs_page *
190 struct nfs_page *req = NULL; in nfs_page_find_swap_request()
[all …]
Dpnfs.h151 void (*mark_request_commit) (struct nfs_page *req,
155 void (*clear_request_commit) (struct nfs_page *req,
161 struct nfs_page * (*search_commit_reqs)(struct nfs_commit_info *cinfo,
245 void pnfs_generic_pg_init_read(struct nfs_pageio_descriptor *, struct nfs_page *);
248 struct nfs_page *req, u64 wb_size);
252 struct nfs_page *prev, struct nfs_page *req);
363 void pnfs_generic_clear_request_commit(struct nfs_page *req,
388 void pnfs_layout_mark_request_commit(struct nfs_page *req,
463 pnfs_mark_request_commit(struct nfs_page *req, struct pnfs_layout_segment *lseg, in pnfs_mark_request_commit()
476 pnfs_clear_request_commit(struct nfs_page *req, struct nfs_commit_info *cinfo) in pnfs_clear_request_commit()
[all …]
Dread.c94 static void nfs_readpage_release(struct nfs_page *req, int error) in nfs_readpage_release()
120 struct nfs_page *new; in nfs_readpage_async()
153 static void nfs_page_group_set_uptodate(struct nfs_page *req) in nfs_page_group_set_uptodate()
167 struct nfs_page *req = nfs_list_entry(hdr->pages.next); in nfs_read_completion()
223 struct nfs_page *req; in nfs_async_read_error()
376 struct nfs_page *new; in readpage_async_filler()
Ddirect.c401 struct nfs_page *req = nfs_list_entry(hdr->pages.next); in nfs_direct_read_completion()
419 struct nfs_page *req; in nfs_read_sync_pgio_error()
478 struct nfs_page *req; in nfs_direct_read_schedule_iovec()
624 struct nfs_page *req, *tmp; in nfs_direct_write_reschedule()
675 struct nfs_page *req; in nfs_direct_commit_complete()
703 struct nfs_page *req) in nfs_direct_resched_write()
760 struct nfs_page *req = nfs_list_entry(hdr->pages.next); in nfs_direct_write_completion()
809 struct nfs_page *req; in nfs_write_sync_pgio_error()
883 struct nfs_page *req; in nfs_direct_write_schedule_iovec()
Dinternal.h254 void nfs_free_request(struct nfs_page *req);
487 void nfs_mark_request_commit(struct nfs_page *req,
500 void nfs_request_add_commit_list(struct nfs_page *req,
502 void nfs_request_add_commit_list_locked(struct nfs_page *req,
505 void nfs_request_remove_commit_list(struct nfs_page *req,
Dpnfs_nfs.c34 struct nfs_page *first = nfs_list_entry(data->pages.next); in pnfs_generic_prepare_to_resend_writes()
68 pnfs_generic_clear_request_commit(struct nfs_page *req, in pnfs_generic_clear_request_commit()
928 pnfs_layout_mark_request_commit(struct nfs_page *req, in pnfs_layout_mark_request_commit()
Dpnfs.c2483 pnfs_generic_pg_check_range(struct nfs_pageio_descriptor *pgio, struct nfs_page *req) in pnfs_generic_pg_check_range()
2492 pnfs_generic_pg_init_read(struct nfs_pageio_descriptor *pgio, struct nfs_page *req) in pnfs_generic_pg_init_read()
2526 struct nfs_page *req, u64 wb_size) in pnfs_generic_pg_init_write()
2566 struct nfs_page *prev, struct nfs_page *req) in pnfs_generic_pg_test()
/Linux-v5.4/fs/nfs/blocklayout/
Dblocklayout.c825 struct nfs_page *req, unsigned int alignment, bool is_write) in is_aligned_req()
856 bl_pg_init_read(struct nfs_pageio_descriptor *pgio, struct nfs_page *req) in bl_pg_init_read()
878 bl_pg_test_read(struct nfs_pageio_descriptor *pgio, struct nfs_page *prev, in bl_pg_test_read()
879 struct nfs_page *req) in bl_pg_test_read()
910 bl_pg_init_write(struct nfs_pageio_descriptor *pgio, struct nfs_page *req) in bl_pg_init_write()
941 bl_pg_test_write(struct nfs_pageio_descriptor *pgio, struct nfs_page *prev, in bl_pg_test_write()
942 struct nfs_page *req) in bl_pg_test_write()
/Linux-v5.4/fs/nfs/filelayout/
Dfilelayout.c847 filelayout_pg_test(struct nfs_pageio_descriptor *pgio, struct nfs_page *prev, in filelayout_pg_test()
848 struct nfs_page *req) in filelayout_pg_test()
915 struct nfs_page *req) in filelayout_pg_init_read()
939 struct nfs_page *req) in filelayout_pg_init_write()
998 filelayout_mark_request_commit(struct nfs_page *req, in filelayout_mark_request_commit()
1088 static struct nfs_page *
1091 struct nfs_page *freq, *t; in filelayout_search_commit_reqs()
/Linux-v5.4/fs/nfs/flexfilelayout/
Dflexfilelayout.c873 struct nfs_page *req, in ff_layout_pg_get_read()
892 struct nfs_page *req) in ff_layout_pg_init_read()
952 struct nfs_page *req) in ff_layout_pg_init_write()
1025 struct nfs_page *req) in ff_layout_pg_get_mirror_count_write()
1673 struct nfs_page *req; in ff_layout_commit_record_layoutstats_done()
/Linux-v5.4/include/
DKbuild390 header-test- += linux/nfs_page.h