• Home
  • Raw
  • Download

Lines Matching refs:task

46 static void nfs_async_unlink_done(struct rpc_task *task, void *calldata)  in nfs_async_unlink_done()  argument
51 trace_nfs_sillyrename_unlink(data, task->tk_status); in nfs_async_unlink_done()
52 if (!NFS_PROTO(dir)->unlink_done(task, dir)) in nfs_async_unlink_done()
53 rpc_restart_call_prepare(task); in nfs_async_unlink_done()
76 static void nfs_unlink_prepare(struct rpc_task *task, void *calldata) in nfs_unlink_prepare() argument
80 NFS_PROTO(dir)->unlink_rpc_prepare(task, data); in nfs_unlink_prepare()
103 struct rpc_task *task; in nfs_do_call_unlink() local
112 task = rpc_run_task(&task_setup_data); in nfs_do_call_unlink()
113 if (!IS_ERR(task)) in nfs_do_call_unlink()
114 rpc_put_task_async(task); in nfs_do_call_unlink()
258 static void nfs_async_rename_done(struct rpc_task *task, void *calldata) in nfs_async_rename_done() argument
266 new_dir, data->new_dentry, task->tk_status); in nfs_async_rename_done()
267 if (!NFS_PROTO(old_dir)->rename_done(task, old_dir, new_dir)) { in nfs_async_rename_done()
268 rpc_restart_call_prepare(task); in nfs_async_rename_done()
273 data->complete(task, data); in nfs_async_rename_done()
310 static void nfs_rename_prepare(struct rpc_task *task, void *calldata) in nfs_rename_prepare() argument
313 NFS_PROTO(data->old_dir)->rename_rpc_prepare(task, data); in nfs_rename_prepare()
391 nfs_complete_sillyrename(struct rpc_task *task, struct nfs_renamedata *data) in nfs_complete_sillyrename() argument
395 if (task->tk_status != 0) { in nfs_complete_sillyrename()
438 struct rpc_task *task; in nfs_sillyrename() local
485 task = nfs_async_rename(dir, dir, dentry, sdentry, in nfs_sillyrename()
487 if (IS_ERR(task)) { in nfs_sillyrename()
494 error = rpc_wait_for_completion_task(task); in nfs_sillyrename()
496 error = task->tk_status; in nfs_sillyrename()
515 rpc_put_task(task); in nfs_sillyrename()