/linux/fs/nfs/ |
H A D | fscache.h | 85 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 D | read.c | 40 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 D | pagelist.c | 96 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() 634 struct nfs_pgio_header *nfs_pgio_header_alloc(const struct nfs_rw_ops *ops) in nfs_pgio_header_alloc() 636 struct nfs_pgio_header *hdr = ops->rw_alloc_header(); in nfs_pgio_header_alloc() 654 static void nfs_pgio_data_destroy(struct nfs_pgio_header *hdr) in nfs_pgio_data_destroy() 666 void nfs_pgio_header_free(struct nfs_pgio_header *hdr) in nfs_pgio_header_free() 681 static void nfs_pgio_rpcsetup(struct nfs_pgio_header *hdr, unsigned int pgbase, in nfs_pgio_rpcsetup() 725 struct nfs_pgio_header *hdr = calldata; in nfs_pgio_prepare() 732 int nfs_initiate_pgio(struct rpc_clnt *clnt, struct nfs_pgio_header *hd [all...] |
H A D | pnfs.h | 165 enum pnfs_try_status (*read_pagelist)(struct nfs_pgio_header *); 166 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 D | proc.c | 598 static int nfs_read_done(struct rpc_task *task, struct nfs_pgio_header *hdr) in nfs_read_done() 615 static void nfs_proc_read_setup(struct nfs_pgio_header *hdr, in nfs_proc_read_setup() 622 struct nfs_pgio_header *hdr) in nfs_proc_pgio_rpc_prepare() 628 static int nfs_write_done(struct rpc_task *task, struct nfs_pgio_header *hdr) in nfs_write_done() 637 static void nfs_proc_write_setup(struct nfs_pgio_header *hdr, in nfs_proc_write_setup()
|
H A D | direct.c | 87 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 D | pnfs.c | 2955 int pnfs_write_done_resend_to_mds(struct nfs_pgio_header *hdr) in pnfs_write_done_resend_to_mds() 2966 static void pnfs_ld_handle_write_error(struct nfs_pgio_header *hdr) in pnfs_ld_handle_write_error() 2981 void pnfs_ld_write_done(struct nfs_pgio_header *hdr) in pnfs_ld_write_done() 2997 struct nfs_pgio_header *hdr) in pnfs_write_through_mds() 3010 pnfs_try_to_write_data(struct nfs_pgio_header *hdr, in pnfs_try_to_write_data() 3032 struct nfs_pgio_header *hdr, int how) in pnfs_do_write() 3056 static void pnfs_writehdr_free(struct nfs_pgio_header *hdr) in pnfs_writehdr_free() 3065 struct nfs_pgio_header *hdr; in pnfs_generic_pg_writepages() 3084 int pnfs_read_done_resend_to_mds(struct nfs_pgio_header *hdr) in pnfs_read_done_resend_to_mds() 3094 static void pnfs_ld_handle_read_error(struct nfs_pgio_header *hdr) in pnfs_ld_handle_read_error() [all …]
|
H A D | fscache.c | 337 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 D | nfs3proc.c | 881 static int nfs3_read_done(struct rpc_task *task, struct nfs_pgio_header *hdr) in nfs3_read_done() 903 static void nfs3_proc_read_setup(struct nfs_pgio_header *hdr, in nfs3_proc_read_setup() 911 struct nfs_pgio_header *hdr) in nfs3_proc_pgio_rpc_prepare() 917 static int nfs3_write_done(struct rpc_task *task, struct nfs_pgio_header *hdr) in nfs3_write_done() 933 static void nfs3_proc_write_setup(struct nfs_pgio_header *hdr, in nfs3_proc_write_setup()
|
H A D | nfstrace.h | 1127 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 D | nfs4_fs.h | 415 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 D | nfs4trace.h | 1507 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 2106 const struct nfs_pgio_header *hdr \
|
H A D | nfs42xdr.c | 1047 struct nfs_pgio_header *hdr = in decode_read_plus() 1048 container_of(res, struct nfs_pgio_header, res); in decode_read_plus()
|
H A D | nfs4proc.c | 5539 static int nfs4_read_done_cb(struct rpc_task *task, struct nfs_pgio_header *hdr) in nfs4_read_done_cb() 5578 struct nfs_pgio_header *hdr) in nfs4_read_plus_not_supported() 5593 static int nfs4_read_done(struct rpc_task *task, struct nfs_pgio_header *hdr) in nfs4_read_done() 5608 static bool nfs42_read_plus_support(struct nfs_pgio_header *hdr, in nfs42_read_plus_support() 5619 static bool nfs42_read_plus_support(struct nfs_pgio_header *hdr, in nfs42_read_plus_support() 5626 static void nfs4_proc_read_setup(struct nfs_pgio_header *hdr, in nfs4_proc_read_setup() 5638 struct nfs_pgio_header *hdr) in nfs4_proc_pgio_rpc_prepare() 5655 struct nfs_pgio_header *hdr) in nfs4_write_done_cb() 5695 static int nfs4_write_done(struct rpc_task *task, struct nfs_pgio_header *hdr) in nfs4_write_done() 5706 bool nfs4_write_need_cache_consistency_data(struct nfs_pgio_header *hdr) in nfs4_write_need_cache_consistency_data() [all …]
|
H A D | pnfs_nfs.c | 24 struct nfs_pgio_header *hdr = data; in pnfs_generic_rw_release()
|
/linux/include/linux/ |
H A D | nfs_page.h | 78 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 D | nfs_xdr.h | 1639 struct nfs_pgio_header { struct 1649 void (*release) (struct nfs_pgio_header *hdr); argument 1671 int (*pgio_done_cb)(struct rpc_task *, struct nfs_pgio_header *); argument 1725 void (*init_hdr)(struct nfs_pgio_header *hdr); 1726 void (*completion)(struct nfs_pgio_header *hdr); 1727 void (*reschedule_io)(struct nfs_pgio_header *hdr); 1819 struct nfs_pgio_header *); 1820 void (*read_setup)(struct nfs_pgio_header *, struct rpc_message *); 1821 int (*read_done)(struct rpc_task *, struct nfs_pgio_header *); 1822 void (*write_setup)(struct nfs_pgio_header *, struct rpc_message *, [all …]
|
/linux/fs/nfs/filelayout/ |
H A D | filelayout.c | 89 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 D | blocklayout.c | 169 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 D | flexfilelayout.c | 43 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_reset_read() 1083 static void ff_layout_reset_read(struct nfs_pgio_header *hdr) in ff_layout_reset_read() 1312 struct nfs_pgio_header *hdr) in ff_layout_read_done_cb() 1377 struct nfs_pgio_header *hdr) in ff_layout_read_record_layoutstats_done() 1388 struct nfs_pgio_header *hdr) in ff_layout_read_prepare_common() 1400 struct nfs_pgio_header *hdr) 1423 struct nfs_pgio_header *hdr = data; in ff_layout_read_prepare_v4() 1433 struct nfs_pgio_header *hd in ff_layout_read_call_done() [all...] |