Lines Matching refs:task

657 rpcauth_generic_bind_cred(struct rpc_task *task, struct rpc_cred *cred, int lookupflags)  in rpcauth_generic_bind_cred()  argument
659 dprintk("RPC: %5u holding %s cred %p\n", task->tk_pid, in rpcauth_generic_bind_cred()
666 rpcauth_bind_root_cred(struct rpc_task *task, int lookupflags) in rpcauth_bind_root_cred() argument
668 struct rpc_auth *auth = task->tk_client->cl_auth; in rpcauth_bind_root_cred()
675 task->tk_pid, task->tk_client->cl_auth->au_ops->au_name); in rpcauth_bind_root_cred()
680 rpcauth_bind_new_cred(struct rpc_task *task, int lookupflags) in rpcauth_bind_new_cred() argument
682 struct rpc_auth *auth = task->tk_client->cl_auth; in rpcauth_bind_new_cred()
685 task->tk_pid, auth->au_ops->au_name); in rpcauth_bind_new_cred()
690 rpcauth_bindcred(struct rpc_task *task, struct rpc_cred *cred, int flags) in rpcauth_bindcred() argument
692 struct rpc_rqst *req = task->tk_rqstp; in rpcauth_bindcred()
699 new = cred->cr_ops->crbind(task, cred, lookupflags); in rpcauth_bindcred()
701 new = rpcauth_bind_root_cred(task, lookupflags); in rpcauth_bindcred()
703 new = rpcauth_bind_new_cred(task, lookupflags); in rpcauth_bindcred()
749 rpcauth_marshcred(struct rpc_task *task, __be32 *p) in rpcauth_marshcred() argument
751 struct rpc_cred *cred = task->tk_rqstp->rq_cred; in rpcauth_marshcred()
754 task->tk_pid, cred->cr_auth->au_ops->au_name, cred); in rpcauth_marshcred()
756 return cred->cr_ops->crmarshal(task, p); in rpcauth_marshcred()
760 rpcauth_checkverf(struct rpc_task *task, __be32 *p) in rpcauth_checkverf() argument
762 struct rpc_cred *cred = task->tk_rqstp->rq_cred; in rpcauth_checkverf()
765 task->tk_pid, cred->cr_auth->au_ops->au_name, cred); in rpcauth_checkverf()
767 return cred->cr_ops->crvalidate(task, p); in rpcauth_checkverf()
780 rpcauth_wrap_req(struct rpc_task *task, kxdreproc_t encode, void *rqstp, in rpcauth_wrap_req() argument
783 struct rpc_cred *cred = task->tk_rqstp->rq_cred; in rpcauth_wrap_req()
786 task->tk_pid, cred->cr_ops->cr_name, cred); in rpcauth_wrap_req()
788 return cred->cr_ops->crwrap_req(task, encode, rqstp, data, obj); in rpcauth_wrap_req()
805 rpcauth_unwrap_resp(struct rpc_task *task, kxdrdproc_t decode, void *rqstp, in rpcauth_unwrap_resp() argument
808 struct rpc_cred *cred = task->tk_rqstp->rq_cred; in rpcauth_unwrap_resp()
811 task->tk_pid, cred->cr_ops->cr_name, cred); in rpcauth_unwrap_resp()
813 return cred->cr_ops->crunwrap_resp(task, decode, rqstp, in rpcauth_unwrap_resp()
820 rpcauth_refreshcred(struct rpc_task *task) in rpcauth_refreshcred() argument
825 cred = task->tk_rqstp->rq_cred; in rpcauth_refreshcred()
827 err = rpcauth_bindcred(task, task->tk_msg.rpc_cred, task->tk_flags); in rpcauth_refreshcred()
830 cred = task->tk_rqstp->rq_cred; in rpcauth_refreshcred()
833 task->tk_pid, cred->cr_auth->au_ops->au_name, 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()
848 task->tk_pid, cred->cr_auth->au_ops->au_name, cred); in rpcauth_invalcred()
854 rpcauth_uptodatecred(struct rpc_task *task) in rpcauth_uptodatecred() argument
856 struct rpc_cred *cred = task->tk_rqstp->rq_cred; in rpcauth_uptodatecred()