Lines Matching refs:task

419 gss_upcall_callback(struct rpc_task *task)  in gss_upcall_callback()  argument
421 struct gss_cred *gss_cred = container_of(task->tk_rqstp->rq_cred, in gss_upcall_callback()
429 task->tk_status = gss_msg->msg.errno; in gss_upcall_callback()
558 gss_refresh_upcall(struct rpc_task *task) in gss_refresh_upcall() argument
560 struct rpc_cred *cred = task->tk_rqstp->rq_cred; in gss_refresh_upcall()
570 task->tk_pid, __func__, from_kuid(&init_user_ns, cred->cr_uid)); in gss_refresh_upcall()
576 task->tk_timeout = 15*HZ; in gss_refresh_upcall()
577 rpc_sleep_on(&pipe_version_rpc_waitqueue, task, NULL); in gss_refresh_upcall()
587 rpc_sleep_on(&gss_cred->gc_upcall->rpc_waitqueue, task, NULL); in gss_refresh_upcall()
589 task->tk_timeout = 0; in gss_refresh_upcall()
593 rpc_sleep_on(&gss_msg->rpc_waitqueue, task, gss_upcall_callback); in gss_refresh_upcall()
602 task->tk_pid, __func__, in gss_refresh_upcall()
1212 struct rpc_task *task; in gss_destroying_context() local
1224 task = rpc_call_null(gss_auth->client, cred, RPC_TASK_ASYNC|RPC_TASK_SOFT); in gss_destroying_context()
1225 if (!IS_ERR(task)) in gss_destroying_context()
1226 rpc_put_task(task); in gss_destroying_context()
1477 gss_marshal(struct rpc_task *task, __be32 *p) in gss_marshal() argument
1479 struct rpc_rqst *req = task->tk_rqstp; in gss_marshal()
1490 dprintk("RPC: %5u %s\n", task->tk_pid, __func__); in gss_marshal()
1532 static int gss_renew_cred(struct rpc_task *task) in gss_renew_cred() argument
1534 struct rpc_cred *oldcred = task->tk_rqstp->rq_cred; in gss_renew_cred()
1549 task->tk_rqstp->rq_cred = new; in gss_renew_cred()
1575 gss_refresh(struct rpc_task *task) in gss_refresh() argument
1577 struct rpc_cred *cred = task->tk_rqstp->rq_cred; in gss_refresh()
1585 ret = gss_renew_cred(task); in gss_refresh()
1588 cred = task->tk_rqstp->rq_cred; in gss_refresh()
1592 ret = gss_refresh_upcall(task); in gss_refresh()
1599 gss_refresh_null(struct rpc_task *task) in gss_refresh_null() argument
1605 gss_validate(struct rpc_task *task, __be32 *p) in gss_validate() argument
1607 struct rpc_cred *cred = task->tk_rqstp->rq_cred; in gss_validate()
1617 dprintk("RPC: %5u %s\n", task->tk_pid, __func__); in gss_validate()
1624 seq = htonl(task->tk_rqstp->rq_seqno); in gss_validate()
1637 task->tk_pid, __func__, maj_stat); in gss_validate()
1645 task->tk_pid, __func__); in gss_validate()
1649 dprintk("RPC: %5u %s failed ret %ld.\n", task->tk_pid, __func__, in gss_validate()
1823 gss_wrap_req(struct rpc_task *task, in gss_wrap_req() argument
1826 struct rpc_cred *cred = task->tk_rqstp->rq_cred; in gss_wrap_req()
1832 dprintk("RPC: %5u %s\n", task->tk_pid, __func__); in gss_wrap_req()
1855 dprintk("RPC: %5u %s returning %d\n", task->tk_pid, __func__, status); in gss_wrap_req()
1935 gss_unwrap_resp(struct rpc_task *task, in gss_unwrap_resp() argument
1938 struct rpc_cred *cred = task->tk_rqstp->rq_cred; in gss_unwrap_resp()
1971 task->tk_pid, __func__, status); in gss_unwrap_resp()