Home
last modified time | relevance | path

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

/linux-6.15/fs/nfs/
H A 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()
H A Dread.c40 static struct nfs_pgio_header *nfs_readhdr_alloc(void) in nfs_readhdr_alloc()
42 struct nfs_pgio_header *p = kmem_cache_zalloc(nfs_rdata_cachep, GFP_KERNEL); in nfs_readhdr_alloc()
49 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()
138 static void nfs_read_completion(struct nfs_pgio_header *hdr) in nfs_read_completion()
188 static void nfs_initiate_read(struct nfs_pgio_header *hdr, in nfs_initiate_read()
220 struct nfs_pgio_header *hdr, in nfs_readpage_done()
238 struct nfs_pgio_header *hdr) in nfs_readpage_retry()
270 struct nfs_pgio_header *hdr) in nfs_readpage_result()
455 sizeof(struct nfs_pgio_header), in nfs_init_readpagecache()
H A Dlocalio.c36 struct nfs_pgio_header *hdr;
325 nfs_local_iocb_alloc(struct nfs_pgio_header *hdr, in nfs_local_iocb_alloc()
358 struct nfs_pgio_header *hdr = iocb->hdr; in nfs_local_iter_init()
375 nfs_local_pgio_init(struct nfs_pgio_header *hdr, in nfs_local_pgio_init()
399 struct nfs_pgio_header *hdr = iocb->hdr; in nfs_local_pgio_release()
421 struct nfs_pgio_header *hdr = iocb->hdr; in nfs_local_read_done()
480 nfs_do_local_read(struct nfs_pgio_header *hdr, in nfs_do_local_read()
580 struct nfs_pgio_header *hdr = iocb->hdr; in nfs_local_vfs_getattr()
611 struct nfs_pgio_header *hdr = iocb->hdr; in nfs_local_write_done()
678 nfs_do_local_write(struct nfs_pgio_header *hdr, in nfs_do_local_write()
[all …]
H A Dinternal.h302 struct nfs_pgio_header *hdr,
303 void (*release)(struct nfs_pgio_header *hdr));
304 void nfs_set_pgio_error(struct nfs_pgio_header *hdr, int error, loff_t pos);
308 struct nfs_pgio_header *nfs_pgio_header_alloc(const struct nfs_rw_ops *);
309 void nfs_pgio_header_free(struct nfs_pgio_header *);
311 int nfs_initiate_pgio(struct rpc_clnt *clnt, struct nfs_pgio_header *hdr,
468 struct nfs_pgio_header *,
487 struct nfs_pgio_header *hdr, in nfs_local_doio()
555 extern bool nfs_read_alloc_scratch(struct nfs_pgio_header *hdr, size_t size);
597 int nfs_write_need_commit(struct nfs_pgio_header *);
[all …]
H A Dpagelist.c96 struct nfs_pgio_header *hdr, in nfs_pgheader_init()
97 void (*release)(struct nfs_pgio_header *hdr)) in nfs_pgheader_init()
636 struct nfs_pgio_header *hdr = ops->rw_alloc_header(); in nfs_pgio_header_alloc()
666 void nfs_pgio_header_free(struct nfs_pgio_header *hdr) in nfs_pgio_header_free()
725 struct nfs_pgio_header *hdr = calldata; in nfs_pgio_prepare()
781 static void nfs_pgio_error(struct nfs_pgio_header *hdr) in nfs_pgio_error()
793 struct nfs_pgio_header *hdr = calldata; in nfs_pgio_release()
855 struct nfs_pgio_header *hdr = calldata; in nfs_pgio_result()
875 struct nfs_pgio_header *hdr) in nfs_generic_pgio()
949 struct nfs_pgio_header *hdr; in nfs_generic_pg_pgios()
[all …]
H A Dpnfs.h166 enum pnfs_try_status (*read_pagelist)(struct nfs_pgio_header *);
167 enum pnfs_try_status (*write_pagelist)(struct nfs_pgio_header *, int);
323 void pnfs_ld_write_done(struct nfs_pgio_header *);
324 void pnfs_ld_read_done(struct nfs_pgio_header *);
325 void pnfs_read_resend_pnfs(struct nfs_pgio_header *, unsigned int mirror_idx);
350 int pnfs_read_done_resend_to_mds(struct nfs_pgio_header *);
351 int pnfs_write_done_resend_to_mds(struct nfs_pgio_header *);
H A Dwrite.c94 static struct nfs_pgio_header *nfs_writehdr_alloc(void) in nfs_writehdr_alloc()
96 struct nfs_pgio_header *p; in nfs_writehdr_alloc()
109 static void nfs_writehdr_free(struct nfs_pgio_header *hdr) in nfs_writehdr_free()
959 int nfs_write_need_commit(struct nfs_pgio_header *hdr) in nfs_write_need_commit()
966 static void nfs_async_write_init(struct nfs_pgio_header *hdr) in nfs_async_write_init()
971 static void nfs_write_completion(struct nfs_pgio_header *hdr) in nfs_write_completion()
1395 static void nfs_initiate_write(struct nfs_pgio_header *hdr, in nfs_initiate_write()
1512 void nfs_writeback_update_inode(struct nfs_pgio_header *hdr) in nfs_writeback_update_inode()
1535 struct nfs_pgio_header *hdr, in nfs_writeback_done()
1601 struct nfs_pgio_header *hdr) in nfs_writeback_result()
[all …]
H A Dproc.c602 static int nfs_read_done(struct rpc_task *task, struct nfs_pgio_header *hdr) in nfs_read_done()
619 static void nfs_proc_read_setup(struct nfs_pgio_header *hdr, in nfs_proc_read_setup()
626 struct nfs_pgio_header *hdr) in nfs_proc_pgio_rpc_prepare()
632 static int nfs_write_done(struct rpc_task *task, struct nfs_pgio_header *hdr) in nfs_write_done()
641 static void nfs_proc_write_setup(struct nfs_pgio_header *hdr, in nfs_proc_write_setup()
H A Ddirect.c87 const struct nfs_pgio_header *hdr, in nfs_direct_handle_truncated()
105 const struct nfs_pgio_header *hdr) in nfs_direct_count_bytes()
276 static void nfs_direct_read_completion(struct nfs_pgio_header *hdr) in nfs_direct_read_completion()
320 static void nfs_direct_pgio_init(struct nfs_pgio_header *hdr) in nfs_direct_pgio_init()
756 static void nfs_direct_write_completion(struct nfs_pgio_header *hdr) in nfs_direct_write_completion()
822 static void nfs_direct_write_reschedule_io(struct nfs_pgio_header *hdr) in nfs_direct_write_reschedule_io()
H A Dpnfs.c2998 void pnfs_ld_write_done(struct nfs_pgio_header *hdr) in pnfs_ld_write_done()
3014 struct nfs_pgio_header *hdr) in pnfs_write_through_mds()
3027 pnfs_try_to_write_data(struct nfs_pgio_header *hdr, in pnfs_try_to_write_data()
3049 struct nfs_pgio_header *hdr, int how) in pnfs_do_write()
3082 struct nfs_pgio_header *hdr; in pnfs_generic_pg_writepages()
3125 void pnfs_ld_read_done(struct nfs_pgio_header *hdr) in pnfs_ld_read_done()
3138 struct nfs_pgio_header *hdr) in pnfs_read_through_mds()
3154 pnfs_try_to_read_data(struct nfs_pgio_header *hdr, in pnfs_try_to_read_data()
3175 void pnfs_read_resend_pnfs(struct nfs_pgio_header *hdr, in pnfs_read_resend_pnfs()
3218 static void pnfs_readhdr_free(struct nfs_pgio_header *hdr) in pnfs_readhdr_free()
[all …]
H A Dfscache.c337 void nfs_netfs_initiate_read(struct nfs_pgio_header *hdr) in nfs_netfs_initiate_read()
360 void nfs_netfs_read_completion(struct nfs_pgio_header *hdr) in nfs_netfs_read_completion()
H A Dnfs3proc.c884 static int nfs3_read_done(struct rpc_task *task, struct nfs_pgio_header *hdr) in nfs3_read_done()
906 static void nfs3_proc_read_setup(struct nfs_pgio_header *hdr, in nfs3_proc_read_setup()
914 struct nfs_pgio_header *hdr) in nfs3_proc_pgio_rpc_prepare()
920 static int nfs3_write_done(struct rpc_task *task, struct nfs_pgio_header *hdr) in nfs3_write_done()
936 static void nfs3_proc_write_setup(struct nfs_pgio_header *hdr, in nfs3_proc_write_setup()
H A Dnfstrace.h1127 const struct nfs_pgio_header *hdr
1166 const struct nfs_pgio_header *hdr
1212 const struct nfs_pgio_header *hdr
1258 const struct nfs_pgio_header *hdr,
1302 const struct nfs_pgio_header *hdr
1344 const struct nfs_pgio_header *hdr
H A Dnfs4_fs.h415 struct rpc_message *msg, struct nfs_pgio_header *hdr) in nfs4_state_protect_write()
442 struct rpc_message *msg, struct nfs_pgio_header *hdr) in nfs4_state_protect_write()
H A Dnfs4trace.h1507 const struct nfs_pgio_header *hdr,
1570 const struct nfs_pgio_header *hdr, \
1581 const struct nfs_pgio_header *hdr,
1645 const struct nfs_pgio_header *hdr, \
2054 const struct nfs_pgio_header *hdr,
2111 const struct nfs_pgio_header *hdr, \
H A Dnfs42xdr.c1107 struct nfs_pgio_header *hdr = in decode_read_plus()
1108 container_of(res, struct nfs_pgio_header, res); in decode_read_plus()
H A Dnfs4proc.c5573 static int nfs4_read_done_cb(struct rpc_task *task, struct nfs_pgio_header *hdr) in nfs4_read_done_cb()
5612 struct nfs_pgio_header *hdr) in nfs4_read_plus_not_supported()
5627 static int nfs4_read_done(struct rpc_task *task, struct nfs_pgio_header *hdr) in nfs4_read_done()
5642 static bool nfs42_read_plus_support(struct nfs_pgio_header *hdr, in nfs42_read_plus_support()
5653 static bool nfs42_read_plus_support(struct nfs_pgio_header *hdr, in nfs42_read_plus_support()
5660 static void nfs4_proc_read_setup(struct nfs_pgio_header *hdr, in nfs4_proc_read_setup()
5672 struct nfs_pgio_header *hdr) in nfs4_proc_pgio_rpc_prepare()
5689 struct nfs_pgio_header *hdr) in nfs4_write_done_cb()
5729 static int nfs4_write_done(struct rpc_task *task, struct nfs_pgio_header *hdr) in nfs4_write_done()
5740 bool nfs4_write_need_cache_consistency_data(struct nfs_pgio_header *hdr) in nfs4_write_need_cache_consistency_data()
[all …]
H A Dpnfs_nfs.c25 struct nfs_pgio_header *hdr = data; in pnfs_generic_rw_release()
/linux-6.15/include/linux/
H A 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 *);
H A Dnfs_xdr.h1640 struct nfs_pgio_header { struct
1650 void (*release) (struct nfs_pgio_header *hdr); argument
1672 int (*pgio_done_cb)(struct rpc_task *, struct nfs_pgio_header *); argument
1726 void (*init_hdr)(struct nfs_pgio_header *hdr);
1727 void (*completion)(struct nfs_pgio_header *hdr);
1728 void (*reschedule_io)(struct nfs_pgio_header *hdr);
1820 struct nfs_pgio_header *);
1821 void (*read_setup)(struct nfs_pgio_header *, struct rpc_message *);
1822 int (*read_done)(struct rpc_task *, struct nfs_pgio_header *);
1823 void (*write_setup)(struct nfs_pgio_header *, struct rpc_message *,
[all …]
/linux-6.15/fs/nfs/filelayout/
H A Dfilelayout.c106 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()
406 struct nfs_pgio_header *hdr = data; in filelayout_write_count_stats()
[all …]
/linux-6.15/fs/nfs/blocklayout/
H A 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 …]
/linux-6.15/fs/nfs/flexfilelayout/
H A Dflexfilelayout.c43 struct nfs_pgio_header *hdr);
1323 struct nfs_pgio_header *hdr) in ff_layout_read_done_cb()
1391 struct nfs_pgio_header *hdr) in ff_layout_read_record_layoutstats_start()
1402 struct nfs_pgio_header *hdr) in ff_layout_read_record_layoutstats_done()
1414 struct nfs_pgio_header *hdr) in ff_layout_read_prepare_common()
1437 struct nfs_pgio_header *hdr = data; in ff_layout_read_prepare_v3()
1447 struct nfs_pgio_header *hdr = data; in ff_layout_read_prepare_v4()
1495 struct nfs_pgio_header *hdr) in ff_layout_write_done_cb()
1582 struct nfs_pgio_header *hdr) in ff_layout_write_record_layoutstats_start()
1593 struct nfs_pgio_header *hdr) in ff_layout_write_record_layoutstats_done()
[all …]