Home
last modified time | relevance | path

Searched refs:cl_cred (Results 1 – 13 of 13) sorted by relevance

/linux-6.3-rc2/net/sunrpc/
A Dauth_unix.c118 struct user_namespace *userns = clnt->cl_cred ? in unx_marshal()
119 clnt->cl_cred->user_ns : &init_user_ns; in unx_marshal()
A Dclnt.c393 clnt->cl_cred = get_cred(args->cred); in rpc_new_client()
443 put_cred(clnt->cl_cred); in rpc_new_client()
676 .cred = clnt->cl_cred, in rpc_clone_client()
698 .cred = clnt->cl_cred, in rpc_clone_client_set_auth()
981 put_cred(clnt->cl_cred); in rpc_free_client()
1043 .cred = old->cl_cred, in rpc_bind_new_program()
A Drpcb_clnt.c710 clnt->cl_cred, in rpcb_getport_async()
/linux-6.3-rc2/fs/nfsd/
A Dnfs4callback.c938 client->cl_principal = clp->cl_cred.cr_targ_princ ? in get_backchannel_cred()
939 clp->cl_cred.cr_targ_princ : "nfs"; in get_backchannel_cred()
978 if (!clp->cl_cred.cr_principal && in setup_callback_client()
979 (clp->cl_cred.cr_flavor >= RPC_AUTH_GSS_KRB5)) { in setup_callback_client()
983 args.client_name = clp->cl_cred.cr_principal; in setup_callback_client()
986 args.authflavor = clp->cl_cred.cr_flavor; in setup_callback_client()
A Dnfs4recover.c1159 if (clp->cl_cred.cr_raw_principal) in nfsd4_cld_create_v2()
1160 principal = clp->cl_cred.cr_raw_principal; in nfsd4_cld_create_v2()
1161 else if (clp->cl_cred.cr_principal) in nfsd4_cld_create_v2()
1162 principal = clp->cl_cred.cr_principal; in nfsd4_cld_create_v2()
1366 if (clp->cl_cred.cr_raw_principal) in nfsd4_cld_check_v2()
1367 principal = clp->cl_cred.cr_raw_principal; in nfsd4_cld_check_v2()
1368 else if (clp->cl_cred.cr_principal) in nfsd4_cld_check_v2()
1369 principal = clp->cl_cred.cr_principal; in nfsd4_cld_check_v2()
A Dnfs4state.c2125 free_svc_cred(&clp->cl_cred); in __free_client()
2405 if (cl->cl_cred.cr_gss_mech != cr->cr_gss_mech) in nfsd4_mach_creds_match()
2409 if (cl->cl_cred.cr_raw_principal) in nfsd4_mach_creds_match()
2410 return 0 == strcmp(cl->cl_cred.cr_raw_principal, in nfsd4_mach_creds_match()
2904 ret = copy_cred(&clp->cl_cred, &rqstp->rq_cred); in create_client()
3315 if (!new->cl_cred.cr_principal && in nfsd4_exchange_id()
3316 !new->cl_cred.cr_raw_principal) { in nfsd4_exchange_id()
3617 if (!same_creds(&unconf->cl_cred, &rqstp->rq_cred) || in nfsd4_create_session()
4180 if (!same_creds(&conf->cl_cred, &rqstp->rq_cred)) { in nfsd4_setclientid()
4269 && !same_creds(&unconf->cl_cred, in nfsd4_setclientid_confirm()
[all …]
A Dstate.h352 struct svc_cred cl_cred; /* setclientid principal */ member
A Dtrace.h791 __entry->cl_flavor = clp->cl_cred.cr_flavor;
852 __entry->flavor = clp->cl_cred.cr_flavor;
/linux-6.3-rc2/include/linux/sunrpc/
A Dclnt.h85 const struct cred *cl_cred; member
/linux-6.3-rc2/fs/nfs/
A Dsuper.c1186 if (old->client && old->client->cl_cred) in nfs_compare_userns()
1187 oldns = old->client->cl_cred->user_ns; in nfs_compare_userns()
1188 if (new->client && new->client->cl_cred) in nfs_compare_userns()
1189 newns = new->client->cl_cred->user_ns; in nfs_compare_userns()
A Dnfs2xdr.c82 if (clnt && clnt->cl_cred) in rpc_userns()
83 return clnt->cl_cred->user_ns; in rpc_userns()
A Dnfs4idmap.c466 idmap->user_ns = get_user_ns(clp->cl_rpcclient->cl_cred->user_ns); in nfs_idmap_new()
A Dnfs3xdr.c112 if (clnt && clnt->cl_cred) in rpc_userns()
113 return clnt->cl_cred->user_ns; in rpc_userns()

Completed in 52 milliseconds