Lines Matching refs:task
45 nfs3_async_handle_jukebox(struct rpc_task *task, struct inode *inode) in nfs3_async_handle_jukebox() argument
47 if (task->tk_status != -EJUKEBOX && task->tk_status != -EKEYEXPIRED) in nfs3_async_handle_jukebox()
49 if (task->tk_status == -EJUKEBOX) in nfs3_async_handle_jukebox()
51 task->tk_status = 0; in nfs3_async_handle_jukebox()
52 rpc_restart_call(task); in nfs3_async_handle_jukebox()
53 rpc_delay(task, NFS_JUKEBOX_RETRY_TIME); in nfs3_async_handle_jukebox()
431 static void nfs3_proc_unlink_rpc_prepare(struct rpc_task *task, struct nfs_unlinkdata *data) in nfs3_proc_unlink_rpc_prepare() argument
433 rpc_call_start(task); in nfs3_proc_unlink_rpc_prepare()
437 nfs3_proc_unlink_done(struct rpc_task *task, struct inode *dir) in nfs3_proc_unlink_done() argument
440 if (nfs3_async_handle_jukebox(task, dir)) in nfs3_proc_unlink_done()
442 res = task->tk_msg.rpc_resp; in nfs3_proc_unlink_done()
453 static void nfs3_proc_rename_rpc_prepare(struct rpc_task *task, struct nfs_renamedata *data) in nfs3_proc_rename_rpc_prepare() argument
455 rpc_call_start(task); in nfs3_proc_rename_rpc_prepare()
459 nfs3_proc_rename_done(struct rpc_task *task, struct inode *old_dir, in nfs3_proc_rename_done() argument
464 if (nfs3_async_handle_jukebox(task, old_dir)) in nfs3_proc_rename_done()
466 res = task->tk_msg.rpc_resp; in nfs3_proc_rename_done()
812 static int nfs3_read_done(struct rpc_task *task, struct nfs_read_data *data) in nfs3_read_done() argument
814 if (nfs3_async_handle_jukebox(task, data->inode)) in nfs3_read_done()
827 static void nfs3_proc_read_rpc_prepare(struct rpc_task *task, struct nfs_read_data *data) in nfs3_proc_read_rpc_prepare() argument
829 rpc_call_start(task); in nfs3_proc_read_rpc_prepare()
832 static int nfs3_write_done(struct rpc_task *task, struct nfs_write_data *data) in nfs3_write_done() argument
834 if (nfs3_async_handle_jukebox(task, data->inode)) in nfs3_write_done()
836 if (task->tk_status >= 0) in nfs3_write_done()
846 static void nfs3_proc_write_rpc_prepare(struct rpc_task *task, struct nfs_write_data *data) in nfs3_proc_write_rpc_prepare() argument
848 rpc_call_start(task); 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() argument
853 if (nfs3_async_handle_jukebox(task, data->inode)) in nfs3_commit_done()