• Home
  • Raw
  • Download

Lines Matching refs:task

610 rpcauth_bind_root_cred(struct rpc_task *task, int lookupflags)  in rpcauth_bind_root_cred()  argument
612 struct rpc_auth *auth = task->tk_client->cl_auth; in rpcauth_bind_root_cred()
624 rpcauth_bind_machine_cred(struct rpc_task *task, int lookupflags) in rpcauth_bind_machine_cred() argument
626 struct rpc_auth *auth = task->tk_client->cl_auth; in rpcauth_bind_machine_cred()
628 .principal = task->tk_client->cl_principal, in rpcauth_bind_machine_cred()
638 rpcauth_bind_new_cred(struct rpc_task *task, int lookupflags) in rpcauth_bind_new_cred() argument
640 struct rpc_auth *auth = task->tk_client->cl_auth; in rpcauth_bind_new_cred()
646 rpcauth_bindcred(struct rpc_task *task, const struct cred *cred, int flags) in rpcauth_bindcred() argument
648 struct rpc_rqst *req = task->tk_rqstp; in rpcauth_bindcred()
651 struct rpc_auth *auth = task->tk_client->cl_auth; in rpcauth_bindcred()
658 if (task->tk_op_cred) in rpcauth_bindcred()
660 new = get_rpccred(task->tk_op_cred); in rpcauth_bindcred()
664 new = rpcauth_bind_machine_cred(task, lookupflags); in rpcauth_bindcred()
670 new = rpcauth_bind_root_cred(task, lookupflags); in rpcauth_bindcred()
674 new = rpcauth_bind_new_cred(task, lookupflags); in rpcauth_bindcred()
723 int rpcauth_marshcred(struct rpc_task *task, struct xdr_stream *xdr) in rpcauth_marshcred() argument
725 const struct rpc_credops *ops = task->tk_rqstp->rq_cred->cr_ops; in rpcauth_marshcred()
727 return ops->crmarshal(task, xdr); in rpcauth_marshcred()
738 int rpcauth_wrap_req_encode(struct rpc_task *task, struct xdr_stream *xdr) in rpcauth_wrap_req_encode() argument
740 kxdreproc_t encode = task->tk_msg.rpc_proc->p_encode; in rpcauth_wrap_req_encode()
742 encode(task->tk_rqstp, xdr, task->tk_msg.rpc_argp); in rpcauth_wrap_req_encode()
756 int rpcauth_wrap_req(struct rpc_task *task, struct xdr_stream *xdr) in rpcauth_wrap_req() argument
758 const struct rpc_credops *ops = task->tk_rqstp->rq_cred->cr_ops; in rpcauth_wrap_req()
760 return ops->crwrap_req(task, xdr); in rpcauth_wrap_req()
773 rpcauth_checkverf(struct rpc_task *task, struct xdr_stream *xdr) in rpcauth_checkverf() argument
775 const struct rpc_credops *ops = task->tk_rqstp->rq_cred->cr_ops; in rpcauth_checkverf()
777 return ops->crvalidate(task, xdr); in rpcauth_checkverf()
788 rpcauth_unwrap_resp_decode(struct rpc_task *task, struct xdr_stream *xdr) in rpcauth_unwrap_resp_decode() argument
790 kxdrdproc_t decode = task->tk_msg.rpc_proc->p_decode; in rpcauth_unwrap_resp_decode()
792 return decode(task->tk_rqstp, xdr, task->tk_msg.rpc_resp); in rpcauth_unwrap_resp_decode()
804 rpcauth_unwrap_resp(struct rpc_task *task, struct xdr_stream *xdr) in rpcauth_unwrap_resp() argument
806 const struct rpc_credops *ops = task->tk_rqstp->rq_cred->cr_ops; in rpcauth_unwrap_resp()
808 return ops->crunwrap_resp(task, xdr); in rpcauth_unwrap_resp()
812 rpcauth_xmit_need_reencode(struct rpc_task *task) in rpcauth_xmit_need_reencode() argument
814 struct rpc_cred *cred = task->tk_rqstp->rq_cred; in rpcauth_xmit_need_reencode()
818 return cred->cr_ops->crneed_reencode(task); in rpcauth_xmit_need_reencode()
822 rpcauth_refreshcred(struct rpc_task *task) in rpcauth_refreshcred() argument
827 cred = task->tk_rqstp->rq_cred; in rpcauth_refreshcred()
829 err = rpcauth_bindcred(task, task->tk_msg.rpc_cred, task->tk_flags); in rpcauth_refreshcred()
832 cred = task->tk_rqstp->rq_cred; in rpcauth_refreshcred()
835 err = cred->cr_ops->crrefresh(task); in rpcauth_refreshcred()
838 task->tk_status = err; in rpcauth_refreshcred()
843 rpcauth_invalcred(struct rpc_task *task) in rpcauth_invalcred() argument
845 struct rpc_cred *cred = task->tk_rqstp->rq_cred; in rpcauth_invalcred()
852 rpcauth_uptodatecred(struct rpc_task *task) in rpcauth_uptodatecred() argument
854 struct rpc_cred *cred = task->tk_rqstp->rq_cred; in rpcauth_uptodatecred()