Searched refs:rq_cred (Results 1 – 19 of 19) sorted by relevance
/Linux-v5.4/fs/nfsd/ |
D | auth.c | 14 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()
|
D | nfs4idmap.c | 608 if (nfs4_disable_idmapping && rqstp->rq_cred.cr_flavor < RPC_AUTH_GSS) in do_name_to_id() 621 if (nfs4_disable_idmapping && rqstp->rq_cred.cr_flavor < RPC_AUTH_GSS) in encode_name_from_id()
|
D | export.c | 963 if (f->pseudoflavor == rqstp->rq_cred.cr_flavor) in check_nfsd_access() 968 if (rqstp->rq_cred.cr_flavor == RPC_AUTH_NULL || in check_nfsd_access() 969 rqstp->rq_cred.cr_flavor == RPC_AUTH_UNIX) in check_nfsd_access()
|
D | nfsfh.c | 95 if (rqstp->rq_cred.cr_flavor >= RPC_AUTH_GSS) in nfsd_originating_port_ok()
|
D | nfs4state.c | 2182 struct svc_cred *cr = &rqstp->rq_cred; in svc_rqst_integrity_protected() 2194 struct svc_cred *cr = &rqstp->rq_cred; in nfsd4_mach_creds_match() 2607 ret = copy_cred(&clp->cl_cred, &rqstp->rq_cred); in create_client() 2815 copy_cred(&slot->sl_cred, &resp->rqstp->rq_cred); in nfsd4_store_cache_entry() 3031 bool creds_match = same_creds(&conf->cl_cred, &rqstp->rq_cred); in nfsd4_exchange_id() 3302 if (!same_creds(&unconf->cl_cred, &rqstp->rq_cred) || in nfsd4_create_session() 3559 if (!same_creds(&rqstp->rq_cred, &slot->sl_cred)) in replay_matches_cache() 3817 if (!same_creds(&conf->cl_cred, &rqstp->rq_cred)) { in nfsd4_setclientid() 3881 if (unconf && !same_creds(&unconf->cl_cred, &rqstp->rq_cred)) in nfsd4_setclientid_confirm() 3883 if (conf && !same_creds(&conf->cl_cred, &rqstp->rq_cred)) in nfsd4_setclientid_confirm()
|
/Linux-v5.4/net/sunrpc/ |
D | auth.c | 726 put_rpccred(req->rq_cred); in rpcauth_bindcred() 727 req->rq_cred = new; in rpcauth_bindcred() 774 const struct rpc_credops *ops = task->tk_rqstp->rq_cred->cr_ops; in rpcauth_marshcred() 807 const struct rpc_credops *ops = task->tk_rqstp->rq_cred->cr_ops; in rpcauth_wrap_req() 824 const struct rpc_credops *ops = task->tk_rqstp->rq_cred->cr_ops; in rpcauth_checkverf() 855 const struct rpc_credops *ops = task->tk_rqstp->rq_cred->cr_ops; in rpcauth_unwrap_resp() 863 struct rpc_cred *cred = task->tk_rqstp->rq_cred; in rpcauth_xmit_need_reencode() 876 cred = task->tk_rqstp->rq_cred; in rpcauth_refreshcred() 881 cred = task->tk_rqstp->rq_cred; in rpcauth_refreshcred() 894 struct rpc_cred *cred = task->tk_rqstp->rq_cred; in rpcauth_invalcred() [all …]
|
D | svcauth_unix.c | 671 struct svc_cred *cred = &rqstp->rq_cred; in svcauth_unix_set_client() 739 struct svc_cred *cred = &rqstp->rq_cred; in svcauth_null_accept() 766 rqstp->rq_cred.cr_flavor = RPC_AUTH_NULL; in svcauth_null_accept() 776 if (rqstp->rq_cred.cr_group_info) in svcauth_null_release() 777 put_group_info(rqstp->rq_cred.cr_group_info); in svcauth_null_release() 778 rqstp->rq_cred.cr_group_info = NULL; in svcauth_null_release() 799 struct svc_cred *cred = &rqstp->rq_cred; in svcauth_unix_accept() 845 rqstp->rq_cred.cr_flavor = RPC_AUTH_UNIX; in svcauth_unix_accept() 861 if (rqstp->rq_cred.cr_group_info) in svcauth_unix_release() 862 put_group_info(rqstp->rq_cred.cr_group_info); in svcauth_unix_release() [all …]
|
D | auth_unix.c | 106 struct rpc_cred *cred = task->tk_rqstp->rq_cred; in unx_marshal() 160 set_bit(RPCAUTH_CRED_UPTODATE, &task->tk_rqstp->rq_cred->cr_flags); in unx_refresh() 167 struct rpc_auth *auth = task->tk_rqstp->rq_cred->cr_auth; in unx_validate()
|
D | auth_null.c | 85 set_bit(RPCAUTH_CRED_UPTODATE, &task->tk_rqstp->rq_cred->cr_flags); in nul_refresh()
|
D | svcauth.c | 76 init_svc_cred(&rqstp->rq_cred); in svc_authenticate()
|
D | xprt.c | 1818 if (req->rq_cred != NULL) in xprt_release() 1819 put_rpccred(req->rq_cred); in xprt_release()
|
D | clnt.c | 1250 hdrsize += RPC_REPHDRSIZE + req->rq_cred->cr_auth->au_ralign - 1; in rpc_prepare_reply_pages() 1787 const struct rpc_auth *auth = task->tk_rqstp->rq_cred->cr_auth; in call_allocate()
|
/Linux-v5.4/net/sunrpc/auth_gss/ |
D | auth_gss.c | 403 struct gss_cred *gss_cred = container_of(task->tk_rqstp->rq_cred, in gss_upcall_callback() 606 struct rpc_cred *cred = task->tk_rqstp->rq_cred; in gss_refresh_upcall() 1528 struct rpc_cred *cred = req->rq_cred; in gss_marshal() 1601 struct rpc_cred *oldcred = task->tk_rqstp->rq_cred; in gss_renew_cred() 1615 task->tk_rqstp->rq_cred = new; in gss_renew_cred() 1643 struct rpc_cred *cred = task->tk_rqstp->rq_cred; in gss_refresh() 1654 cred = task->tk_rqstp->rq_cred; in gss_refresh() 1673 struct rpc_cred *cred = task->tk_rqstp->rq_cred; in gss_validate() 1895 struct rpc_cred *cred = task->tk_rqstp->rq_cred; in gss_wrap_req() 2046 struct rpc_cred *cred = req->rq_cred; in gss_xmit_need_reencode() [all …]
|
D | svcauth_gss.c | 1535 rqstp->rq_cred = rsci->cred; in svcauth_gss_accept() 1564 rqstp->rq_cred.cr_flavor = gss_svc_to_pseudoflavor( in svcauth_gss_accept() 1777 if (rqstp->rq_cred.cr_group_info) in svcauth_gss_release() 1778 put_group_info(rqstp->rq_cred.cr_group_info); in svcauth_gss_release() 1779 rqstp->rq_cred.cr_group_info = NULL; in svcauth_gss_release()
|
/Linux-v5.4/fs/nfs/ |
D | callback.c | 384 char *p = rqstp->rq_cred.cr_principal; in check_gss_callback_principal()
|
D | nfs4proc.c | 6038 sc->sc_cred = get_rpccred(task->tk_rqstp->rq_cred); in nfs4_setclientid_done()
|
/Linux-v5.4/include/linux/sunrpc/ |
D | svc.h | 244 struct svc_cred rq_cred; /* auth info */ member
|
D | xprt.h | 77 struct rpc_cred * rq_cred; /* Bound cred */ member
|
/Linux-v5.4/net/sunrpc/xprtrdma/ |
D | rpc_rdma.c | 820 ddp_allowed = !(rqst->rq_cred->cr_auth->au_flags & in rpcrdma_marshal_req()
|