Home
last modified time | relevance | path

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

/linux-4.19.296/fs/nfsd/
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()
Dnfs4idmap.c607 if (nfs4_disable_idmapping && rqstp->rq_cred.cr_flavor < RPC_AUTH_GSS) in do_name_to_id()
620 if (nfs4_disable_idmapping && rqstp->rq_cred.cr_flavor < RPC_AUTH_GSS) in encode_name_from_id()
Dexport.c950 if (f->pseudoflavor == rqstp->rq_cred.cr_flavor) in check_nfsd_access()
955 if (rqstp->rq_cred.cr_flavor == RPC_AUTH_NULL || in check_nfsd_access()
956 rqstp->rq_cred.cr_flavor == RPC_AUTH_UNIX) in check_nfsd_access()
Dnfsfh.c95 if (rqstp->rq_cred.cr_flavor >= RPC_AUTH_GSS) in nfsd_originating_port_ok()
Dnfs4state.c2088 struct svc_cred *cr = &rqstp->rq_cred; in svc_rqst_integrity_protected()
2100 struct svc_cred *cr = &rqstp->rq_cred; in nfsd4_mach_creds_match()
2176 ret = copy_cred(&clp->cl_cred, &rqstp->rq_cred); in create_client()
2375 copy_cred(&slot->sl_cred, &resp->rqstp->rq_cred); in nfsd4_store_cache_entry()
2570 bool creds_match = same_creds(&conf->cl_cred, &rqstp->rq_cred); in nfsd4_exchange_id()
2842 if (!same_creds(&unconf->cl_cred, &rqstp->rq_cred) || in nfsd4_create_session()
3104 if (!same_creds(&rqstp->rq_cred, &slot->sl_cred)) in replay_matches_cache()
3361 if (!same_creds(&conf->cl_cred, &rqstp->rq_cred)) { in nfsd4_setclientid()
3425 if (unconf && !same_creds(&unconf->cl_cred, &rqstp->rq_cred)) in nfsd4_setclientid_confirm()
3427 if (conf && !same_creds(&conf->cl_cred, &rqstp->rq_cred)) in nfsd4_setclientid_confirm()
/linux-4.19.296/include/linux/sunrpc/
Dsvc.h244 struct svc_cred rq_cred; /* auth info */ member
Dxprt.h77 struct rpc_cred * rq_cred; /* Bound cred */ member
/linux-4.19.296/fs/nfs/
Dcallback.c379 char *p = rqstp->rq_cred.cr_principal; in check_gss_callback_principal()
Dnfs2xdr.c75 struct rpc_auth *auth = req->rq_cred->cr_auth; in prepare_reply_buffer()
Dnfs3xdr.c115 struct rpc_auth *auth = req->rq_cred->cr_auth; in prepare_reply_buffer()
Dnfs4xdr.c1018 struct rpc_auth *auth = req->rq_cred->cr_auth; in encode_compound_hdr()
Dnfs4proc.c5909 sc->sc_cred = get_rpccred(task->tk_rqstp->rq_cred); in nfs4_setclientid_done()