Home
last modified time | relevance | path

Searched refs:rq_cred (Results 1 – 20 of 20) sorted by relevance

/linux-6.3-rc2/fs/nfsd/
A Dauth.c14 if (f->pseudoflavor == rqstp->rq_cred.cr_flavor) in nfsexp_flags()
37 new->fsuid = rqstp->rq_cred.cr_uid; in nfsd_setuser()
38 new->fsgid = rqstp->rq_cred.cr_gid; in nfsd_setuser()
40 rqgi = rqstp->rq_cred.cr_group_info; in nfsd_setuser()
A Dnfs4idmap.c623 if (nfs4_disable_idmapping && rqstp->rq_cred.cr_flavor < RPC_AUTH_GSS) in do_name_to_id()
636 if (nfs4_disable_idmapping && rqstp->rq_cred.cr_flavor < RPC_AUTH_GSS) in encode_name_from_id()
A Dexport.c1046 if (f->pseudoflavor == rqstp->rq_cred.cr_flavor) in check_nfsd_access()
1051 if (rqstp->rq_cred.cr_flavor == RPC_AUTH_NULL || in check_nfsd_access()
1052 rqstp->rq_cred.cr_flavor == RPC_AUTH_UNIX) in check_nfsd_access()
A Dnfsfh.c97 if (rqstp->rq_cred.cr_flavor >= RPC_AUTH_GSS) in nfsd_originating_port_ok()
A Dnfs4state.c2389 struct svc_cred *cr = &rqstp->rq_cred; in svc_rqst_integrity_protected()
2401 struct svc_cred *cr = &rqstp->rq_cred; in nfsd4_mach_creds_match()
2904 ret = copy_cred(&clp->cl_cred, &rqstp->rq_cred); in create_client()
3120 copy_cred(&slot->sl_cred, &resp->rqstp->rq_cred); in nfsd4_store_cache_entry()
3336 bool creds_match = same_creds(&conf->cl_cred, &rqstp->rq_cred); in nfsd4_exchange_id()
3617 if (!same_creds(&unconf->cl_cred, &rqstp->rq_cred) || in nfsd4_create_session()
3922 if (!same_creds(&rqstp->rq_cred, &slot->sl_cred)) in replay_matches_cache()
4180 if (!same_creds(&conf->cl_cred, &rqstp->rq_cred)) { in nfsd4_setclientid()
4244 if (unconf && !same_creds(&unconf->cl_cred, &rqstp->rq_cred)) { in nfsd4_setclientid_confirm()
4248 if (conf && !same_creds(&conf->cl_cred, &rqstp->rq_cred)) { in nfsd4_setclientid_confirm()
A Dtrace.h792 __entry->new_flavor = rqstp->rq_cred.cr_flavor;
/linux-6.3-rc2/net/sunrpc/
A Dauth.c681 put_rpccred(req->rq_cred); in rpcauth_bindcred()
682 req->rq_cred = new; in rpcauth_bindcred()
729 const struct rpc_credops *ops = task->tk_rqstp->rq_cred->cr_ops; in rpcauth_marshcred()
762 const struct rpc_credops *ops = task->tk_rqstp->rq_cred->cr_ops; in rpcauth_wrap_req()
779 const struct rpc_credops *ops = task->tk_rqstp->rq_cred->cr_ops; in rpcauth_checkverf()
810 const struct rpc_credops *ops = task->tk_rqstp->rq_cred->cr_ops; in rpcauth_unwrap_resp()
818 struct rpc_cred *cred = task->tk_rqstp->rq_cred; in rpcauth_xmit_need_reencode()
831 cred = task->tk_rqstp->rq_cred; in rpcauth_refreshcred()
836 cred = task->tk_rqstp->rq_cred; in rpcauth_refreshcred()
849 struct rpc_cred *cred = task->tk_rqstp->rq_cred; in rpcauth_invalcred()
[all …]
A Dsvcauth_unix.c665 struct svc_cred *cred = &rqstp->rq_cred; in svcauth_unix_set_client()
748 struct svc_cred *cred = &rqstp->rq_cred; in svcauth_null_accept()
781 rqstp->rq_cred.cr_flavor = RPC_AUTH_NULL; in svcauth_null_accept()
791 if (rqstp->rq_cred.cr_group_info) in svcauth_null_release()
793 rqstp->rq_cred.cr_group_info = NULL; in svcauth_null_release()
825 struct svc_cred *cred = &rqstp->rq_cred; in svcauth_tls_accept()
874 rqstp->rq_cred.cr_flavor = RPC_AUTH_TLS; in svcauth_tls_accept()
904 struct svc_cred *cred = &rqstp->rq_cred; in svcauth_unix_accept()
970 rqstp->rq_cred.cr_flavor = RPC_AUTH_UNIX; in svcauth_unix_accept()
986 if (rqstp->rq_cred.cr_group_info) in svcauth_unix_release()
[all …]
A Dauth_unix.c114 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()
A Dauth_null.c85 set_bit(RPCAUTH_CRED_UPTODATE, &task->tk_rqstp->rq_cred->cr_flags); in nul_refresh()
A Dsvcauth.c85 init_svc_cred(&rqstp->rq_cred); in svc_authenticate()
A Dxprt.c1972 if (req->rq_cred != NULL) in xprt_release()
1973 put_rpccred(req->rq_cred); in xprt_release()
A Dclnt.c1338 hdrsize += RPC_REPHDRSIZE + req->rq_cred->cr_auth->au_ralign; in rpc_prepare_reply_pages()
1846 const struct rpc_auth *auth = task->tk_rqstp->rq_cred->cr_auth; in call_allocate()
/linux-6.3-rc2/net/sunrpc/auth_gss/
A Dauth_gss.c393 struct gss_cred *gss_cred = container_of(task->tk_rqstp->rq_cred, in gss_upcall_callback()
596 struct rpc_cred *cred = task->tk_rqstp->rq_cred; in gss_refresh_upcall()
1538 struct rpc_cred *cred = req->rq_cred; in gss_marshal()
1611 struct rpc_cred *oldcred = task->tk_rqstp->rq_cred; in gss_renew_cred()
1626 task->tk_rqstp->rq_cred = new; in gss_renew_cred()
1654 struct rpc_cred *cred = task->tk_rqstp->rq_cred; in gss_refresh()
1665 cred = task->tk_rqstp->rq_cred; in gss_refresh()
1684 struct rpc_cred *cred = task->tk_rqstp->rq_cred; in gss_validate()
1909 struct rpc_cred *cred = task->tk_rqstp->rq_cred; in gss_wrap_req()
2111 struct rpc_cred *cred = req->rq_cred; in gss_xmit_need_reencode()
[all …]
A Dsvcauth_gss.c1710 rqstp->rq_cred = rsci->cred; in svcauth_gss_accept()
1737 rqstp->rq_cred.cr_flavor = gss_svc_to_pseudoflavor( in svcauth_gss_accept()
1994 if (rqstp->rq_cred.cr_group_info) in svcauth_gss_release()
1995 put_group_info(rqstp->rq_cred.cr_group_info); in svcauth_gss_release()
1996 rqstp->rq_cred.cr_group_info = NULL; in svcauth_gss_release()
/linux-6.3-rc2/fs/nfs/
A Dcallback.c344 char *p = rqstp->rq_cred.cr_principal; in check_gss_callback_principal()
A Dnfs4proc.c6401 sc->sc_cred = get_rpccred(task->tk_rqstp->rq_cred); in nfs4_setclientid_done()
/linux-6.3-rc2/include/linux/sunrpc/
A Dsvc.h212 struct svc_cred rq_cred; /* auth info */ member
A Dxprt.h76 struct rpc_cred * rq_cred; /* Bound cred */ member
/linux-6.3-rc2/net/sunrpc/xprtrdma/
A Drpc_rdma.c894 &rqst->rq_cred->cr_auth->au_flags); in rpcrdma_marshal_req()

Completed in 92 milliseconds