/linux-3.4.99/fs/nfs/ |
D | write.c | 53 struct nfs_write_data *nfs_commitdata_alloc(void) in nfs_commitdata_alloc() 55 struct nfs_write_data *p = mempool_alloc(nfs_commit_mempool, GFP_NOFS); in nfs_commitdata_alloc() 65 void nfs_commit_free(struct nfs_write_data *p) in nfs_commit_free() 73 struct nfs_write_data *nfs_writedata_alloc(unsigned int pagecount) in nfs_writedata_alloc() 75 struct nfs_write_data *p = mempool_alloc(nfs_wdata_mempool, GFP_NOFS); in nfs_writedata_alloc() 94 void nfs_writedata_free(struct nfs_write_data *p) in nfs_writedata_free() 101 void nfs_writedata_release(struct nfs_write_data *wdata) in nfs_writedata_release() 508 int nfs_write_need_commit(struct nfs_write_data *data) in nfs_write_need_commit() 518 struct nfs_write_data *data) in nfs_reschedule_unstable_write() 542 int nfs_write_need_commit(struct nfs_write_data *data) in nfs_write_need_commit() [all …]
|
D | nfs4filelayout.c | 175 filelayout_set_layoutcommit(struct nfs_write_data *wdata) in filelayout_set_layoutcommit() 231 struct nfs_write_data *data) in filelayout_write_done_cb() 252 static void prepare_to_resend_writes(struct nfs_write_data *data) in prepare_to_resend_writes() 263 struct nfs_write_data *data) in filelayout_commit_done_cb() 284 struct nfs_write_data *wdata = (struct nfs_write_data *)data; in filelayout_write_prepare() 296 struct nfs_write_data *wdata = (struct nfs_write_data *)data; in filelayout_write_call_done() 304 struct nfs_write_data *wdata = (struct nfs_write_data *)data; in filelayout_write_count_stats() 311 struct nfs_write_data *wdata = (struct nfs_write_data *)data; in filelayout_write_release() 319 struct nfs_write_data *wdata = (struct nfs_write_data *)data; in filelayout_commit_release() 396 filelayout_write_pagelist(struct nfs_write_data *data, int sync) in filelayout_write_pagelist() [all …]
|
D | internal.h | 317 extern void nfs_writedata_release(struct nfs_write_data *wdata); 318 extern void nfs_commit_free(struct nfs_write_data *p); 319 extern int nfs_initiate_write(struct nfs_write_data *data, 324 extern int nfs_initiate_commit(struct nfs_write_data *data, 328 extern void nfs_init_commit(struct nfs_write_data *data, 335 void nfs_commit_release_pages(struct nfs_write_data *data); 354 extern void nfs4_reset_write(struct rpc_task *task, struct nfs_write_data *data);
|
D | direct.c | 85 struct nfs_write_data * commit_data; /* special write_data for commits */ 453 struct nfs_write_data *data = list_entry(dreq->rewrite_list.next, struct nfs_write_data, pages); in nfs_direct_free_writedata() 465 struct nfs_write_data *data; in nfs_direct_write_reschedule() 482 data = list_entry(p, struct nfs_write_data, pages); in nfs_direct_write_reschedule() 527 struct nfs_write_data *data = calldata; in nfs_direct_commit_result() 535 struct nfs_write_data *data = calldata; in nfs_direct_commit_release() 561 struct nfs_write_data *data = dreq->commit_data; in nfs_direct_commit_schedule() 646 struct nfs_write_data *data = calldata; in nfs_direct_write_result() 657 struct nfs_write_data *data = calldata; in nfs_direct_write_release() 731 struct nfs_write_data *data; in nfs_direct_write_schedule_segment()
|
D | pnfs.h | 108 enum pnfs_try_status (*write_pagelist) (struct nfs_write_data *nfs_data, int how); 200 void pnfs_set_layoutcommit(struct nfs_write_data *wdata); 204 void pnfs_ld_write_done(struct nfs_write_data *);
|
D | proc.c | 629 static int nfs_write_done(struct rpc_task *task, struct nfs_write_data *data) in nfs_write_done() 636 static void nfs_proc_write_setup(struct nfs_write_data *data, struct rpc_message *msg) in nfs_proc_write_setup() 643 static void nfs_proc_write_rpc_prepare(struct rpc_task *task, struct nfs_write_data *data) in nfs_proc_write_rpc_prepare() 649 nfs_proc_commit_setup(struct nfs_write_data *data, struct rpc_message *msg) in nfs_proc_commit_setup()
|
D | nfs3proc.c | 832 static int nfs3_write_done(struct rpc_task *task, struct nfs_write_data *data) in nfs3_write_done() 841 static void nfs3_proc_write_setup(struct nfs_write_data *data, struct rpc_message *msg) in nfs3_proc_write_setup() 846 static void nfs3_proc_write_rpc_prepare(struct rpc_task *task, struct nfs_write_data *data) in nfs3_proc_write_rpc_prepare() 851 static int nfs3_commit_done(struct rpc_task *task, struct nfs_write_data *data) in nfs3_commit_done() 859 static void nfs3_proc_commit_setup(struct nfs_write_data *data, struct rpc_message *msg) in nfs3_proc_commit_setup()
|
D | pnfs.c | 1158 void pnfs_ld_write_done(struct nfs_write_data *data) in pnfs_ld_write_done() 1183 struct nfs_write_data *data) in pnfs_write_through_mds() 1195 pnfs_try_to_write_data(struct nfs_write_data *wdata, in pnfs_try_to_write_data() 1224 struct nfs_write_data *data; in pnfs_do_multiple_writes() 1232 data = list_entry(head->next, struct nfs_write_data, list); in pnfs_do_multiple_writes() 1418 pnfs_set_layoutcommit(struct nfs_write_data *wdata) in pnfs_set_layoutcommit()
|
D | nfs4proc.c | 3406 static int nfs4_write_done_cb(struct rpc_task *task, struct nfs_write_data *data) in nfs4_write_done_cb() 3421 static int nfs4_write_done(struct rpc_task *task, struct nfs_write_data *data) in nfs4_write_done() 3430 void nfs4_reset_write(struct rpc_task *task, struct nfs_write_data *data) in nfs4_reset_write() 3446 static void nfs4_proc_write_setup(struct nfs_write_data *data, struct rpc_message *msg) in nfs4_proc_write_setup() 3464 static void nfs4_proc_write_rpc_prepare(struct rpc_task *task, struct nfs_write_data *data) in nfs4_proc_write_rpc_prepare() 3474 static int nfs4_commit_done_cb(struct rpc_task *task, struct nfs_write_data *data) in nfs4_commit_done_cb() 3486 static int nfs4_commit_done(struct rpc_task *task, struct nfs_write_data *data) in nfs4_commit_done() 3493 static void nfs4_proc_commit_setup(struct nfs_write_data *data, struct rpc_message *msg) in nfs4_proc_commit_setup()
|
/linux-3.4.99/fs/nfs/objlayout/ |
D | objlayout.h | 123 extern int objio_write_pagelist(struct nfs_write_data *wdata, int how); 174 struct nfs_write_data *,
|
D | objlayout.c | 324 struct nfs_write_data *wdata; in _rpc_write_complete() 328 wdata = container_of(task, struct nfs_write_data, task); in _rpc_write_complete() 336 struct nfs_write_data *wdata = oir->rpcdata; in objlayout_write_done() 363 objlayout_write_pagelist(struct nfs_write_data *wdata, in objlayout_write_pagelist()
|
D | objio_osd.c | 488 struct nfs_write_data *wdata = objios->oir.rpcdata; in __r4w_get_page() 532 int objio_write_pagelist(struct nfs_write_data *wdata, int how) in objio_write_pagelist()
|
/linux-3.4.99/include/linux/ |
D | nfs_fs.h | 539 extern void nfs_writeback_done(struct rpc_task *, struct nfs_write_data *); 550 extern struct nfs_write_data *nfs_commitdata_alloc(void); 551 extern void nfs_commit_free(struct nfs_write_data *wdata); 569 extern struct nfs_write_data *nfs_writedata_alloc(unsigned int npages); 570 extern void nfs_writedata_free(struct nfs_write_data *);
|
D | nfs_xdr.h | 1174 struct nfs_write_data { struct 1191 int (*write_done_cb) (struct rpc_task *task, struct nfs_write_data *data); argument 1277 void (*write_setup) (struct nfs_write_data *, struct rpc_message *); 1278 void (*write_rpc_prepare)(struct rpc_task *, struct nfs_write_data *); 1279 int (*write_done) (struct rpc_task *, struct nfs_write_data *); 1280 void (*commit_setup) (struct nfs_write_data *, struct rpc_message *); 1281 int (*commit_done) (struct rpc_task *, struct nfs_write_data *);
|
/linux-3.4.99/fs/nfs/blocklayout/ |
D | blocklayout.c | 362 struct nfs_write_data *wdata = (struct nfs_write_data *)par->data; in bl_end_io_write_zero() 387 struct nfs_write_data *wdata = (struct nfs_write_data *)par->data; in bl_end_io_write() 404 struct nfs_write_data *wdata; in bl_write_cleanup() 407 wdata = container_of(task, struct nfs_write_data, task); in bl_write_cleanup() 419 struct nfs_write_data *wdata = data; in bl_end_par_io_write() 655 bl_write_pagelist(struct nfs_write_data *wdata, int sync) in bl_write_pagelist()
|