Home
last modified time | relevance | path

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

/Linux-v6.6/fs/nfs/
Dfscache.h85 extern void nfs_netfs_initiate_read(struct nfs_pgio_header *hdr);
86 extern void nfs_netfs_read_completion(struct nfs_pgio_header *hdr);
148 static inline void nfs_netfs_set_pgio_header(struct nfs_pgio_header *hdr, in nfs_netfs_set_pgio_header()
154 struct nfs_pgio_header *hdr) in nfs_netfs_set_pageio_descriptor()
164 static inline void nfs_netfs_initiate_read(struct nfs_pgio_header *hdr) {} in nfs_netfs_initiate_read()
165 static inline void nfs_netfs_read_completion(struct nfs_pgio_header *hdr) {} in nfs_netfs_read_completion()
196 static inline void nfs_netfs_set_pgio_header(struct nfs_pgio_header *hdr, in nfs_netfs_set_pgio_header()
199 struct nfs_pgio_header *hdr) {} in nfs_netfs_set_pageio_descriptor()
Dread.c39 static struct nfs_pgio_header *nfs_readhdr_alloc(void) in nfs_readhdr_alloc()
41 struct nfs_pgio_header *p = kmem_cache_zalloc(nfs_rdata_cachep, GFP_KERNEL); in nfs_readhdr_alloc()
48 static void nfs_readhdr_free(struct nfs_pgio_header *rhdr) in nfs_readhdr_free()
113 bool nfs_read_alloc_scratch(struct nfs_pgio_header *hdr, size_t size) in nfs_read_alloc_scratch()
140 static void nfs_read_completion(struct nfs_pgio_header *hdr) in nfs_read_completion()
190 static void nfs_initiate_read(struct nfs_pgio_header *hdr, in nfs_initiate_read()
222 struct nfs_pgio_header *hdr, in nfs_readpage_done()
240 struct nfs_pgio_header *hdr) in nfs_readpage_retry()
272 struct nfs_pgio_header *hdr) in nfs_readpage_result()
438 sizeof(struct nfs_pgio_header), in nfs_init_readpagecache()
Dpagelist.c96 struct nfs_pgio_header *hdr, in nfs_pgheader_init()
97 void (*release)(struct nfs_pgio_header *hdr)) in nfs_pgheader_init()
119 void nfs_set_pgio_error(struct nfs_pgio_header *hdr, int error, loff_t pos) in nfs_set_pgio_error()
749 struct nfs_pgio_header *nfs_pgio_header_alloc(const struct nfs_rw_ops *ops) in nfs_pgio_header_alloc()
751 struct nfs_pgio_header *hdr = ops->rw_alloc_header(); in nfs_pgio_header_alloc()
769 static void nfs_pgio_data_destroy(struct nfs_pgio_header *hdr) in nfs_pgio_data_destroy()
781 void nfs_pgio_header_free(struct nfs_pgio_header *hdr) in nfs_pgio_header_free()
796 static void nfs_pgio_rpcsetup(struct nfs_pgio_header *hdr, unsigned int pgbase, in nfs_pgio_rpcsetup()
840 struct nfs_pgio_header *hdr = calldata; in nfs_pgio_prepare()
847 int nfs_initiate_pgio(struct rpc_clnt *clnt, struct nfs_pgio_header *hdr, in nfs_initiate_pgio()
[all …]
Dinternal.h293 struct nfs_pgio_header *hdr,
294 void (*release)(struct nfs_pgio_header *hdr));
295 void nfs_set_pgio_error(struct nfs_pgio_header *hdr, int error, loff_t pos);
299 struct nfs_pgio_header *nfs_pgio_header_alloc(const struct nfs_rw_ops *);
300 void nfs_pgio_header_free(struct nfs_pgio_header *);
301 int nfs_generic_pgio(struct nfs_pageio_descriptor *, struct nfs_pgio_header *);
302 int nfs_initiate_pgio(struct rpc_clnt *clnt, struct nfs_pgio_header *hdr,
498 extern bool nfs_read_alloc_scratch(struct nfs_pgio_header *hdr, size_t size);
540 int nfs_write_need_commit(struct nfs_pgio_header *);
541 void nfs_writeback_update_inode(struct nfs_pgio_header *hdr);
Dpnfs.h159 enum pnfs_try_status (*read_pagelist)(struct nfs_pgio_header *);
160 enum pnfs_try_status (*write_pagelist)(struct nfs_pgio_header *, int);
314 void pnfs_ld_write_done(struct nfs_pgio_header *);
315 void pnfs_ld_read_done(struct nfs_pgio_header *);
316 void pnfs_read_resend_pnfs(struct nfs_pgio_header *, unsigned int mirror_idx);
338 int pnfs_read_done_resend_to_mds(struct nfs_pgio_header *);
339 int pnfs_write_done_resend_to_mds(struct nfs_pgio_header *);
Dwrite.c97 static struct nfs_pgio_header *nfs_writehdr_alloc(void) in nfs_writehdr_alloc()
99 struct nfs_pgio_header *p; in nfs_writehdr_alloc()
112 static void nfs_writehdr_free(struct nfs_pgio_header *hdr) in nfs_writehdr_free()
979 int nfs_write_need_commit(struct nfs_pgio_header *hdr) in nfs_write_need_commit()
986 static void nfs_async_write_init(struct nfs_pgio_header *hdr) in nfs_async_write_init()
991 static void nfs_write_completion(struct nfs_pgio_header *hdr) in nfs_write_completion()
1408 static void nfs_initiate_write(struct nfs_pgio_header *hdr, in nfs_initiate_write()
1452 static void nfs_async_write_reschedule_io(struct nfs_pgio_header *hdr) in nfs_async_write_reschedule_io()
1504 static void nfs_writeback_check_extend(struct nfs_pgio_header *hdr, in nfs_writeback_check_extend()
1525 void nfs_writeback_update_inode(struct nfs_pgio_header *hdr) in nfs_writeback_update_inode()
[all …]
Ddirect.c86 const struct nfs_pgio_header *hdr, in nfs_direct_handle_truncated()
104 const struct nfs_pgio_header *hdr) in nfs_direct_count_bytes()
262 static void nfs_direct_read_completion(struct nfs_pgio_header *hdr) in nfs_direct_read_completion()
304 static void nfs_direct_pgio_init(struct nfs_pgio_header *hdr) in nfs_direct_pgio_init()
720 static void nfs_direct_write_completion(struct nfs_pgio_header *hdr) in nfs_direct_write_completion()
780 static void nfs_direct_write_reschedule_io(struct nfs_pgio_header *hdr) in nfs_direct_write_reschedule_io()
Dproc.c597 static int nfs_read_done(struct rpc_task *task, struct nfs_pgio_header *hdr) in nfs_read_done()
614 static void nfs_proc_read_setup(struct nfs_pgio_header *hdr, in nfs_proc_read_setup()
621 struct nfs_pgio_header *hdr) in nfs_proc_pgio_rpc_prepare()
627 static int nfs_write_done(struct rpc_task *task, struct nfs_pgio_header *hdr) in nfs_write_done()
636 static void nfs_proc_write_setup(struct nfs_pgio_header *hdr, in nfs_proc_write_setup()
Dpnfs.c2831 int pnfs_write_done_resend_to_mds(struct nfs_pgio_header *hdr) in pnfs_write_done_resend_to_mds()
2842 static void pnfs_ld_handle_write_error(struct nfs_pgio_header *hdr) in pnfs_ld_handle_write_error()
2857 void pnfs_ld_write_done(struct nfs_pgio_header *hdr) in pnfs_ld_write_done()
2873 struct nfs_pgio_header *hdr) in pnfs_write_through_mds()
2886 pnfs_try_to_write_data(struct nfs_pgio_header *hdr, in pnfs_try_to_write_data()
2908 struct nfs_pgio_header *hdr, int how) in pnfs_do_write()
2932 static void pnfs_writehdr_free(struct nfs_pgio_header *hdr) in pnfs_writehdr_free()
2941 struct nfs_pgio_header *hdr; in pnfs_generic_pg_writepages()
2960 int pnfs_read_done_resend_to_mds(struct nfs_pgio_header *hdr) in pnfs_read_done_resend_to_mds()
2970 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()
Dfscache.c343 void nfs_netfs_initiate_read(struct nfs_pgio_header *hdr) in nfs_netfs_initiate_read()
366 void nfs_netfs_read_completion(struct nfs_pgio_header *hdr) in nfs_netfs_read_completion()
Dnfstrace.h1117 const struct nfs_pgio_header *hdr
1156 const struct nfs_pgio_header *hdr
1202 const struct nfs_pgio_header *hdr
1248 const struct nfs_pgio_header *hdr,
1292 const struct nfs_pgio_header *hdr
1334 const struct nfs_pgio_header *hdr
Dnfs4_fs.h414 struct rpc_message *msg, struct nfs_pgio_header *hdr) in nfs4_state_protect_write()
441 struct rpc_message *msg, struct nfs_pgio_header *hdr) in nfs4_state_protect_write()
Dnfs4trace.h1477 const struct nfs_pgio_header *hdr,
1540 const struct nfs_pgio_header *hdr, \
1551 const struct nfs_pgio_header *hdr,
1615 const struct nfs_pgio_header *hdr, \
1996 const struct nfs_pgio_header *hdr
2050 const struct nfs_pgio_header *hdr \
Dnfs42xdr.c1045 struct nfs_pgio_header *hdr = in decode_read_plus()
1046 container_of(res, struct nfs_pgio_header, res); in decode_read_plus()
Dnfs4proc.c5391 static int nfs4_read_done_cb(struct rpc_task *task, struct nfs_pgio_header *hdr) in nfs4_read_done_cb()
5430 struct nfs_pgio_header *hdr) in nfs4_read_plus_not_supported()
5445 static int nfs4_read_done(struct rpc_task *task, struct nfs_pgio_header *hdr) in nfs4_read_done()
5460 static bool nfs42_read_plus_support(struct nfs_pgio_header *hdr, in nfs42_read_plus_support()
5471 static bool nfs42_read_plus_support(struct nfs_pgio_header *hdr, in nfs42_read_plus_support()
5478 static void nfs4_proc_read_setup(struct nfs_pgio_header *hdr, in nfs4_proc_read_setup()
5490 struct nfs_pgio_header *hdr) in nfs4_proc_pgio_rpc_prepare()
5507 struct nfs_pgio_header *hdr) in nfs4_write_done_cb()
5547 static int nfs4_write_done(struct rpc_task *task, struct nfs_pgio_header *hdr) in nfs4_write_done()
5558 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-v6.6/include/linux/
Dnfs_page.h78 struct nfs_pgio_header *(*rw_alloc_header)(void);
79 void (*rw_free_header)(struct nfs_pgio_header *);
80 int (*rw_done)(struct rpc_task *, struct nfs_pgio_header *,
82 void (*rw_result)(struct rpc_task *, struct nfs_pgio_header *);
83 void (*rw_initiate)(struct nfs_pgio_header *, struct rpc_message *,
149 struct nfs_pgio_header *);
Dnfs_xdr.h1611 struct nfs_pgio_header { struct
1621 void (*release) (struct nfs_pgio_header *hdr); argument
1643 int (*pgio_done_cb)(struct rpc_task *, struct nfs_pgio_header *); argument
1697 void (*init_hdr)(struct nfs_pgio_header *hdr);
1698 void (*completion)(struct nfs_pgio_header *hdr);
1699 void (*reschedule_io)(struct nfs_pgio_header *hdr);
1791 struct nfs_pgio_header *);
1792 void (*read_setup)(struct nfs_pgio_header *, struct rpc_message *);
1793 int (*read_done)(struct rpc_task *, struct nfs_pgio_header *);
1794 void (*write_setup)(struct nfs_pgio_header *, struct rpc_message *,
[all …]
/Linux-v6.6/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()
206 struct nfs_pgio_header *hdr) in filelayout_read_done_cb()
232 filelayout_set_layoutcommit(struct nfs_pgio_header *hdr) in filelayout_set_layoutcommit()
270 struct nfs_pgio_header *hdr = data; in filelayout_read_prepare()
296 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-v6.6/fs/nfs/flexfilelayout/
Dflexfilelayout.c42 struct nfs_pgio_header *hdr);
1011 static void ff_layout_reset_write(struct nfs_pgio_header *hdr, bool retry_pnfs) in ff_layout_reset_write()
1047 static void ff_layout_resend_pnfs_read(struct nfs_pgio_header *hdr) in ff_layout_resend_pnfs_read()
1059 static void ff_layout_reset_read(struct nfs_pgio_header *hdr) in ff_layout_reset_read()
1288 struct nfs_pgio_header *hdr) in ff_layout_read_done_cb()
1353 struct nfs_pgio_header *hdr) in ff_layout_read_record_layoutstats_start()
1364 struct nfs_pgio_header *hdr) in ff_layout_read_record_layoutstats_done()
1376 struct nfs_pgio_header *hdr) in ff_layout_read_prepare_common()
1399 struct nfs_pgio_header *hdr = data; in ff_layout_read_prepare_v3()
1409 struct nfs_pgio_header *hdr = data; in ff_layout_read_prepare_v4()
[all …]
/Linux-v6.6/fs/nfs/blocklayout/
Dblocklayout.c169 static void bl_mark_devices_unavailable(struct nfs_pgio_header *header, bool rw) in bl_mark_devices_unavailable()
197 struct nfs_pgio_header *header = par->data; in bl_end_io_read()
212 struct nfs_pgio_header *hdr; in bl_read_cleanup()
215 hdr = container_of(task, struct nfs_pgio_header, task); in bl_read_cleanup()
222 struct nfs_pgio_header *hdr = data; in bl_end_par_io_read()
230 bl_read_pagelist(struct nfs_pgio_header *header) in bl_read_pagelist()
326 struct nfs_pgio_header *header = par->data; in bl_end_io_write()
344 struct nfs_pgio_header *hdr = in bl_write_cleanup()
345 container_of(task, struct nfs_pgio_header, task); in bl_write_cleanup()
366 struct nfs_pgio_header *hdr = data; in bl_end_par_io_write()
[all …]