Home
last modified time | relevance | path

Searched refs:nfs_pgio_header (Results 1 – 20 of 20) sorted by relevance

/Linux-v5.15/include/linux/
Dnfs_page.h74 struct nfs_pgio_header *(*rw_alloc_header)(void);
75 void (*rw_free_header)(struct nfs_pgio_header *);
76 int (*rw_done)(struct rpc_task *, struct nfs_pgio_header *,
78 void (*rw_result)(struct rpc_task *, struct nfs_pgio_header *);
79 void (*rw_initiate)(struct nfs_pgio_header *, struct rpc_message *,
137 struct nfs_pgio_header *);
Dnfs_xdr.h1603 struct nfs_pgio_header { struct
1613 void (*release) (struct nfs_pgio_header *hdr); argument
1632 int (*pgio_done_cb)(struct rpc_task *, struct nfs_pgio_header *); argument
1686 void (*init_hdr)(struct nfs_pgio_header *hdr);
1687 void (*completion)(struct nfs_pgio_header *hdr);
1688 void (*reschedule_io)(struct nfs_pgio_header *hdr);
1781 struct nfs_pgio_header *);
1782 void (*read_setup)(struct nfs_pgio_header *, struct rpc_message *);
1783 int (*read_done)(struct rpc_task *, struct nfs_pgio_header *);
1784 void (*write_setup)(struct nfs_pgio_header *, struct rpc_message *,
[all …]
/Linux-v5.15/fs/nfs/
Dread.c38 static struct nfs_pgio_header *nfs_readhdr_alloc(void) in nfs_readhdr_alloc()
40 struct nfs_pgio_header *p = kmem_cache_zalloc(nfs_rdata_cachep, GFP_KERNEL); in nfs_readhdr_alloc()
47 static void nfs_readhdr_free(struct nfs_pgio_header *rhdr) in nfs_readhdr_free()
145 static void nfs_read_completion(struct nfs_pgio_header *hdr) in nfs_read_completion()
192 static void nfs_initiate_read(struct nfs_pgio_header *hdr, in nfs_initiate_read()
227 struct nfs_pgio_header *hdr, in nfs_readpage_done()
245 struct nfs_pgio_header *hdr) in nfs_readpage_retry()
277 struct nfs_pgio_header *hdr) in nfs_readpage_result()
448 sizeof(struct nfs_pgio_header), in nfs_init_readpagecache()
Dpagelist.c58 struct nfs_pgio_header *hdr, in nfs_pgheader_init()
59 void (*release)(struct nfs_pgio_header *hdr)) in nfs_pgheader_init()
80 void nfs_set_pgio_error(struct nfs_pgio_header *hdr, int error, loff_t pos) in nfs_set_pgio_error()
659 struct nfs_pgio_header *nfs_pgio_header_alloc(const struct nfs_rw_ops *ops) in nfs_pgio_header_alloc()
661 struct nfs_pgio_header *hdr = ops->rw_alloc_header(); in nfs_pgio_header_alloc()
679 static void nfs_pgio_data_destroy(struct nfs_pgio_header *hdr) in nfs_pgio_data_destroy()
691 void nfs_pgio_header_free(struct nfs_pgio_header *hdr) in nfs_pgio_header_free()
705 static void nfs_pgio_rpcsetup(struct nfs_pgio_header *hdr, in nfs_pgio_rpcsetup()
749 struct nfs_pgio_header *hdr = calldata; in nfs_pgio_prepare()
756 int nfs_initiate_pgio(struct rpc_clnt *clnt, struct nfs_pgio_header *hdr, in nfs_initiate_pgio()
[all …]
Dinternal.h278 struct nfs_pgio_header *hdr,
279 void (*release)(struct nfs_pgio_header *hdr));
280 void nfs_set_pgio_error(struct nfs_pgio_header *hdr, int error, loff_t pos);
284 struct nfs_pgio_header *nfs_pgio_header_alloc(const struct nfs_rw_ops *);
285 void nfs_pgio_header_free(struct nfs_pgio_header *);
286 int nfs_generic_pgio(struct nfs_pageio_descriptor *, struct nfs_pgio_header *);
287 int nfs_initiate_pgio(struct rpc_clnt *clnt, struct nfs_pgio_header *hdr,
509 int nfs_write_need_commit(struct nfs_pgio_header *);
510 void nfs_writeback_update_inode(struct nfs_pgio_header *hdr);
Dpnfs.h162 enum pnfs_try_status (*read_pagelist)(struct nfs_pgio_header *);
163 enum pnfs_try_status (*write_pagelist)(struct nfs_pgio_header *, int);
313 void pnfs_ld_write_done(struct nfs_pgio_header *);
314 void pnfs_ld_read_done(struct nfs_pgio_header *);
315 void pnfs_read_resend_pnfs(struct nfs_pgio_header *, unsigned int mirror_idx);
337 int pnfs_read_done_resend_to_mds(struct nfs_pgio_header *);
338 int pnfs_write_done_resend_to_mds(struct nfs_pgio_header *);
Dwrite.c105 static struct nfs_pgio_header *nfs_writehdr_alloc(void) in nfs_writehdr_alloc()
107 struct nfs_pgio_header *p = mempool_alloc(nfs_wdata_mempool, GFP_KERNEL); in nfs_writehdr_alloc()
114 static void nfs_writehdr_free(struct nfs_pgio_header *hdr) in nfs_writehdr_free()
977 int nfs_write_need_commit(struct nfs_pgio_header *hdr) in nfs_write_need_commit()
984 static void nfs_async_write_init(struct nfs_pgio_header *hdr) in nfs_async_write_init()
989 static void nfs_write_completion(struct nfs_pgio_header *hdr) in nfs_write_completion()
1404 static void nfs_initiate_write(struct nfs_pgio_header *hdr, in nfs_initiate_write()
1444 static void nfs_async_write_reschedule_io(struct nfs_pgio_header *hdr) in nfs_async_write_reschedule_io()
1523 static void nfs_writeback_check_extend(struct nfs_pgio_header *hdr, in nfs_writeback_check_extend()
1544 void nfs_writeback_update_inode(struct nfs_pgio_header *hdr) in nfs_writeback_update_inode()
[all …]
Ddirect.c117 const struct nfs_pgio_header *hdr, in nfs_direct_handle_truncated()
137 const struct nfs_pgio_header *hdr) in nfs_direct_count_bytes()
286 static void nfs_direct_read_completion(struct nfs_pgio_header *hdr) in nfs_direct_read_completion()
328 static void nfs_direct_pgio_init(struct nfs_pgio_header *hdr) in nfs_direct_pgio_init()
699 static void nfs_direct_write_completion(struct nfs_pgio_header *hdr) in nfs_direct_write_completion()
756 static void nfs_direct_write_reschedule_io(struct nfs_pgio_header *hdr) in nfs_direct_write_reschedule_io()
Dproc.c598 static int nfs_read_done(struct rpc_task *task, struct nfs_pgio_header *hdr) in nfs_read_done()
615 static void nfs_proc_read_setup(struct nfs_pgio_header *hdr, in nfs_proc_read_setup()
622 struct nfs_pgio_header *hdr) in nfs_proc_pgio_rpc_prepare()
628 static int nfs_write_done(struct rpc_task *task, struct nfs_pgio_header *hdr) in nfs_write_done()
637 static void nfs_proc_write_setup(struct nfs_pgio_header *hdr, in nfs_proc_write_setup()
Dpnfs.c2796 int pnfs_write_done_resend_to_mds(struct nfs_pgio_header *hdr) in pnfs_write_done_resend_to_mds()
2808 static void pnfs_ld_handle_write_error(struct nfs_pgio_header *hdr) in pnfs_ld_handle_write_error()
2823 void pnfs_ld_write_done(struct nfs_pgio_header *hdr) in pnfs_ld_write_done()
2839 struct nfs_pgio_header *hdr) in pnfs_write_through_mds()
2852 pnfs_try_to_write_data(struct nfs_pgio_header *hdr, in pnfs_try_to_write_data()
2874 struct nfs_pgio_header *hdr, int how) in pnfs_do_write()
2898 static void pnfs_writehdr_free(struct nfs_pgio_header *hdr) in pnfs_writehdr_free()
2907 struct nfs_pgio_header *hdr; in pnfs_generic_pg_writepages()
2926 int pnfs_read_done_resend_to_mds(struct nfs_pgio_header *hdr) in pnfs_read_done_resend_to_mds()
2936 static void pnfs_ld_handle_read_error(struct nfs_pgio_header *hdr) in pnfs_ld_handle_read_error()
[all …]
Dnfs3proc.c846 static int nfs3_read_done(struct rpc_task *task, struct nfs_pgio_header *hdr) in nfs3_read_done()
865 static void nfs3_proc_read_setup(struct nfs_pgio_header *hdr, in nfs3_proc_read_setup()
873 struct nfs_pgio_header *hdr) in nfs3_proc_pgio_rpc_prepare()
879 static int nfs3_write_done(struct rpc_task *task, struct nfs_pgio_header *hdr) in nfs3_write_done()
893 static void nfs3_proc_write_setup(struct nfs_pgio_header *hdr, in nfs3_proc_write_setup()
Dnfstrace.h883 const struct nfs_pgio_header *hdr
922 const struct nfs_pgio_header *hdr
969 const struct nfs_pgio_header *hdr
1015 const struct nfs_pgio_header *hdr,
1069 const struct nfs_pgio_header *hdr
1111 const struct nfs_pgio_header *hdr
Dnfs4_fs.h409 struct rpc_message *msg, struct nfs_pgio_header *hdr) in nfs4_state_protect_write()
436 struct rpc_message *msg, struct nfs_pgio_header *hdr) in nfs4_state_protect_write()
Dnfs4trace.h1785 const struct nfs_pgio_header *hdr,
1848 const struct nfs_pgio_header *hdr, \
1859 const struct nfs_pgio_header *hdr,
1923 const struct nfs_pgio_header *hdr, \
2314 const struct nfs_pgio_header *hdr
2368 const struct nfs_pgio_header *hdr \
Dnfs42xdr.c1099 struct nfs_pgio_header *hdr = in decode_read_plus()
1100 container_of(res, struct nfs_pgio_header, res); in decode_read_plus()
Dnfs4proc.c5294 static int nfs4_read_done_cb(struct rpc_task *task, struct nfs_pgio_header *hdr) in nfs4_read_done_cb()
5333 struct nfs_pgio_header *hdr) in nfs4_read_plus_not_supported()
5348 static int nfs4_read_done(struct rpc_task *task, struct nfs_pgio_header *hdr) in nfs4_read_done()
5365 static void nfs42_read_plus_support(struct nfs_pgio_header *hdr, in nfs42_read_plus_support()
5373 static void nfs42_read_plus_support(struct nfs_pgio_header *hdr, in nfs42_read_plus_support()
5379 static void nfs4_proc_read_setup(struct nfs_pgio_header *hdr, in nfs4_proc_read_setup()
5391 struct nfs_pgio_header *hdr) in nfs4_proc_pgio_rpc_prepare()
5408 struct nfs_pgio_header *hdr) in nfs4_write_done_cb()
5448 static int nfs4_write_done(struct rpc_task *task, struct nfs_pgio_header *hdr) in nfs4_write_done()
5459 bool nfs4_write_need_cache_consistency_data(struct nfs_pgio_header *hdr) in nfs4_write_need_cache_consistency_data()
[all …]
Dpnfs_nfs.c24 struct nfs_pgio_header *hdr = data; in pnfs_generic_rw_release()
/Linux-v5.15/fs/nfs/filelayout/
Dfilelayout.c89 static void filelayout_reset_write(struct nfs_pgio_header *hdr) in filelayout_reset_write()
106 static void filelayout_reset_read(struct nfs_pgio_header *hdr) in filelayout_reset_read()
204 struct nfs_pgio_header *hdr) in filelayout_read_done_cb()
230 filelayout_set_layoutcommit(struct nfs_pgio_header *hdr) in filelayout_set_layoutcommit()
268 struct nfs_pgio_header *hdr = data; in filelayout_read_prepare()
294 struct nfs_pgio_header *hdr = data; in filelayout_read_call_done()
310 struct nfs_pgio_header *hdr = data; in filelayout_read_count_stats()
316 struct nfs_pgio_header *hdr) in filelayout_write_done_cb()
368 struct nfs_pgio_header *hdr = data; in filelayout_write_prepare()
392 struct nfs_pgio_header *hdr = data; in filelayout_write_call_done()
[all …]
/Linux-v5.15/fs/nfs/blocklayout/
Dblocklayout.c187 static void bl_mark_devices_unavailable(struct nfs_pgio_header *header, bool rw) in bl_mark_devices_unavailable()
215 struct nfs_pgio_header *header = par->data; in bl_end_io_read()
230 struct nfs_pgio_header *hdr; in bl_read_cleanup()
233 hdr = container_of(task, struct nfs_pgio_header, task); in bl_read_cleanup()
240 struct nfs_pgio_header *hdr = data; in bl_end_par_io_read()
248 bl_read_pagelist(struct nfs_pgio_header *header) in bl_read_pagelist()
344 struct nfs_pgio_header *header = par->data; in bl_end_io_write()
362 struct nfs_pgio_header *hdr = in bl_write_cleanup()
363 container_of(task, struct nfs_pgio_header, task); in bl_write_cleanup()
384 struct nfs_pgio_header *hdr = data; in bl_end_par_io_write()
[all …]
/Linux-v5.15/fs/nfs/flexfilelayout/
Dflexfilelayout.c37 struct nfs_pgio_header *hdr);
1014 static void ff_layout_reset_write(struct nfs_pgio_header *hdr, bool retry_pnfs) in ff_layout_reset_write()
1050 static void ff_layout_resend_pnfs_read(struct nfs_pgio_header *hdr) in ff_layout_resend_pnfs_read()
1062 static void ff_layout_reset_read(struct nfs_pgio_header *hdr) in ff_layout_reset_read()
1286 struct nfs_pgio_header *hdr) in ff_layout_read_done_cb()
1351 struct nfs_pgio_header *hdr) in ff_layout_read_record_layoutstats_start()
1362 struct nfs_pgio_header *hdr) in ff_layout_read_record_layoutstats_done()
1374 struct nfs_pgio_header *hdr) in ff_layout_read_prepare_common()
1392 struct nfs_pgio_header *hdr = data; in ff_layout_read_prepare_v3()
1402 struct nfs_pgio_header *hdr = data; in ff_layout_read_prepare_v4()
[all …]