Lines Matching defs:task

49 nfs3_async_handle_jukebox(struct rpc_task *task, struct inode *inode)
51 if (task->tk_status != -EJUKEBOX)
54 task->tk_status = 0;
55 rpc_restart_call(task);
56 rpc_delay(task, NFS_JUKEBOX_RETRY_TIME);
468 static void nfs3_proc_unlink_rpc_prepare(struct rpc_task *task, struct nfs_unlinkdata *data)
470 rpc_call_start(task);
474 nfs3_proc_unlink_done(struct rpc_task *task, struct inode *dir)
477 if (nfs3_async_handle_jukebox(task, dir))
479 res = task->tk_msg.rpc_resp;
492 static void nfs3_proc_rename_rpc_prepare(struct rpc_task *task, struct nfs_renamedata *data)
494 rpc_call_start(task);
498 nfs3_proc_rename_done(struct rpc_task *task, struct inode *old_dir,
503 if (nfs3_async_handle_jukebox(task, old_dir))
505 res = task->tk_msg.rpc_resp;
846 static int nfs3_read_done(struct rpc_task *task, struct nfs_pgio_header *hdr)
852 return hdr->pgio_done_cb(task, hdr);
854 if (nfs3_async_handle_jukebox(task, inode))
857 if (task->tk_status >= 0 && !server->read_hdrsize)
872 static int nfs3_proc_pgio_rpc_prepare(struct rpc_task *task,
875 rpc_call_start(task);
879 static int nfs3_write_done(struct rpc_task *task, struct nfs_pgio_header *hdr)
884 return hdr->pgio_done_cb(task, hdr);
886 if (nfs3_async_handle_jukebox(task, inode))
888 if (task->tk_status >= 0)
900 static void nfs3_proc_commit_rpc_prepare(struct rpc_task *task, struct nfs_commit_data *data)
902 rpc_call_start(task);
905 static int nfs3_commit_done(struct rpc_task *task, struct nfs_commit_data *data)
908 return data->commit_done_cb(task, data);
910 if (nfs3_async_handle_jukebox(task, data->inode))
931 static bool nfs3_nlm_unlock_prepare(struct rpc_task *task, void *data)
935 return nfs_async_iocounter_wait(task, l_ctx);