Home
last modified time | relevance | path

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

/Linux-v4.19/include/linux/
Dnfs_page.h70 struct nfs_pgio_header *(*rw_alloc_header)(void);
71 void (*rw_free_header)(struct nfs_pgio_header *);
72 int (*rw_done)(struct rpc_task *, struct nfs_pgio_header *,
74 void (*rw_result)(struct rpc_task *, struct nfs_pgio_header *);
75 void (*rw_initiate)(struct nfs_pgio_header *, struct rpc_message *,
133 struct nfs_pgio_header *);
Dnfs_xdr.h1459 struct nfs_pgio_header { struct
1469 void (*release) (struct nfs_pgio_header *hdr); argument
1489 int (*pgio_done_cb)(struct rpc_task *, struct nfs_pgio_header *); argument
1543 void (*init_hdr)(struct nfs_pgio_header *hdr);
1544 void (*completion)(struct nfs_pgio_header *hdr);
1545 void (*reschedule_io)(struct nfs_pgio_header *hdr);
1640 struct nfs_pgio_header *);
1641 void (*read_setup)(struct nfs_pgio_header *, struct rpc_message *);
1642 int (*read_done)(struct rpc_task *, struct nfs_pgio_header *);
1643 void (*write_setup)(struct nfs_pgio_header *, struct rpc_message *,
[all …]
/Linux-v4.19/fs/nfs/
Dread.c37 static struct nfs_pgio_header *nfs_readhdr_alloc(void) in nfs_readhdr_alloc()
39 struct nfs_pgio_header *p = kmem_cache_zalloc(nfs_rdata_cachep, GFP_KERNEL); in nfs_readhdr_alloc()
46 static void nfs_readhdr_free(struct nfs_pgio_header *rhdr) in nfs_readhdr_free()
152 static void nfs_read_completion(struct nfs_pgio_header *hdr) in nfs_read_completion()
194 static void nfs_initiate_read(struct nfs_pgio_header *hdr, in nfs_initiate_read()
229 struct nfs_pgio_header *hdr, in nfs_readpage_done()
248 struct nfs_pgio_header *hdr) in nfs_readpage_retry()
276 struct nfs_pgio_header *hdr) in nfs_readpage_result()
447 sizeof(struct nfs_pgio_header), in nfs_init_readpagecache()
Dpagelist.c42 struct nfs_pgio_header *hdr, in nfs_pgheader_init()
43 void (*release)(struct nfs_pgio_header *hdr)) in nfs_pgheader_init()
64 void nfs_set_pgio_error(struct nfs_pgio_header *hdr, int error, loff_t pos) in nfs_set_pgio_error()
491 struct nfs_pgio_header *nfs_pgio_header_alloc(const struct nfs_rw_ops *ops) in nfs_pgio_header_alloc()
493 struct nfs_pgio_header *hdr = ops->rw_alloc_header(); in nfs_pgio_header_alloc()
512 static void nfs_pgio_data_destroy(struct nfs_pgio_header *hdr) in nfs_pgio_data_destroy()
524 void nfs_pgio_header_free(struct nfs_pgio_header *hdr) in nfs_pgio_header_free()
539 static void nfs_pgio_rpcsetup(struct nfs_pgio_header *hdr, in nfs_pgio_rpcsetup()
583 struct nfs_pgio_header *hdr = calldata; in nfs_pgio_prepare()
590 int nfs_initiate_pgio(struct rpc_clnt *clnt, struct nfs_pgio_header *hdr, in nfs_initiate_pgio()
[all …]
Dinternal.h247 struct nfs_pgio_header *hdr,
248 void (*release)(struct nfs_pgio_header *hdr));
249 void nfs_set_pgio_error(struct nfs_pgio_header *hdr, int error, loff_t pos);
253 struct nfs_pgio_header *nfs_pgio_header_alloc(const struct nfs_rw_ops *);
254 void nfs_pgio_header_free(struct nfs_pgio_header *);
255 int nfs_generic_pgio(struct nfs_pageio_descriptor *, struct nfs_pgio_header *);
256 int nfs_initiate_pgio(struct rpc_clnt *clnt, struct nfs_pgio_header *hdr,
497 int nfs_write_need_commit(struct nfs_pgio_header *);
498 void nfs_writeback_update_inode(struct nfs_pgio_header *hdr);
Dpnfs.h172 enum pnfs_try_status (*read_pagelist)(struct nfs_pgio_header *);
173 enum pnfs_try_status (*write_pagelist)(struct nfs_pgio_header *, int);
294 void pnfs_ld_write_done(struct nfs_pgio_header *);
295 void pnfs_ld_read_done(struct nfs_pgio_header *);
296 void pnfs_read_resend_pnfs(struct nfs_pgio_header *);
318 int pnfs_read_done_resend_to_mds(struct nfs_pgio_header *);
319 int pnfs_write_done_resend_to_mds(struct nfs_pgio_header *);
Dwrite.c102 static struct nfs_pgio_header *nfs_writehdr_alloc(void) in nfs_writehdr_alloc()
104 struct nfs_pgio_header *p = mempool_alloc(nfs_wdata_mempool, GFP_NOIO); in nfs_writehdr_alloc()
111 static void nfs_writehdr_free(struct nfs_pgio_header *hdr) in nfs_writehdr_free()
969 int nfs_write_need_commit(struct nfs_pgio_header *hdr) in nfs_write_need_commit()
976 static void nfs_async_write_init(struct nfs_pgio_header *hdr) in nfs_async_write_init()
981 static void nfs_write_completion(struct nfs_pgio_header *hdr) in nfs_write_completion()
1370 static void nfs_initiate_write(struct nfs_pgio_header *hdr, in nfs_initiate_write()
1406 static void nfs_async_write_reschedule_io(struct nfs_pgio_header *hdr) in nfs_async_write_reschedule_io()
1485 static void nfs_writeback_check_extend(struct nfs_pgio_header *hdr, in nfs_writeback_check_extend()
1506 void nfs_writeback_update_inode(struct nfs_pgio_header *hdr) in nfs_writeback_update_inode()
[all …]
Ddirect.c122 nfs_direct_good_bytes(struct nfs_direct_req *dreq, struct nfs_pgio_header *hdr) in nfs_direct_good_bytes()
189 struct nfs_pgio_header *hdr) in nfs_direct_set_hdr_verf()
215 struct nfs_pgio_header *hdr) in nfs_direct_set_or_cmp_hdr_verf()
395 static void nfs_direct_read_completion(struct nfs_pgio_header *hdr) in nfs_direct_read_completion()
438 static void nfs_direct_pgio_init(struct nfs_pgio_header *hdr) in nfs_direct_pgio_init()
764 static void nfs_direct_write_completion(struct nfs_pgio_header *hdr) in nfs_direct_write_completion()
828 static void nfs_direct_write_reschedule_io(struct nfs_pgio_header *hdr) in nfs_direct_write_reschedule_io()
Dproc.c587 static int nfs_read_done(struct rpc_task *task, struct nfs_pgio_header *hdr) in nfs_read_done()
603 static void nfs_proc_read_setup(struct nfs_pgio_header *hdr, in nfs_proc_read_setup()
610 struct nfs_pgio_header *hdr) in nfs_proc_pgio_rpc_prepare()
616 static int nfs_write_done(struct rpc_task *task, struct nfs_pgio_header *hdr) in nfs_write_done()
623 static void nfs_proc_write_setup(struct nfs_pgio_header *hdr, in nfs_proc_write_setup()
Dpnfs.c2517 int pnfs_write_done_resend_to_mds(struct nfs_pgio_header *hdr) in pnfs_write_done_resend_to_mds()
2529 static void pnfs_ld_handle_write_error(struct nfs_pgio_header *hdr) in pnfs_ld_handle_write_error()
2544 void pnfs_ld_write_done(struct nfs_pgio_header *hdr) in pnfs_ld_write_done()
2560 struct nfs_pgio_header *hdr) in pnfs_write_through_mds()
2573 pnfs_try_to_write_data(struct nfs_pgio_header *hdr, in pnfs_try_to_write_data()
2595 struct nfs_pgio_header *hdr, int how) in pnfs_do_write()
2618 static void pnfs_writehdr_free(struct nfs_pgio_header *hdr) in pnfs_writehdr_free()
2627 struct nfs_pgio_header *hdr; in pnfs_generic_pg_writepages()
2646 int pnfs_read_done_resend_to_mds(struct nfs_pgio_header *hdr) in pnfs_read_done_resend_to_mds()
2656 static void pnfs_ld_handle_read_error(struct nfs_pgio_header *hdr) in pnfs_ld_handle_read_error()
[all …]
Dnfs3proc.c786 static int nfs3_read_done(struct rpc_task *task, struct nfs_pgio_header *hdr) in nfs3_read_done()
801 static void nfs3_proc_read_setup(struct nfs_pgio_header *hdr, in nfs3_proc_read_setup()
808 struct nfs_pgio_header *hdr) in nfs3_proc_pgio_rpc_prepare()
814 static int nfs3_write_done(struct rpc_task *task, struct nfs_pgio_header *hdr) in nfs3_write_done()
828 static void nfs3_proc_write_setup(struct nfs_pgio_header *hdr, in nfs3_proc_write_setup()
Dnfs4_fs.h391 struct rpc_message *msg, struct nfs_pgio_header *hdr) in nfs4_state_protect_write()
418 struct rpc_message *msg, struct nfs_pgio_header *hdr) in nfs4_state_protect_write()
Dnfs4trace.h1285 const struct nfs_pgio_header *hdr,
1334 const struct nfs_pgio_header *hdr, \
1345 const struct nfs_pgio_header *hdr,
1395 const struct nfs_pgio_header *hdr, \
Dpnfs_nfs.c23 struct nfs_pgio_header *hdr = data; in pnfs_generic_rw_release()
Dnfs4proc.c4942 static int nfs4_read_done_cb(struct rpc_task *task, struct nfs_pgio_header *hdr) in nfs4_read_done_cb()
4980 static int nfs4_read_done(struct rpc_task *task, struct nfs_pgio_header *hdr) in nfs4_read_done()
4995 static void nfs4_proc_read_setup(struct nfs_pgio_header *hdr, in nfs4_proc_read_setup()
5006 struct nfs_pgio_header *hdr) in nfs4_proc_pgio_rpc_prepare()
5023 struct nfs_pgio_header *hdr) in nfs4_write_done_cb()
5063 static int nfs4_write_done(struct rpc_task *task, struct nfs_pgio_header *hdr) in nfs4_write_done()
5074 bool nfs4_write_need_cache_consistency_data(struct nfs_pgio_header *hdr) in nfs4_write_need_cache_consistency_data()
5085 static void nfs4_proc_write_setup(struct nfs_pgio_header *hdr, in nfs4_proc_write_setup()
/Linux-v4.19/fs/nfs/filelayout/
Dfilelayout.c88 static void filelayout_reset_write(struct nfs_pgio_header *hdr) in filelayout_reset_write()
105 static void filelayout_reset_read(struct nfs_pgio_header *hdr) in filelayout_reset_read()
203 struct nfs_pgio_header *hdr) in filelayout_read_done_cb()
229 filelayout_set_layoutcommit(struct nfs_pgio_header *hdr) in filelayout_set_layoutcommit()
267 struct nfs_pgio_header *hdr = data; in filelayout_read_prepare()
293 struct nfs_pgio_header *hdr = data; in filelayout_read_call_done()
309 struct nfs_pgio_header *hdr = data; in filelayout_read_count_stats()
315 struct nfs_pgio_header *hdr) in filelayout_write_done_cb()
367 struct nfs_pgio_header *hdr = data; in filelayout_write_prepare()
391 struct nfs_pgio_header *hdr = data; in filelayout_write_call_done()
[all …]
/Linux-v4.19/fs/nfs/blocklayout/
Dblocklayout.c192 static void bl_mark_devices_unavailable(struct nfs_pgio_header *header, bool rw) in bl_mark_devices_unavailable()
220 struct nfs_pgio_header *header = par->data; in bl_end_io_read()
235 struct nfs_pgio_header *hdr; in bl_read_cleanup()
238 hdr = container_of(task, struct nfs_pgio_header, task); in bl_read_cleanup()
245 struct nfs_pgio_header *hdr = data; in bl_end_par_io_read()
253 bl_read_pagelist(struct nfs_pgio_header *header) in bl_read_pagelist()
349 struct nfs_pgio_header *header = par->data; in bl_end_io_write()
367 struct nfs_pgio_header *hdr = in bl_write_cleanup()
368 container_of(task, struct nfs_pgio_header, task); in bl_write_cleanup()
389 struct nfs_pgio_header *hdr = data; in bl_end_par_io_write()
[all …]
/Linux-v4.19/fs/nfs/flexfilelayout/
Dflexfilelayout.c34 struct nfs_pgio_header *hdr);
988 static void ff_layout_reset_write(struct nfs_pgio_header *hdr, bool retry_pnfs) in ff_layout_reset_write()
1020 static void ff_layout_reset_read(struct nfs_pgio_header *hdr) in ff_layout_reset_read()
1226 struct nfs_pgio_header *hdr) in ff_layout_read_done_cb()
1301 struct nfs_pgio_header *hdr) in ff_layout_read_record_layoutstats_start()
1312 struct nfs_pgio_header *hdr) in ff_layout_read_record_layoutstats_done()
1324 struct nfs_pgio_header *hdr) in ff_layout_read_prepare_common()
1346 struct nfs_pgio_header *hdr = data; in ff_layout_read_prepare_v3()
1356 struct nfs_pgio_header *hdr = data; in ff_layout_read_prepare_v4()
1374 struct nfs_pgio_header *hdr = data; in ff_layout_read_call_done()
[all …]