Home
last modified time | relevance | path

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

/linux-4.1.27/include/linux/
Dnfs_page.h68 struct nfs_pgio_header *(*rw_alloc_header)(void);
69 void (*rw_free_header)(struct nfs_pgio_header *);
70 void (*rw_release)(struct nfs_pgio_header *);
71 int (*rw_done)(struct rpc_task *, struct nfs_pgio_header *,
73 void (*rw_result)(struct rpc_task *, struct nfs_pgio_header *);
74 void (*rw_initiate)(struct nfs_pgio_header *, struct rpc_message *,
132 struct nfs_pgio_header *);
Dnfs_xdr.h1322 struct nfs_pgio_header { struct
1331 void (*release) (struct nfs_pgio_header *hdr); argument
1351 int (*pgio_done_cb)(struct rpc_task *, struct nfs_pgio_header *); argument
1403 void (*init_hdr)(struct nfs_pgio_header *hdr);
1404 void (*completion)(struct nfs_pgio_header *hdr);
1492 struct nfs_pgio_header *);
1493 void (*read_setup)(struct nfs_pgio_header *, struct rpc_message *);
1494 int (*read_done)(struct rpc_task *, struct nfs_pgio_header *);
1495 void (*write_setup)(struct nfs_pgio_header *, struct rpc_message *);
1496 int (*write_done)(struct rpc_task *, struct nfs_pgio_header *);
/linux-4.1.27/fs/nfs/objlayout/
Dobjlayout.h122 extern int objio_read_pagelist(struct nfs_pgio_header *rdata);
123 extern int objio_write_pagelist(struct nfs_pgio_header *wdata, int how);
166 struct nfs_pgio_header *);
169 struct nfs_pgio_header *,
Dobjlayout.c232 struct nfs_pgio_header *hdr; in _rpc_read_complete()
236 hdr = container_of(task, struct nfs_pgio_header, task); in _rpc_read_complete()
244 struct nfs_pgio_header *hdr = oir->rpcdata; in objlayout_read_done()
269 objlayout_read_pagelist(struct nfs_pgio_header *hdr) in objlayout_read_pagelist()
314 struct nfs_pgio_header *hdr; in _rpc_write_complete()
318 hdr = container_of(task, struct nfs_pgio_header, task); in _rpc_write_complete()
326 struct nfs_pgio_header *hdr = oir->rpcdata; in objlayout_write_done()
353 objlayout_write_pagelist(struct nfs_pgio_header *hdr, int how) in objlayout_write_pagelist()
Dobjio_osd.c410 int objio_read_pagelist(struct nfs_pgio_header *hdr) in objio_read_pagelist()
457 struct nfs_pgio_header *hdr = objios->oir.rpcdata; in __r4w_get_page()
501 int objio_write_pagelist(struct nfs_pgio_header *hdr, int how) in objio_write_pagelist()
/linux-4.1.27/fs/nfs/
Dread.c36 static struct nfs_pgio_header *nfs_readhdr_alloc(void) in nfs_readhdr_alloc()
41 static void nfs_readhdr_free(struct nfs_pgio_header *rhdr) in nfs_readhdr_free()
144 static void nfs_read_completion(struct nfs_pgio_header *hdr) in nfs_read_completion()
186 static void nfs_initiate_read(struct nfs_pgio_header *hdr, in nfs_initiate_read()
220 struct nfs_pgio_header *hdr, in nfs_readpage_done()
237 struct nfs_pgio_header *hdr) in nfs_readpage_retry()
258 struct nfs_pgio_header *hdr) in nfs_readpage_result()
427 sizeof(struct nfs_pgio_header), in nfs_init_readpagecache()
Dinternal.h242 struct nfs_pgio_header *hdr,
243 void (*release)(struct nfs_pgio_header *hdr));
244 void nfs_set_pgio_error(struct nfs_pgio_header *hdr, int error, loff_t pos);
248 struct nfs_pgio_header *nfs_pgio_header_alloc(const struct nfs_rw_ops *);
249 void nfs_pgio_header_free(struct nfs_pgio_header *);
250 void nfs_pgio_data_destroy(struct nfs_pgio_header *);
251 int nfs_generic_pgio(struct nfs_pageio_descriptor *, struct nfs_pgio_header *);
252 int nfs_initiate_pgio(struct rpc_clnt *clnt, struct nfs_pgio_header *hdr,
461 int nfs_write_need_commit(struct nfs_pgio_header *);
462 void nfs_writeback_update_inode(struct nfs_pgio_header *hdr);
[all …]
Dpagelist.c55 struct nfs_pgio_header *hdr, in nfs_pgheader_init()
56 void (*release)(struct nfs_pgio_header *hdr)) in nfs_pgheader_init()
77 void nfs_set_pgio_error(struct nfs_pgio_header *hdr, int error, loff_t pos) in nfs_set_pgio_error()
518 struct nfs_pgio_header *nfs_pgio_header_alloc(const struct nfs_rw_ops *ops) in nfs_pgio_header_alloc()
520 struct nfs_pgio_header *hdr = ops->rw_alloc_header(); in nfs_pgio_header_alloc()
535 void nfs_pgio_header_free(struct nfs_pgio_header *hdr) in nfs_pgio_header_free()
549 void nfs_pgio_data_destroy(struct nfs_pgio_header *hdr) in nfs_pgio_data_destroy()
566 static void nfs_pgio_rpcsetup(struct nfs_pgio_header *hdr, in nfs_pgio_rpcsetup()
609 struct nfs_pgio_header *hdr = calldata; in nfs_pgio_prepare()
616 int nfs_initiate_pgio(struct rpc_clnt *clnt, struct nfs_pgio_header *hdr, in nfs_initiate_pgio()
[all …]
Dpnfs.h164 enum pnfs_try_status (*read_pagelist)(struct nfs_pgio_header *);
165 enum pnfs_try_status (*write_pagelist)(struct nfs_pgio_header *, int);
276 void pnfs_ld_write_done(struct nfs_pgio_header *);
277 void pnfs_ld_read_done(struct nfs_pgio_header *);
278 int pnfs_read_resend_pnfs(struct nfs_pgio_header *);
288 int pnfs_read_done_resend_to_mds(struct nfs_pgio_header *);
289 int pnfs_write_done_resend_to_mds(struct nfs_pgio_header *);
Dpnfs.c1817 int pnfs_write_done_resend_to_mds(struct nfs_pgio_header *hdr) in pnfs_write_done_resend_to_mds()
1829 static void pnfs_ld_handle_write_error(struct nfs_pgio_header *hdr) in pnfs_ld_handle_write_error()
1844 void pnfs_ld_write_done(struct nfs_pgio_header *hdr) in pnfs_ld_write_done()
1859 struct nfs_pgio_header *hdr) in pnfs_write_through_mds()
1873 pnfs_try_to_write_data(struct nfs_pgio_header *hdr, in pnfs_try_to_write_data()
1895 struct nfs_pgio_header *hdr, int how) in pnfs_do_write()
1906 static void pnfs_writehdr_free(struct nfs_pgio_header *hdr) in pnfs_writehdr_free()
1917 struct nfs_pgio_header *hdr; in pnfs_generic_pg_writepages()
1936 int pnfs_read_done_resend_to_mds(struct nfs_pgio_header *hdr) in pnfs_read_done_resend_to_mds()
1946 static void pnfs_ld_handle_read_error(struct nfs_pgio_header *hdr) in pnfs_ld_handle_read_error()
[all …]
Dwrite.c79 static struct nfs_pgio_header *nfs_writehdr_alloc(void) in nfs_writehdr_alloc()
81 struct nfs_pgio_header *p = mempool_alloc(nfs_wdata_mempool, GFP_NOIO); in nfs_writehdr_alloc()
88 static void nfs_writehdr_free(struct nfs_pgio_header *hdr) in nfs_writehdr_free()
875 int nfs_write_need_commit(struct nfs_pgio_header *hdr) in nfs_write_need_commit()
882 static void nfs_write_completion(struct nfs_pgio_header *hdr) in nfs_write_completion()
1271 static void nfs_initiate_write(struct nfs_pgio_header *hdr, in nfs_initiate_write()
1354 static void nfs_writeback_release_common(struct nfs_pgio_header *hdr) in nfs_writeback_release_common()
1384 static void nfs_writeback_check_extend(struct nfs_pgio_header *hdr, in nfs_writeback_check_extend()
1405 void nfs_writeback_update_inode(struct nfs_pgio_header *hdr) in nfs_writeback_update_inode()
1421 struct nfs_pgio_header *hdr, in nfs_writeback_done()
[all …]
Dproc.c581 static int nfs_read_done(struct rpc_task *task, struct nfs_pgio_header *hdr) in nfs_read_done()
597 static void nfs_proc_read_setup(struct nfs_pgio_header *hdr, in nfs_proc_read_setup()
604 struct nfs_pgio_header *hdr) in nfs_proc_pgio_rpc_prepare()
610 static int nfs_write_done(struct rpc_task *task, struct nfs_pgio_header *hdr) in nfs_write_done()
617 static void nfs_proc_write_setup(struct nfs_pgio_header *hdr, in nfs_proc_write_setup()
Ddirect.c127 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()
209 struct nfs_pgio_header *hdr) in nfs_direct_set_or_cmp_hdr_verf()
409 static void nfs_direct_read_completion(struct nfs_pgio_header *hdr) in nfs_direct_read_completion()
452 static void nfs_direct_pgio_init(struct nfs_pgio_header *hdr) in nfs_direct_pgio_init()
773 static void nfs_direct_write_completion(struct nfs_pgio_header *hdr) in nfs_direct_write_completion()
Dnfs3proc.c799 static int nfs3_read_done(struct rpc_task *task, struct nfs_pgio_header *hdr) in nfs3_read_done()
814 static void nfs3_proc_read_setup(struct nfs_pgio_header *hdr, in nfs3_proc_read_setup()
821 struct nfs_pgio_header *hdr) in nfs3_proc_pgio_rpc_prepare()
827 static int nfs3_write_done(struct rpc_task *task, struct nfs_pgio_header *hdr) in nfs3_write_done()
841 static void nfs3_proc_write_setup(struct nfs_pgio_header *hdr, in nfs3_proc_write_setup()
Dnfs4_fs.h336 struct rpc_message *msg, struct nfs_pgio_header *hdr) in nfs4_state_protect_write()
368 struct rpc_message *msg, struct nfs_pgio_header *hdr) in nfs4_state_protect_write()
Dnfs4trace.h935 const struct nfs_pgio_header *hdr,
975 const struct nfs_pgio_header *hdr, \
986 const struct nfs_pgio_header *hdr,
1027 const struct nfs_pgio_header *hdr, \
Dpnfs_nfs.c23 struct nfs_pgio_header *hdr = data; in pnfs_generic_rw_release()
Dnfs4proc.c4160 void __nfs4_read_done_cb(struct nfs_pgio_header *hdr) in __nfs4_read_done_cb()
4165 static int nfs4_read_done_cb(struct rpc_task *task, struct nfs_pgio_header *hdr) in nfs4_read_done_cb()
4197 static int nfs4_read_done(struct rpc_task *task, struct nfs_pgio_header *hdr) in nfs4_read_done()
4210 static void nfs4_proc_read_setup(struct nfs_pgio_header *hdr, in nfs4_proc_read_setup()
4220 struct nfs_pgio_header *hdr) in nfs4_proc_pgio_rpc_prepare()
4237 struct nfs_pgio_header *hdr) in nfs4_write_done_cb()
4269 static int nfs4_write_done(struct rpc_task *task, struct nfs_pgio_header *hdr) in nfs4_write_done()
4280 bool nfs4_write_need_cache_consistency_data(struct nfs_pgio_header *hdr) in nfs4_write_need_cache_consistency_data()
4291 static void nfs4_proc_write_setup(struct nfs_pgio_header *hdr, in nfs4_proc_write_setup()
/linux-4.1.27/fs/nfs/filelayout/
Dfilelayout.c87 static void filelayout_reset_write(struct nfs_pgio_header *hdr) in filelayout_reset_write()
104 static void filelayout_reset_read(struct nfs_pgio_header *hdr) in filelayout_reset_read()
228 struct nfs_pgio_header *hdr) in filelayout_read_done_cb()
254 filelayout_set_layoutcommit(struct nfs_pgio_header *hdr) in filelayout_set_layoutcommit()
289 struct nfs_pgio_header *hdr = data; in filelayout_read_prepare()
315 struct nfs_pgio_header *hdr = data; in filelayout_read_call_done()
331 struct nfs_pgio_header *hdr = data; in filelayout_read_count_stats()
337 struct nfs_pgio_header *hdr) in filelayout_write_done_cb()
384 struct nfs_pgio_header *hdr = data; in filelayout_write_prepare()
408 struct nfs_pgio_header *hdr = data; in filelayout_write_call_done()
[all …]
/linux-4.1.27/fs/nfs/blocklayout/
Dblocklayout.c191 struct nfs_pgio_header *header = par->data; in bl_end_io_read()
205 struct nfs_pgio_header *hdr; in bl_read_cleanup()
208 hdr = container_of(task, struct nfs_pgio_header, task); in bl_read_cleanup()
215 struct nfs_pgio_header *hdr = data; in bl_end_par_io_read()
223 bl_read_pagelist(struct nfs_pgio_header *header) in bl_read_pagelist()
323 struct nfs_pgio_header *header = par->data; in bl_end_io_write()
340 struct nfs_pgio_header *hdr = in bl_write_cleanup()
341 container_of(task, struct nfs_pgio_header, task); in bl_write_cleanup()
361 struct nfs_pgio_header *hdr = data; in bl_end_par_io_write()
370 bl_write_pagelist(struct nfs_pgio_header *header, int sync) in bl_write_pagelist()
/linux-4.1.27/fs/nfs/flexfilelayout/
Dflexfilelayout.c609 static void ff_layout_reset_write(struct nfs_pgio_header *hdr, bool retry_pnfs) in ff_layout_reset_write()
652 static void ff_layout_reset_read(struct nfs_pgio_header *hdr) in ff_layout_reset_read()
847 struct nfs_pgio_header *hdr) in ff_layout_read_done_cb()
892 ff_layout_set_layoutcommit(struct nfs_pgio_header *hdr) in ff_layout_set_layoutcommit()
910 struct nfs_pgio_header *hdr) in ff_layout_read_prepare_common()
937 struct nfs_pgio_header *hdr = data; in ff_layout_read_prepare_v3()
963 struct nfs_pgio_header *hdr = data; in ff_layout_read_prepare_v4()
981 struct nfs_pgio_header *hdr = data; in ff_layout_read_call_done()
997 struct nfs_pgio_header *hdr = data; in ff_layout_read_count_stats()
1004 struct nfs_pgio_header *hdr) in ff_layout_write_done_cb()
[all …]