• Home
  • Raw
  • Download

Lines Matching refs:task

374 gss_upcall_callback(struct rpc_task *task)  in gss_upcall_callback()  argument
376 struct gss_cred *gss_cred = container_of(task->tk_rqstp->rq_cred, in gss_upcall_callback()
384 task->tk_status = gss_msg->msg.errno; in gss_upcall_callback()
577 gss_refresh_upcall(struct rpc_task *task) in gss_refresh_upcall() argument
579 struct rpc_cred *cred = task->tk_rqstp->rq_cred; in gss_refresh_upcall()
594 task, NULL, jiffies + (15 * HZ)); in gss_refresh_upcall()
605 rpc_sleep_on(&gss_cred->gc_upcall->rpc_waitqueue, task, NULL); in gss_refresh_upcall()
610 rpc_sleep_on(&gss_msg->rpc_waitqueue, task, gss_upcall_callback); in gss_refresh_upcall()
1270 struct rpc_task *task; in gss_send_destroy_context() local
1277 task = rpc_call_null(gss_auth->client, &new->gc_base, in gss_send_destroy_context()
1279 if (!IS_ERR(task)) in gss_send_destroy_context()
1280 rpc_put_task(task); in gss_send_destroy_context()
1515 static int gss_marshal(struct rpc_task *task, struct xdr_stream *xdr) in gss_marshal() argument
1517 struct rpc_rqst *req = task->tk_rqstp; in gss_marshal()
1543 trace_rpcgss_seqno(task); in gss_marshal()
1584 trace_rpcgss_get_mic(task, maj_stat); in gss_marshal()
1589 static int gss_renew_cred(struct rpc_task *task) in gss_renew_cred() argument
1591 struct rpc_cred *oldcred = task->tk_rqstp->rq_cred; in gss_renew_cred()
1606 task->tk_rqstp->rq_cred = new; in gss_renew_cred()
1632 gss_refresh(struct rpc_task *task) in gss_refresh() argument
1634 struct rpc_cred *cred = task->tk_rqstp->rq_cred; in gss_refresh()
1642 ret = gss_renew_cred(task); in gss_refresh()
1645 cred = task->tk_rqstp->rq_cred; in gss_refresh()
1649 ret = gss_refresh_upcall(task); in gss_refresh()
1656 gss_refresh_null(struct rpc_task *task) in gss_refresh_null() argument
1662 gss_validate(struct rpc_task *task, struct xdr_stream *xdr) in gss_validate() argument
1664 struct rpc_cred *cred = task->tk_rqstp->rq_cred; in gss_validate()
1688 *seq = cpu_to_be32(task->tk_rqstp->rq_seqno); in gss_validate()
1714 trace_rpcgss_verify_mic(task, maj_stat); in gss_validate()
1721 struct rpc_task *task, struct xdr_stream *xdr) in gss_wrap_req_integ() argument
1723 struct rpc_rqst *rqstp = task->tk_rqstp; in gss_wrap_req_integ()
1735 if (rpcauth_wrap_req_encode(task, xdr)) in gss_wrap_req_integ()
1760 trace_rpcgss_get_mic(task, maj_stat); in gss_wrap_req_integ()
1814 struct rpc_task *task, struct xdr_stream *xdr) in gss_wrap_req_priv() argument
1816 struct rpc_rqst *rqstp = task->tk_rqstp; in gss_wrap_req_priv()
1832 if (rpcauth_wrap_req_encode(task, xdr)) in gss_wrap_req_priv()
1883 trace_rpcgss_wrap(task, maj_stat); in gss_wrap_req_priv()
1887 static int gss_wrap_req(struct rpc_task *task, struct xdr_stream *xdr) in gss_wrap_req() argument
1889 struct rpc_cred *cred = task->tk_rqstp->rq_cred; in gss_wrap_req()
1900 status = rpcauth_wrap_req_encode(task, xdr); in gss_wrap_req()
1905 status = rpcauth_wrap_req_encode(task, xdr); in gss_wrap_req()
1908 status = gss_wrap_req_integ(cred, ctx, task, xdr); in gss_wrap_req()
1911 status = gss_wrap_req_priv(cred, ctx, task, xdr); in gss_wrap_req()
1929 static void gss_update_rslack(struct rpc_task *task, struct rpc_cred *cred, in gss_update_rslack() argument
1937 trace_rpcgss_update_slack(task, auth); in gss_update_rslack()
1942 gss_unwrap_resp_auth(struct rpc_task *task, struct rpc_cred *cred) in gss_unwrap_resp_auth() argument
1944 gss_update_rslack(task, cred, 0, 0); in gss_unwrap_resp_auth()
1962 gss_unwrap_resp_integ(struct rpc_task *task, struct rpc_cred *cred, in gss_unwrap_resp_integ() argument
2015 gss_update_rslack(task, cred, 2, 2 + 1 + XDR_QUADLEN(mic.len)); in gss_unwrap_resp_integ()
2023 trace_rpcgss_unwrap_failed(task); in gss_unwrap_resp_integ()
2026 trace_rpcgss_bad_seqno(task, rqstp->rq_seqno, seqno); in gss_unwrap_resp_integ()
2029 trace_rpcgss_verify_mic(task, maj_stat); in gss_unwrap_resp_integ()
2034 gss_unwrap_resp_priv(struct rpc_task *task, struct rpc_cred *cred, in gss_unwrap_resp_priv() argument
2066 gss_update_rslack(task, cred, 2 + ctx->gc_gss_ctx->align, in gss_unwrap_resp_priv()
2071 trace_rpcgss_unwrap_failed(task); in gss_unwrap_resp_priv()
2074 trace_rpcgss_bad_seqno(task, rqstp->rq_seqno, be32_to_cpup(--p)); in gss_unwrap_resp_priv()
2077 trace_rpcgss_unwrap(task, maj_stat); in gss_unwrap_resp_priv()
2088 gss_xmit_need_reencode(struct rpc_task *task) in gss_xmit_need_reencode() argument
2090 struct rpc_rqst *req = task->tk_rqstp; in gss_xmit_need_reencode()
2120 trace_rpcgss_need_reencode(task, seq_xmit, ret); in gss_xmit_need_reencode()
2125 gss_unwrap_resp(struct rpc_task *task, struct xdr_stream *xdr) in gss_unwrap_resp() argument
2127 struct rpc_rqst *rqstp = task->tk_rqstp; in gss_unwrap_resp()
2138 status = gss_unwrap_resp_auth(task, cred); in gss_unwrap_resp()
2141 status = gss_unwrap_resp_integ(task, cred, ctx, rqstp, xdr); in gss_unwrap_resp()
2144 status = gss_unwrap_resp_priv(task, cred, ctx, rqstp, xdr); in gss_unwrap_resp()
2151 status = rpcauth_unwrap_resp_decode(task, xdr); in gss_unwrap_resp()