Home
last modified time | relevance | path

Searched refs:nfs_pgio_header (Results 1 – 16 of 16) 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;
314 nfs_local_iocb_alloc(struct nfs_pgio_header *hdr, in nfs_local_iocb_alloc()
347 struct nfs_pgio_header *hdr = iocb->hdr; in nfs_is_local_dio_possible()
472 struct nfs_pgio_header *hdr = iocb->hdr; in nfs_local_iters_init()
516 nfs_local_hdr_release(struct nfs_pgio_header *hdr, in nfs_local_hdr_release()
524 nfs_local_pgio_init(struct nfs_pgio_header *hdr, in nfs_local_pgio_init()
534 struct nfs_pgio_header *hdr = iocb->hdr; in nfs_local_pgio_done()
559 struct nfs_pgio_header *hdr) in nfs_local_pgio_restart()
591 struct nfs_pgio_header *hdr = iocb->hdr; in nfs_local_pgio_release()
618 struct nfs_pgio_header *hdr = iocb->hdr; in nfs_local_read_done()
[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()
119 void nfs_set_pgio_error(struct nfs_pgio_header *hdr, int error, loff_t pos) in nfs_set_pgio_error()
635 struct nfs_pgio_header *nfs_pgio_header_alloc(const struct nfs_rw_ops *ops) in nfs_pgio_header_alloc()
637 struct nfs_pgio_header *hdr = ops->rw_alloc_header(); in nfs_pgio_header_alloc()
655 static void nfs_pgio_data_destroy(struct nfs_pgio_header *hdr) in nfs_pgio_data_destroy()
667 void nfs_pgio_header_free(struct nfs_pgio_header *hdr) in nfs_pgio_header_free()
682 static void nfs_pgio_rpcsetup(struct nfs_pgio_header *hdr, unsigned int pgbase, in nfs_pgio_rpcsetup()
726 struct nfs_pgio_header *hdr = calldata; in nfs_pgio_prepare()
733 int nfs_initiate_pgio(struct rpc_clnt *clnt, struct nfs_pgio_header *hdr, in nfs_initiate_pgio()
[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 *);
310 int nfs_generic_pgio(struct nfs_pageio_descriptor *, struct nfs_pgio_header *);
311 int nfs_initiate_pgio(struct rpc_clnt *clnt, struct nfs_pgio_header *hdr,
475 struct nfs_pgio_header *,
494 struct nfs_pgio_header *hdr, in nfs_local_doio()
572 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);
322 void pnfs_ld_write_done(struct nfs_pgio_header *);
323 void pnfs_ld_read_done(struct nfs_pgio_header *);
324 void pnfs_read_resend_pnfs(struct nfs_pgio_header *, unsigned int mirror_idx);
349 int pnfs_read_done_resend_to_mds(struct nfs_pgio_header *);
350 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()
896 int nfs_write_need_commit(struct nfs_pgio_header *hdr) in nfs_write_need_commit()
903 static void nfs_async_write_init(struct nfs_pgio_header *hdr) in nfs_async_write_init()
908 static void nfs_write_completion(struct nfs_pgio_header *hdr) in nfs_write_completion()
1345 static void nfs_initiate_write(struct nfs_pgio_header *hdr, in nfs_initiate_write()
1389 static void nfs_async_write_reschedule_io(struct nfs_pgio_header *hdr) in nfs_async_write_reschedule_io()
1441 static void nfs_writeback_check_extend(struct nfs_pgio_header *hdr, in nfs_writeback_check_extend()
1462 void nfs_writeback_update_inode(struct nfs_pgio_header *hdr) in nfs_writeback_update_inode()
[all …]
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.c3004 int pnfs_write_done_resend_to_mds(struct nfs_pgio_header *hdr) in pnfs_write_done_resend_to_mds()
3015 static void pnfs_ld_handle_write_error(struct nfs_pgio_header *hdr) in pnfs_ld_handle_write_error()
3030 void pnfs_ld_write_done(struct nfs_pgio_header *hdr) in pnfs_ld_write_done()
3046 struct nfs_pgio_header *hdr) in pnfs_write_through_mds()
3059 pnfs_try_to_write_data(struct nfs_pgio_header *hdr, in pnfs_try_to_write_data()
3081 struct nfs_pgio_header *hdr, int how) in pnfs_do_write()
3105 static void pnfs_writehdr_free(struct nfs_pgio_header *hdr) in pnfs_writehdr_free()
3114 struct nfs_pgio_header *hdr; in pnfs_generic_pg_writepages()
3133 int pnfs_read_done_resend_to_mds(struct nfs_pgio_header *hdr) in pnfs_read_done_resend_to_mds()
3143 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 Dnfs3proc.c891 static int nfs3_read_done(struct rpc_task *task, struct nfs_pgio_header *hdr) in nfs3_read_done()
913 static void nfs3_proc_read_setup(struct nfs_pgio_header *hdr, in nfs3_proc_read_setup()
921 struct nfs_pgio_header *hdr) in nfs3_proc_pgio_rpc_prepare()
927 static int nfs3_write_done(struct rpc_task *task, struct nfs_pgio_header *hdr) in nfs3_write_done()
943 static void nfs3_proc_write_setup(struct nfs_pgio_header *hdr, in nfs3_proc_write_setup()
H A Dnfstrace.h1220 const struct nfs_pgio_header *hdr
1259 const struct nfs_pgio_header *hdr
1305 const struct nfs_pgio_header *hdr
1351 const struct nfs_pgio_header *hdr,
1395 const struct nfs_pgio_header *hdr
1437 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.c5601 static int nfs4_read_done_cb(struct rpc_task *task, struct nfs_pgio_header *hdr) in nfs4_read_done_cb()
5642 struct nfs_pgio_header *hdr) in nfs4_read_plus_not_supported()
5657 static int nfs4_read_done(struct rpc_task *task, struct nfs_pgio_header *hdr) in nfs4_read_done()
5672 static bool nfs42_read_plus_support(struct nfs_pgio_header *hdr, in nfs42_read_plus_support()
5683 static bool nfs42_read_plus_support(struct nfs_pgio_header *hdr, in nfs42_read_plus_support()
5690 static void nfs4_proc_read_setup(struct nfs_pgio_header *hdr, in nfs4_proc_read_setup()
5703 struct nfs_pgio_header *hdr) in nfs4_proc_pgio_rpc_prepare()
5720 struct nfs_pgio_header *hdr) in nfs4_write_done_cb()
5762 static int nfs4_write_done(struct rpc_task *task, struct nfs_pgio_header *hdr) in nfs4_write_done()
5773 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 *,
147 struct nfs_pgio_header *);
H A Dnfs_xdr.h1650 struct nfs_pgio_header { struct
1660 void (*release) (struct nfs_pgio_header *hdr); argument
1683 int (*pgio_done_cb)(struct rpc_task *, struct nfs_pgio_header *); argument
1737 void (*init_hdr)(struct nfs_pgio_header *hdr);
1738 void (*completion)(struct nfs_pgio_header *hdr);
1739 void (*reschedule_io)(struct nfs_pgio_header *hdr);
1832 struct nfs_pgio_header *);
1833 void (*read_setup)(struct nfs_pgio_header *, struct rpc_message *);
1834 int (*read_done)(struct rpc_task *, struct nfs_pgio_header *);
1835 void (*write_setup)(struct nfs_pgio_header *, struct rpc_message *,
[all …]