Lines Matching refs:task
49 nfs3_async_handle_jukebox(struct rpc_task *task, struct inode *inode) in nfs3_async_handle_jukebox() argument
51 if (task->tk_status != -EJUKEBOX) in nfs3_async_handle_jukebox()
54 task->tk_status = 0; in nfs3_async_handle_jukebox()
55 rpc_restart_call(task); in nfs3_async_handle_jukebox()
56 rpc_delay(task, NFS_JUKEBOX_RETRY_TIME); in nfs3_async_handle_jukebox()
467 static void nfs3_proc_unlink_rpc_prepare(struct rpc_task *task, struct nfs_unlinkdata *data) in nfs3_proc_unlink_rpc_prepare() argument
469 rpc_call_start(task); in nfs3_proc_unlink_rpc_prepare()
473 nfs3_proc_unlink_done(struct rpc_task *task, struct inode *dir) in nfs3_proc_unlink_done() argument
476 if (nfs3_async_handle_jukebox(task, dir)) in nfs3_proc_unlink_done()
478 res = task->tk_msg.rpc_resp; in nfs3_proc_unlink_done()
491 static void nfs3_proc_rename_rpc_prepare(struct rpc_task *task, struct nfs_renamedata *data) in nfs3_proc_rename_rpc_prepare() argument
493 rpc_call_start(task); in nfs3_proc_rename_rpc_prepare()
497 nfs3_proc_rename_done(struct rpc_task *task, struct inode *old_dir, in nfs3_proc_rename_done() argument
502 if (nfs3_async_handle_jukebox(task, old_dir)) in nfs3_proc_rename_done()
504 res = task->tk_msg.rpc_resp; in nfs3_proc_rename_done()
884 static int nfs3_read_done(struct rpc_task *task, struct nfs_pgio_header *hdr) in nfs3_read_done() argument
890 return hdr->pgio_done_cb(task, hdr); in nfs3_read_done()
892 if (nfs3_async_handle_jukebox(task, inode)) in nfs3_read_done()
895 if (task->tk_status >= 0) { in nfs3_read_done()
913 static int nfs3_proc_pgio_rpc_prepare(struct rpc_task *task, in nfs3_proc_pgio_rpc_prepare() argument
916 rpc_call_start(task); in nfs3_proc_pgio_rpc_prepare()
920 static int nfs3_write_done(struct rpc_task *task, struct nfs_pgio_header *hdr) in nfs3_write_done() argument
925 return hdr->pgio_done_cb(task, hdr); in nfs3_write_done()
927 if (nfs3_async_handle_jukebox(task, inode)) in nfs3_write_done()
929 if (task->tk_status >= 0) { in nfs3_write_done()
943 static void nfs3_proc_commit_rpc_prepare(struct rpc_task *task, struct nfs_commit_data *data) in nfs3_proc_commit_rpc_prepare() argument
945 rpc_call_start(task); in nfs3_proc_commit_rpc_prepare()
948 static int nfs3_commit_done(struct rpc_task *task, struct nfs_commit_data *data) in nfs3_commit_done() argument
951 return data->commit_done_cb(task, data); in nfs3_commit_done()
953 if (nfs3_async_handle_jukebox(task, data->inode)) in nfs3_commit_done()
974 static bool nfs3_nlm_unlock_prepare(struct rpc_task *task, void *data) in nfs3_nlm_unlock_prepare() argument
978 return nfs_async_iocounter_wait(task, l_ctx); in nfs3_nlm_unlock_prepare()