Home
last modified time | relevance | path

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

/linux/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()
114 bool nfs_read_alloc_scratch(struct nfs_pgio_header *hdr, size_t size) in nfs_read_alloc_scratch()
139 static void nfs_read_completion(struct nfs_pgio_header *hdr) in nfs_read_completion()
189 static void nfs_initiate_read(struct nfs_pgio_header *hdr, in nfs_initiate_read()
221 struct nfs_pgio_header *hdr, in nfs_readpage_done()
239 struct nfs_pgio_header *hdr) in nfs_readpage_retry()
271 struct nfs_pgio_header *hdr) in nfs_readpage_result()
456 sizeof(struct nfs_pgio_header), in nfs_init_readpagecache()
H A Dlocalio.c36 struct nfs_pgio_header *hdr;
310 nfs_local_iocb_alloc(struct nfs_pgio_header *hdr, in nfs_local_iocb_alloc()
343 struct nfs_pgio_header *hdr = iocb->hdr; in nfs_local_iter_init()
352 nfs_local_hdr_release(struct nfs_pgio_header *hdr, in nfs_local_hdr_release()
360 nfs_local_pgio_init(struct nfs_pgio_header *hdr, in nfs_local_pgio_init()
369 nfs_local_pgio_done(struct nfs_pgio_header *hdr, long status) in nfs_local_pgio_done()
384 struct nfs_pgio_header *hdr = iocb->hdr; in nfs_local_pgio_release()
406 struct nfs_pgio_header *hdr = iocb->hdr; in nfs_local_read_done()
465 nfs_do_local_read(struct nfs_pgio_header *hdr, in nfs_do_local_read()
564 struct nfs_pgio_header *hdr = iocb->hdr; in nfs_local_vfs_getattr()
[all …]
H A Dinternal.h301 struct nfs_pgio_header *hdr,
302 void (*release)(struct nfs_pgio_header *hdr));
303 void nfs_set_pgio_error(struct nfs_pgio_header *hdr, int error, loff_t pos);
307 struct nfs_pgio_header *nfs_pgio_header_alloc(const struct nfs_rw_ops *);
308 void nfs_pgio_header_free(struct nfs_pgio_header *);
309 int nfs_generic_pgio(struct nfs_pageio_descriptor *, struct nfs_pgio_header *);
310 int nfs_initiate_pgio(struct rpc_clnt *clnt, struct nfs_pgio_header *hdr,
466 struct nfs_pgio_header *,
485 struct nfs_pgio_header *hdr, in nfs_local_doio()
553 extern bool nfs_read_alloc_scratch(struct nfs_pgio_header *hdr, size_t size);
[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 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.c2966 int pnfs_write_done_resend_to_mds(struct nfs_pgio_header *hdr) in pnfs_write_done_resend_to_mds()
2977 static void pnfs_ld_handle_write_error(struct nfs_pgio_header *hdr) in pnfs_ld_handle_write_error()
2992 void pnfs_ld_write_done(struct nfs_pgio_header *hdr) in pnfs_ld_write_done()
3008 struct nfs_pgio_header *hdr) in pnfs_write_through_mds()
3021 pnfs_try_to_write_data(struct nfs_pgio_header *hdr, in pnfs_try_to_write_data()
3043 struct nfs_pgio_header *hdr, int how) in pnfs_do_write()
3067 static void pnfs_writehdr_free(struct nfs_pgio_header *hdr) in pnfs_writehdr_free()
3076 struct nfs_pgio_header *hdr; in pnfs_generic_pg_writepages()
3095 int pnfs_read_done_resend_to_mds(struct nfs_pgio_header *hdr) in pnfs_read_done_resend_to_mds()
3105 static void pnfs_ld_handle_read_error(struct nfs_pgio_header *hdr) in pnfs_ld_handle_read_error()
[all …]
H A Dnfstrace.h1132 const struct nfs_pgio_header *hdr
1171 const struct nfs_pgio_header *hdr
1217 const struct nfs_pgio_header *hdr
1263 const struct nfs_pgio_header *hdr,
1307 const struct nfs_pgio_header *hdr
1349 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.h1639 const struct nfs_pgio_header *hdr,
1702 const struct nfs_pgio_header *hdr, \
1713 const struct nfs_pgio_header *hdr,
1777 const struct nfs_pgio_header *hdr, \
2186 const struct nfs_pgio_header *hdr,
2243 const struct nfs_pgio_header *hdr, \
H A Dnfs42xdr.c1140 struct nfs_pgio_header *hdr = in decode_read_plus()
1141 container_of(res, struct nfs_pgio_header, res); in decode_read_plus()
H A Dnfs4proc.c5583 static int nfs4_read_done_cb(struct rpc_task *task, struct nfs_pgio_header *hdr) in nfs4_read_done_cb()
5622 struct nfs_pgio_header *hdr) in nfs4_read_plus_not_supported()
5637 static int nfs4_read_done(struct rpc_task *task, struct nfs_pgio_header *hdr) in nfs4_read_done()
5652 static bool nfs42_read_plus_support(struct nfs_pgio_header *hdr, in nfs42_read_plus_support()
5663 static bool nfs42_read_plus_support(struct nfs_pgio_header *hdr, in nfs42_read_plus_support()
5670 static void nfs4_proc_read_setup(struct nfs_pgio_header *hdr, in nfs4_proc_read_setup()
5682 struct nfs_pgio_header *hdr) in nfs4_proc_pgio_rpc_prepare()
5699 struct nfs_pgio_header *hdr) in nfs4_write_done_cb()
5739 static int nfs4_write_done(struct rpc_task *task, struct nfs_pgio_header *hdr) in nfs4_write_done()
5750 bool nfs4_write_need_cache_consistency_data(struct nfs_pgio_header *hdr) in nfs4_write_need_cache_consistency_data()
[all …]
H A Dpnfs_nfs.c26 struct nfs_pgio_header *hdr = data; in pnfs_generic_rw_release()
/linux/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.h1643 struct nfs_pgio_header { struct
1653 void (*release) (struct nfs_pgio_header *hdr); argument
1675 int (*pgio_done_cb)(struct rpc_task *, struct nfs_pgio_header *); argument
1729 void (*init_hdr)(struct nfs_pgio_header *hdr);
1730 void (*completion)(struct nfs_pgio_header *hdr);
1731 void (*reschedule_io)(struct nfs_pgio_header *hdr);
1823 struct nfs_pgio_header *);
1824 void (*read_setup)(struct nfs_pgio_header *, struct rpc_message *);
1825 int (*read_done)(struct rpc_task *, struct nfs_pgio_header *);
1826 void (*write_setup)(struct nfs_pgio_header *, struct rpc_message *,
[all …]
/linux/fs/nfs/filelayout/
H A 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/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/fs/nfs/flexfilelayout/
H A Dflexfilelayout.c43 struct nfs_pgio_header *hdr);
1035 static void ff_layout_reset_write(struct nfs_pgio_header *hdr, bool retry_pnfs) in ff_layout_reset_write()
1071 static void ff_layout_resend_pnfs_read(struct nfs_pgio_header *hdr) in ff_layout_resend_pnfs_read()
1083 static void ff_layout_reset_read(struct nfs_pgio_header *hdr) in ff_layout_reset_read()
1372 struct nfs_pgio_header *hdr) in ff_layout_read_done_cb()
1441 struct nfs_pgio_header *hdr) in ff_layout_read_record_layoutstats_start()
1452 struct nfs_pgio_header *hdr) in ff_layout_read_record_layoutstats_done()
1464 struct nfs_pgio_header *hdr) in ff_layout_read_prepare_common()
1487 struct nfs_pgio_header *hdr = data; in ff_layout_read_prepare_v3()
1497 struct nfs_pgio_header *hdr = data; in ff_layout_read_prepare_v4()
[all …]