Home
last modified time | relevance | path

Searched refs:nfs_pgio_header (Results 1 – 14 of 14) 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 Dlocalio.c38 struct nfs_pgio_header *hdr;
313 nfs_local_iocb_alloc(struct nfs_pgio_header *hdr, in nfs_local_iocb_alloc()
346 struct nfs_pgio_header *hdr = iocb->hdr; in nfs_is_local_dio_possible()
471 struct nfs_pgio_header *hdr = iocb->hdr; in nfs_local_iters_init()
515 nfs_local_hdr_release(struct nfs_pgio_header *hdr, in nfs_local_hdr_release()
523 nfs_local_pgio_init(struct nfs_pgio_header *hdr, in nfs_local_pgio_init()
533 struct nfs_pgio_header *hdr = iocb->hdr; in nfs_local_pgio_done()
558 struct nfs_pgio_header *hdr) in nfs_local_pgio_restart()
590 struct nfs_pgio_header *hdr = iocb->hdr; in nfs_local_pgio_release()
617 struct nfs_pgio_header *hdr = iocb->hdr; in nfs_local_read_done()
[all …]
H A Dinternal.h304 struct nfs_pgio_header *hdr,
305 void (*release)(struct nfs_pgio_header *hdr));
306 void nfs_set_pgio_error(struct nfs_pgio_header *hdr, int error, loff_t pos);
310 struct nfs_pgio_header *nfs_pgio_header_alloc(const struct nfs_rw_ops *);
311 void nfs_pgio_header_free(struct nfs_pgio_header *);
312 int nfs_generic_pgio(struct nfs_pageio_descriptor *, struct nfs_pgio_header *);
313 int nfs_initiate_pgio(struct rpc_clnt *clnt, struct nfs_pgio_header *hdr,
480 struct nfs_pgio_header *,
499 struct nfs_pgio_header *hdr, in nfs_local_doio()
578 extern bool nfs_read_alloc_scratch(struct nfs_pgio_header *hdr, size_t size);
[all …]
H A Dpnfs.h167 enum pnfs_try_status (*read_pagelist)(struct nfs_pgio_header *);
168 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()
899 int nfs_write_need_commit(struct nfs_pgio_header *hdr) in nfs_write_need_commit()
906 static void nfs_async_write_init(struct nfs_pgio_header *hdr) in nfs_async_write_init()
911 static void nfs_write_completion(struct nfs_pgio_header *hdr) in nfs_write_completion()
1348 static void nfs_initiate_write(struct nfs_pgio_header *hdr, in nfs_initiate_write()
1392 static void nfs_async_write_reschedule_io(struct nfs_pgio_header *hdr) in nfs_async_write_reschedule_io()
1444 static void nfs_writeback_check_extend(struct nfs_pgio_header *hdr, in nfs_writeback_check_extend()
1465 void nfs_writeback_update_inode(struct nfs_pgio_header *hdr) in nfs_writeback_update_inode()
[all …]
H A Dpnfs.c3003 int pnfs_write_done_resend_to_mds(struct nfs_pgio_header *hdr) in pnfs_write_done_resend_to_mds()
3014 static void pnfs_ld_handle_write_error(struct nfs_pgio_header *hdr) in pnfs_ld_handle_write_error()
3029 void pnfs_ld_write_done(struct nfs_pgio_header *hdr) in pnfs_ld_write_done()
3045 struct nfs_pgio_header *hdr) in pnfs_write_through_mds()
3058 pnfs_try_to_write_data(struct nfs_pgio_header *hdr, in pnfs_try_to_write_data()
3080 struct nfs_pgio_header *hdr, int how) in pnfs_do_write()
3104 static void pnfs_writehdr_free(struct nfs_pgio_header *hdr) in pnfs_writehdr_free()
3113 struct nfs_pgio_header *hdr; in pnfs_generic_pg_writepages()
3132 int pnfs_read_done_resend_to_mds(struct nfs_pgio_header *hdr) in pnfs_read_done_resend_to_mds()
3142 static void pnfs_ld_handle_read_error(struct nfs_pgio_header *hdr) in pnfs_ld_handle_read_error()
[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 Dnfstrace.h1221 const struct nfs_pgio_header *hdr
1260 const struct nfs_pgio_header *hdr
1306 const struct nfs_pgio_header *hdr
1352 const struct nfs_pgio_header *hdr,
1396 const struct nfs_pgio_header *hdr
1438 const struct nfs_pgio_header *hdr
H A Dnfs4trace.h1682 const struct nfs_pgio_header *hdr,
1745 const struct nfs_pgio_header *hdr, \
1754 const struct nfs_pgio_header *hdr,
1818 const struct nfs_pgio_header *hdr, \
2224 const struct nfs_pgio_header *hdr,
2281 const struct nfs_pgio_header *hdr, \
H A Dnfs42xdr.c1143 struct nfs_pgio_header *hdr = in decode_read_plus()
1144 container_of(res, struct nfs_pgio_header, res); in decode_read_plus()
H A Dnfs4proc.c5650 static int nfs4_read_done_cb(struct rpc_task *task, struct nfs_pgio_header *hdr) in nfs4_read_done_cb()
5691 struct nfs_pgio_header *hdr) in nfs4_read_plus_not_supported()
5706 static int nfs4_read_done(struct rpc_task *task, struct nfs_pgio_header *hdr) in nfs4_read_done()
5721 static bool nfs42_read_plus_support(struct nfs_pgio_header *hdr, in nfs42_read_plus_support()
5732 static bool nfs42_read_plus_support(struct nfs_pgio_header *hdr, in nfs42_read_plus_support()
5739 static void nfs4_proc_read_setup(struct nfs_pgio_header *hdr, in nfs4_proc_read_setup()
5752 struct nfs_pgio_header *hdr) in nfs4_proc_pgio_rpc_prepare()
5769 struct nfs_pgio_header *hdr) in nfs4_write_done_cb()
5811 static int nfs4_write_done(struct rpc_task *task, struct nfs_pgio_header *hdr) in nfs4_write_done()
5822 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/fs/nfs/flexfilelayout/
H A Dflexfilelayout.c43 struct nfs_pgio_header *hdr);
1239 static void ff_layout_reset_write(struct nfs_pgio_header *hdr, bool retry_pnfs) in ff_layout_reset_write()
1275 static void ff_layout_resend_pnfs_read(struct nfs_pgio_header *hdr) in ff_layout_resend_pnfs_read()
1291 static void ff_layout_reset_read(struct nfs_pgio_header *hdr) in ff_layout_reset_read()
1602 struct nfs_pgio_header *hdr) in ff_layout_read_done_cb()
1678 struct nfs_pgio_header *hdr) in ff_layout_read_record_layoutstats_start()
1701 struct nfs_pgio_header *hdr) in ff_layout_read_record_layoutstats_done()
1725 struct nfs_pgio_header *hdr) in ff_layout_read_prepare_common()
1748 struct nfs_pgio_header *hdr = data; in ff_layout_read_prepare_v3()
1758 struct nfs_pgio_header *hdr = data; in ff_layout_read_prepare_v4()
[all …]
/linux/include/linux/
H A Dnfs_xdr.h1657 struct nfs_pgio_header { struct
1667 void (*release) (struct nfs_pgio_header *hdr); argument
1690 int (*pgio_done_cb)(struct rpc_task *, struct nfs_pgio_header *); argument
1744 void (*init_hdr)(struct nfs_pgio_header *hdr);
1745 void (*completion)(struct nfs_pgio_header *hdr);
1746 void (*reschedule_io)(struct nfs_pgio_header *hdr);
1838 struct nfs_pgio_header *);
1839 void (*read_setup)(struct nfs_pgio_header *, struct rpc_message *);
1840 int (*read_done)(struct rpc_task *, struct nfs_pgio_header *);
1841 void (*write_setup)(struct nfs_pgio_header *, struct rpc_message *,
[all …]