Lines Matching refs:task
41 rpc_getport(struct rpc_task *task, struct rpc_clnt *clnt) in rpc_getport() argument
50 task->tk_pid, clnt->cl_server, in rpc_getport()
55 rpc_sleep_on(&clnt->cl_bindwait, task, NULL, 0); in rpc_getport()
62 task->tk_status = -EACCES; /* why set this? returns -EIO below */ in rpc_getport()
65 task->tk_status = 0; in rpc_getport()
70 if (!(child = rpc_new_child(pmap_clnt, task))) in rpc_getport()
77 rpc_run_child(task, child, pmap_getport_done); in rpc_getport()
85 task->tk_status = -EIO; in rpc_getport()
86 task->tk_action = NULL; in rpc_getport()
118 pmap_getport_done(struct rpc_task *task) in pmap_getport_done() argument
120 struct rpc_clnt *clnt = task->tk_client; in pmap_getport_done()
123 task->tk_pid, task->tk_status, clnt->cl_port); in pmap_getport_done()
124 if (task->tk_status < 0) { in pmap_getport_done()
126 task->tk_action = NULL; in pmap_getport_done()
129 task->tk_status = -EACCES; in pmap_getport_done()
130 task->tk_action = NULL; in pmap_getport_done()