Home
last modified time | relevance | path

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

/linux-4.4.14/include/linux/
Dnfs_page.h68 struct nfs_pgio_header *(*rw_alloc_header)(void);
69 void (*rw_free_header)(struct nfs_pgio_header *);
70 int (*rw_done)(struct rpc_task *, struct nfs_pgio_header *,
72 void (*rw_result)(struct rpc_task *, struct nfs_pgio_header *);
73 void (*rw_initiate)(struct nfs_pgio_header *, struct rpc_message *,
131 struct nfs_pgio_header *);
Dnfs_xdr.h1380 struct nfs_pgio_header { struct
1389 void (*release) (struct nfs_pgio_header *hdr); argument
1409 int (*pgio_done_cb)(struct rpc_task *, struct nfs_pgio_header *); argument
1461 void (*init_hdr)(struct nfs_pgio_header *hdr);
1462 void (*completion)(struct nfs_pgio_header *hdr);
1550 struct nfs_pgio_header *);
1551 void (*read_setup)(struct nfs_pgio_header *, struct rpc_message *);
1552 int (*read_done)(struct rpc_task *, struct nfs_pgio_header *);
1553 void (*write_setup)(struct nfs_pgio_header *, struct rpc_message *);
1554 int (*write_done)(struct rpc_task *, struct nfs_pgio_header *);
/linux-4.4.14/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()
498 int objio_write_pagelist(struct nfs_pgio_header *hdr, int how) in objio_write_pagelist()
/linux-4.4.14/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()
265 struct nfs_pgio_header *hdr) in nfs_readpage_result()
434 sizeof(struct nfs_pgio_header), in nfs_init_readpagecache()
Dinternal.h238 struct nfs_pgio_header *hdr,
239 void (*release)(struct nfs_pgio_header *hdr));
240 void nfs_set_pgio_error(struct nfs_pgio_header *hdr, int error, loff_t pos);
244 struct nfs_pgio_header *nfs_pgio_header_alloc(const struct nfs_rw_ops *);
245 void nfs_pgio_header_free(struct nfs_pgio_header *);
246 void nfs_pgio_data_destroy(struct nfs_pgio_header *);
247 int nfs_generic_pgio(struct nfs_pageio_descriptor *, struct nfs_pgio_header *);
248 int nfs_initiate_pgio(struct rpc_clnt *clnt, struct nfs_pgio_header *hdr,
477 int nfs_write_need_commit(struct nfs_pgio_header *);
478 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.h166 enum pnfs_try_status (*read_pagelist)(struct nfs_pgio_header *);
167 enum pnfs_try_status (*write_pagelist)(struct nfs_pgio_header *, int);
281 void pnfs_ld_write_done(struct nfs_pgio_header *);
282 void pnfs_ld_read_done(struct nfs_pgio_header *);
283 int pnfs_read_resend_pnfs(struct nfs_pgio_header *);
301 int pnfs_read_done_resend_to_mds(struct nfs_pgio_header *);
302 int pnfs_write_done_resend_to_mds(struct nfs_pgio_header *);
Dpnfs.c1892 int pnfs_write_done_resend_to_mds(struct nfs_pgio_header *hdr) in pnfs_write_done_resend_to_mds()
1904 static void pnfs_ld_handle_write_error(struct nfs_pgio_header *hdr) in pnfs_ld_handle_write_error()
1919 void pnfs_ld_write_done(struct nfs_pgio_header *hdr) in pnfs_ld_write_done()
1935 struct nfs_pgio_header *hdr) in pnfs_write_through_mds()
1949 pnfs_try_to_write_data(struct nfs_pgio_header *hdr, in pnfs_try_to_write_data()
1971 struct nfs_pgio_header *hdr, int how) in pnfs_do_write()
1982 static void pnfs_writehdr_free(struct nfs_pgio_header *hdr) in pnfs_writehdr_free()
1993 struct nfs_pgio_header *hdr; in pnfs_generic_pg_writepages()
2012 int pnfs_read_done_resend_to_mds(struct nfs_pgio_header *hdr) in pnfs_read_done_resend_to_mds()
2022 static void pnfs_ld_handle_read_error(struct nfs_pgio_header *hdr) in pnfs_ld_handle_read_error()
[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()
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()
895 int nfs_write_need_commit(struct nfs_pgio_header *hdr) in nfs_write_need_commit()
902 static void nfs_write_completion(struct nfs_pgio_header *hdr) in nfs_write_completion()
1291 static void nfs_initiate_write(struct nfs_pgio_header *hdr, in nfs_initiate_write()
1399 static void nfs_writeback_check_extend(struct nfs_pgio_header *hdr, in nfs_writeback_check_extend()
1420 void nfs_writeback_update_inode(struct nfs_pgio_header *hdr) in nfs_writeback_update_inode()
1436 struct nfs_pgio_header *hdr, in nfs_writeback_done()
1485 struct nfs_pgio_header *hdr) in nfs_writeback_result()
[all …]
Ddirect.c127 nfs_direct_good_bytes(struct nfs_direct_req *dreq, struct nfs_pgio_header *hdr) in nfs_direct_good_bytes()
192 struct nfs_pgio_header *hdr) in nfs_direct_set_hdr_verf()
212 struct nfs_pgio_header *hdr) in nfs_direct_set_or_cmp_hdr_verf()
412 static void nfs_direct_read_completion(struct nfs_pgio_header *hdr) in nfs_direct_read_completion()
455 static void nfs_direct_pgio_init(struct nfs_pgio_header *hdr) in nfs_direct_pgio_init()
776 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.h339 struct rpc_message *msg, struct nfs_pgio_header *hdr) in nfs4_state_protect_write()
371 struct rpc_message *msg, struct nfs_pgio_header *hdr) in nfs4_state_protect_write()
Dnfs4trace.h995 const struct nfs_pgio_header *hdr,
1035 const struct nfs_pgio_header *hdr, \
1046 const struct nfs_pgio_header *hdr,
1087 const struct nfs_pgio_header *hdr, \
Dpnfs_nfs.c23 struct nfs_pgio_header *hdr = data; in pnfs_generic_rw_release()
Dnfs4proc.c4314 void __nfs4_read_done_cb(struct nfs_pgio_header *hdr) in __nfs4_read_done_cb()
4319 static int nfs4_read_done_cb(struct rpc_task *task, struct nfs_pgio_header *hdr) in nfs4_read_done_cb()
4351 static int nfs4_read_done(struct rpc_task *task, struct nfs_pgio_header *hdr) in nfs4_read_done()
4364 static void nfs4_proc_read_setup(struct nfs_pgio_header *hdr, in nfs4_proc_read_setup()
4374 struct nfs_pgio_header *hdr) in nfs4_proc_pgio_rpc_prepare()
4391 struct nfs_pgio_header *hdr) in nfs4_write_done_cb()
4423 static int nfs4_write_done(struct rpc_task *task, struct nfs_pgio_header *hdr) in nfs4_write_done()
4434 bool nfs4_write_need_cache_consistency_data(struct nfs_pgio_header *hdr) in nfs4_write_need_cache_consistency_data()
4445 static void nfs4_proc_write_setup(struct nfs_pgio_header *hdr, in nfs4_proc_write_setup()
/linux-4.4.14/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()
229 struct nfs_pgio_header *hdr) in filelayout_read_done_cb()
255 filelayout_set_layoutcommit(struct nfs_pgio_header *hdr) in filelayout_set_layoutcommit()
290 struct nfs_pgio_header *hdr = data; in filelayout_read_prepare()
316 struct nfs_pgio_header *hdr = data; in filelayout_read_call_done()
332 struct nfs_pgio_header *hdr = data; in filelayout_read_count_stats()
338 struct nfs_pgio_header *hdr) in filelayout_write_done_cb()
385 struct nfs_pgio_header *hdr = data; in filelayout_write_prepare()
409 struct nfs_pgio_header *hdr = data; in filelayout_write_call_done()
[all …]
/linux-4.4.14/fs/nfs/blocklayout/
Dblocklayout.c190 struct nfs_pgio_header *header = par->data; in bl_end_io_read()
204 struct nfs_pgio_header *hdr; in bl_read_cleanup()
207 hdr = container_of(task, struct nfs_pgio_header, task); in bl_read_cleanup()
214 struct nfs_pgio_header *hdr = data; in bl_end_par_io_read()
222 bl_read_pagelist(struct nfs_pgio_header *header) in bl_read_pagelist()
318 struct nfs_pgio_header *header = par->data; in bl_end_io_write()
335 struct nfs_pgio_header *hdr = in bl_write_cleanup()
336 container_of(task, struct nfs_pgio_header, task); in bl_write_cleanup()
356 struct nfs_pgio_header *hdr = data; in bl_end_par_io_write()
365 bl_write_pagelist(struct nfs_pgio_header *header, int sync) in bl_write_pagelist()
/linux-4.4.14/fs/nfs/flexfilelayout/
Dflexfilelayout.c900 static void ff_layout_reset_write(struct nfs_pgio_header *hdr, bool retry_pnfs) in ff_layout_reset_write()
943 static void ff_layout_reset_read(struct nfs_pgio_header *hdr) in ff_layout_reset_read()
1172 struct nfs_pgio_header *hdr) in ff_layout_read_done_cb()
1225 ff_layout_set_layoutcommit(struct nfs_pgio_header *hdr) in ff_layout_set_layoutcommit()
1246 struct nfs_pgio_header *hdr) in ff_layout_read_prepare_common()
1278 struct nfs_pgio_header *hdr = data; in ff_layout_read_prepare_v3()
1304 struct nfs_pgio_header *hdr = data; in ff_layout_read_prepare_v4()
1322 struct nfs_pgio_header *hdr = data; in ff_layout_read_call_done()
1342 struct nfs_pgio_header *hdr = data; in ff_layout_read_count_stats()
1349 struct nfs_pgio_header *hdr) in ff_layout_write_done_cb()
[all …]