Lines Matching refs:rqstp
76 enum svc_auth_status svc_authenticate(struct svc_rqst *rqstp) in svc_authenticate() argument
81 rqstp->rq_auth_stat = rpc_auth_ok; in svc_authenticate()
87 if (xdr_stream_decode_u32(&rqstp->rq_arg_stream, &flavor) < 0) in svc_authenticate()
92 rqstp->rq_auth_stat = rpc_autherr_badcred; in svc_authenticate()
96 rqstp->rq_auth_slack = 0; in svc_authenticate()
97 init_svc_cred(&rqstp->rq_cred); in svc_authenticate()
99 rqstp->rq_authop = aops; in svc_authenticate()
100 return aops->accept(rqstp); in svc_authenticate()
113 enum svc_auth_status svc_set_client(struct svc_rqst *rqstp) in svc_set_client() argument
115 rqstp->rq_client = NULL; in svc_set_client()
116 return rqstp->rq_authop->set_client(rqstp); in svc_set_client()
126 int svc_authorise(struct svc_rqst *rqstp) in svc_authorise() argument
128 struct auth_ops *aops = rqstp->rq_authop; in svc_authorise()
131 rqstp->rq_authop = NULL; in svc_authorise()
134 rv = aops->release(rqstp); in svc_authorise()
169 rpc_authflavor_t svc_auth_flavor(struct svc_rqst *rqstp) in svc_auth_flavor() argument
171 struct auth_ops *aops = rqstp->rq_authop; in svc_auth_flavor()
175 return aops->pseudoflavor(rqstp); in svc_auth_flavor()