Searched refs:cl_cred (Results 1 – 12 of 12) sorted by relevance
/linux/net/sunrpc/ |
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 | 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 | clnt.c | 398 clnt->cl_cred = get_cred(args->cred); in rpc_new_client() 448 put_cred(clnt->cl_cred); in rpc_new_client() 688 .cred = clnt->cl_cred, in rpc_clone_client() 711 .cred = clnt->cl_cred, in rpc_clone_client_set_auth() 1010 put_cred(clnt->cl_cred); in rpc_free_client() 1072 .cred = old->cl_cred, in rpc_bind_new_program()
|
H A D | rpcb_clnt.c | 733 clnt->cl_cred, in rpcb_getport_async()
|
H A D | xprtsock.c | 2682 .cred = upper_clnt->cl_cred, in xs_tcp_tls_setup_socket()
|
/linux/fs/nfsd/ |
H A D | nfs4callback.c | 1087 client->cl_principal = clp->cl_cred.cr_targ_princ ? in get_backchannel_cred() 1088 clp->cl_cred.cr_targ_princ : "nfs"; in get_backchannel_cred() 1127 if (!clp->cl_cred.cr_principal && in setup_callback_client() 1128 (clp->cl_cred.cr_flavor >= RPC_AUTH_GSS_KRB5)) { in setup_callback_client() 1132 args.client_name = clp->cl_cred.cr_principal; in setup_callback_client() 1135 args.authflavor = clp->cl_cred.cr_flavor; in setup_callback_client()
|
H A D | nfs4state.c | 2371 free_svc_cred(&clp->cl_cred); in __free_client() 2659 if (cl->cl_cred.cr_gss_mech != cr->cr_gss_mech) in nfsd4_mach_creds_match() 2663 if (cl->cl_cred.cr_raw_principal) in nfsd4_mach_creds_match() 2664 return 0 == strcmp(cl->cl_cred.cr_raw_principal, in nfsd4_mach_creds_match() 2668 return 0 == strcmp(cl->cl_cred.cr_principal, cr->cr_principal); in nfsd4_mach_creds_match() 3246 ret = copy_cred(&clp->cl_cred, &rqstp->rq_cred); in create_client() 3662 if (!new->cl_cred.cr_principal && in nfsd4_exchange_id() 3663 !new->cl_cred.cr_raw_principal) { in nfsd4_exchange_id() 3683 bool creds_match = same_creds(&conf->cl_cred, &rqstp->rq_cred); in nfsd4_exchange_id() 4002 if (!same_creds(&unconf->cl_cred, &rqstp->rq_cred) || in nfsd4_create_session() [all …]
|
/linux/fs/nfs/ |
H A D | super.c | 1227 if (old->client && old->client->cl_cred) in nfs_compare_userns() 1228 oldns = old->client->cl_cred->user_ns; in nfs_compare_userns() 1229 if (new->client && new->client->cl_cred) in nfs_compare_userns() 1230 newns = new->client->cl_cred->user_ns; in nfs_compare_userns()
|
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 | 466 idmap->user_ns = get_user_ns(clp->cl_rpcclient->cl_cred->user_ns); in nfs_idmap_new()
|
H A D | nfs3xdr.c | 109 if (clnt && clnt->cl_cred) in rpc_userns() 110 return clnt->cl_cred->user_ns; in rpc_userns()
|
/linux/include/linux/sunrpc/ |
H A D | clnt.h | 93 const struct cred *cl_cred; member
|