Searched refs:rq_cred (Results 1 – 16 of 16) sorted by relevance
53 struct svc_cred rq_cred; in nfsd_open_local_fh() local80 svcauth_map_clnt_to_svc_cred_local(rpc_clnt, cred, &rq_cred); in nfsd_open_local_fh()82 beres = nfsd_file_acquire_local(net, &rq_cred, dom, in nfsd_open_local_fh()88 if (rq_cred.cr_group_info) in nfsd_open_local_fh()89 put_group_info(rq_cred.cr_group_info); in nfsd_open_local_fh()
1159 if (f->pseudoflavor == rqstp->rq_cred.cr_flavor) in check_security_flavor()1164 if (rqstp->rq_cred.cr_flavor == RPC_AUTH_NULL || in check_security_flavor()1165 rqstp->rq_cred.cr_flavor == RPC_AUTH_UNIX) in check_security_flavor()1187 rqstp->rq_cred.cr_flavor == RPC_AUTH_NULL || in check_security_flavor()1188 rqstp->rq_cred.cr_flavor == RPC_AUTH_UNIX)) { in check_security_flavor()
628 if (nfs4_disable_idmapping && rqstp->rq_cred.cr_flavor < RPC_AUTH_GSS) in do_name_to_id()641 if (nfs4_disable_idmapping && rqstp->rq_cred.cr_flavor < RPC_AUTH_GSS) in encode_name_from_id()
678 put_rpccred(req->rq_cred); in rpcauth_bindcred()679 req->rq_cred = new; in rpcauth_bindcred()726 const struct rpc_credops *ops = task->tk_rqstp->rq_cred->cr_ops; in rpcauth_marshcred()759 const struct rpc_credops *ops = task->tk_rqstp->rq_cred->cr_ops; in rpcauth_wrap_req()781 const struct rpc_credops *ops = task->tk_rqstp->rq_cred->cr_ops; in rpcauth_checkverf()812 const struct rpc_credops *ops = task->tk_rqstp->rq_cred->cr_ops; in rpcauth_unwrap_resp()820 struct rpc_cred *cred = task->tk_rqstp->rq_cred; in rpcauth_xmit_need_reencode()833 cred = task->tk_rqstp->rq_cred; in rpcauth_refreshcred()838 cred = task->tk_rqstp->rq_cred; in rpcauth_refreshcred()851 struct rpc_cred *cred = task->tk_rqstp->rq_cred; in rpcauth_invalcred()[all …]
675 struct svc_cred *cred = &rqstp->rq_cred; in svcauth_unix_set_client()758 struct svc_cred *cred = &rqstp->rq_cred; in svcauth_null_accept()791 rqstp->rq_cred.cr_flavor = RPC_AUTH_NULL; in svcauth_null_accept()801 if (rqstp->rq_cred.cr_group_info) in svcauth_null_release()802 put_group_info(rqstp->rq_cred.cr_group_info); in svcauth_null_release()803 rqstp->rq_cred.cr_group_info = NULL; in svcauth_null_release()835 struct svc_cred *cred = &rqstp->rq_cred; in svcauth_tls_accept()890 rqstp->rq_cred.cr_flavor = RPC_AUTH_TLS; in svcauth_tls_accept()920 struct svc_cred *cred = &rqstp->rq_cred; in svcauth_unix_accept()986 rqstp->rq_cred.cr_flavor = RPC_AUTH_UNIX; in svcauth_unix_accept()[all …]
114 struct rpc_cred *cred = task->tk_rqstp->rq_cred; in unx_marshal()168 set_bit(RPCAUTH_CRED_UPTODATE, &task->tk_rqstp->rq_cred->cr_flags); in unx_refresh()175 struct rpc_auth *auth = task->tk_rqstp->rq_cred->cr_auth; in unx_validate()
85 set_bit(RPCAUTH_CRED_UPTODATE, &task->tk_rqstp->rq_cred->cr_flags); in nul_refresh()
117 set_bit(RPCAUTH_CRED_UPTODATE, &task->tk_rqstp->rq_cred->cr_flags); in tls_refresh()
97 init_svc_cred(&rqstp->rq_cred); in svc_authenticate()
1363 hdrsize += RPC_REPHDRSIZE + req->rq_cred->cr_auth->au_ralign; in rpc_prepare_reply_pages()1881 const struct rpc_auth *auth = task->tk_rqstp->rq_cred->cr_auth; in call_allocate()2704 struct rpc_cred *cred = task->tk_rqstp->rq_cred; in rpc_decode_header()
2001 if (req->rq_cred != NULL) in xprt_release()2002 put_rpccred(req->rq_cred); in xprt_release()
395 struct gss_cred *gss_cred = container_of(task->tk_rqstp->rq_cred, in gss_upcall_callback()599 struct rpc_cred *cred = task->tk_rqstp->rq_cred; in gss_refresh_upcall()1532 struct rpc_cred *cred = req->rq_cred; in gss_marshal()1607 struct rpc_cred *oldcred = task->tk_rqstp->rq_cred; in gss_renew_cred()1622 task->tk_rqstp->rq_cred = new; in gss_renew_cred()1650 struct rpc_cred *cred = task->tk_rqstp->rq_cred; in gss_refresh()1661 cred = task->tk_rqstp->rq_cred; in gss_refresh()1696 struct rpc_cred *cred = task->tk_rqstp->rq_cred; in gss_validate()1916 struct rpc_cred *cred = task->tk_rqstp->rq_cred; in gss_wrap_req()2118 struct rpc_cred *cred = req->rq_cred; in gss_xmit_need_reencode()[all …]
1696 rqstp->rq_cred = rsci->cred; in svcauth_gss_accept()1723 rqstp->rq_cred.cr_flavor = gss_svc_to_pseudoflavor( in svcauth_gss_accept()1977 if (rqstp->rq_cred.cr_group_info) in svcauth_gss_release()1978 put_group_info(rqstp->rq_cred.cr_group_info); in svcauth_gss_release()1979 rqstp->rq_cred.cr_group_info = NULL; in svcauth_gss_release()
68 struct rpc_cred * rq_cred; /* Bound cred */ member
845 &rqst->rq_cred->cr_auth->au_flags); in rpcrdma_marshal_req()
6542 sc->sc_cred = get_rpccred(task->tk_rqstp->rq_cred); in nfs4_setclientid_done()