Searched refs:cl_cred (Results 1 – 13 of 13) sorted by relevance
| /linux/net/sunrpc/ |
| H A D | svcauth.c | 190 struct user_namespace *userns = clnt->cl_cred ? in svcauth_map_clnt_to_svc_cred_local() 191 clnt->cl_cred->user_ns : &init_user_ns; in svcauth_map_clnt_to_svc_cred_local()
|
| H A D | auth_unix.c | 118 struct user_namespace *userns = clnt->cl_cred ? in unx_marshal() 119 clnt->cl_cred->user_ns : &init_user_ns; in unx_marshal()
|
| H A D | clnt.c | 399 clnt->cl_cred = get_cred(args->cred); in rpc_new_client() 449 put_cred(clnt->cl_cred); in rpc_new_client() 692 .cred = clnt->cl_cred, in rpc_clone_client() 715 .cred = clnt->cl_cred, in rpc_clone_client_set_auth() 1014 put_cred(clnt->cl_cred); in rpc_free_client() 1091 .cred = old->cl_cred, in rpc_bind_new_program()
|
| H A D | rpcb_clnt.c | 737 clnt->cl_cred, in rpcb_getport_async()
|
| H A D | xprtsock.c | 2715 .cred = upper_clnt->cl_cred, in xs_tcp_tls_setup_socket()
|
| /linux/fs/nfsd/ |
| H A D | nfs4recover.c | 1067 if (clp->cl_cred.cr_raw_principal) in nfsd4_cld_create_v2() 1068 principal = clp->cl_cred.cr_raw_principal; in nfsd4_cld_create_v2() 1069 else if (clp->cl_cred.cr_principal) in nfsd4_cld_create_v2() 1070 principal = clp->cl_cred.cr_principal; in nfsd4_cld_create_v2() 1271 if (clp->cl_cred.cr_raw_principal) in nfsd4_cld_check_v2() 1272 principal = clp->cl_cred.cr_raw_principal; in nfsd4_cld_check_v2() 1273 else if (clp->cl_cred.cr_principal) in nfsd4_cld_check_v2() 1274 principal = clp->cl_cred.cr_principal; in nfsd4_cld_check_v2()
|
| H A D | nfs4callback.c | 1205 client->cl_principal = clp->cl_cred.cr_targ_princ ? in get_backchannel_cred() 1206 clp->cl_cred.cr_targ_princ : "nfs"; in get_backchannel_cred() 1246 if (!clp->cl_cred.cr_principal && in setup_callback_client() 1247 (clp->cl_cred.cr_flavor >= RPC_AUTH_GSS_KRB5)) { in setup_callback_client() 1251 args.client_name = clp->cl_cred.cr_principal; in setup_callback_client() 1254 args.authflavor = clp->cl_cred.cr_flavor; in setup_callback_client()
|
| H A D | nfs4state.c | 2767 free_svc_cred(&clp->cl_cred); in __free_client() 3091 if (cl->cl_cred.cr_gss_mech != cr->cr_gss_mech) in nfsd4_mach_creds_match() 3095 if (cl->cl_cred.cr_raw_principal) in nfsd4_mach_creds_match() 3096 return 0 == strcmp(cl->cl_cred.cr_raw_principal, in nfsd4_mach_creds_match() 3100 return 0 == strcmp(cl->cl_cred.cr_principal, cr->cr_principal); in nfsd4_mach_creds_match() 3909 ret = copy_cred(&clp->cl_cred, &rqstp->rq_cred); in create_client() 4316 if (!new->cl_cred.cr_principal && in nfsd4_exchange_id() 4317 !new->cl_cred.cr_raw_principal) { in nfsd4_exchange_id() 4337 bool creds_match = same_creds(&conf->cl_cred, &rqstp->rq_cred); in nfsd4_exchange_id() 4656 if (!same_creds(&unconf->cl_cred, &rqstp->rq_cred) || in nfsd4_create_session() [all …]
|
| H A D | state.h | 540 struct svc_cred cl_cred; /* setclientid principal */ member
|
| H A D | trace.h | 1026 __entry->cl_flavor = clp->cl_cred.cr_flavor; 1087 __entry->flavor = clp->cl_cred.cr_flavor;
|
| /linux/include/linux/sunrpc/ |
| H A D | clnt.h | 95 const struct cred *cl_cred; member
|
| /linux/fs/nfs/ |
| H A D | nfs2xdr.c | 78 if (clnt && clnt->cl_cred) in rpc_userns() 79 return clnt->cl_cred->user_ns; in rpc_userns()
|
| H A D | nfs4idmap.c | 453 idmap->user_ns = get_user_ns(clp->cl_rpcclient->cl_cred->user_ns); in nfs_idmap_new()
|