Lines Matching refs:task
21 struct rpc_task task; member
92 nfs_async_unlink_init(struct rpc_task *task) in nfs_async_unlink_init() argument
94 struct nfs_unlinkdata *data = (struct nfs_unlinkdata *)task->tk_calldata; in nfs_async_unlink_init()
107 rpc_call_setup(task, &msg, 0); in nfs_async_unlink_init()
110 rpc_exit(task, status); in nfs_async_unlink_init()
120 nfs_async_unlink_done(struct rpc_task *task) in nfs_async_unlink_done() argument
122 struct nfs_unlinkdata *data = (struct nfs_unlinkdata *)task->tk_calldata; in nfs_async_unlink_done()
126 if (nfs_async_handle_jukebox(task)) in nfs_async_unlink_done()
132 NFS_PROTO(dir_i)->unlink_done(dir, &task->tk_msg); in nfs_async_unlink_done()
146 nfs_async_unlink_release(struct rpc_task *task) in nfs_async_unlink_release() argument
148 struct nfs_unlinkdata *data = (struct nfs_unlinkdata *)task->tk_calldata; in nfs_async_unlink_release()
162 struct rpc_task *task; in nfs_async_unlink() local
178 task = &data->task; in nfs_async_unlink()
179 rpc_init_task(task, clnt, nfs_async_unlink_done , RPC_TASK_ASYNC); in nfs_async_unlink()
180 task->tk_calldata = data; in nfs_async_unlink()
181 task->tk_action = nfs_async_unlink_init; in nfs_async_unlink()
182 task->tk_release = nfs_async_unlink_release; in nfs_async_unlink()
187 rpc_sleep_on(&nfs_delete_queue, task, NULL, NULL); in nfs_async_unlink()
215 if (data->task.tk_rpcwait == &nfs_delete_queue) in nfs_complete_unlink()
216 rpc_wake_up_task(&data->task); in nfs_complete_unlink()