Home
last modified time | relevance | path

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

/linux/net/sunrpc/
H 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()
H A Dsvcauth.c190 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 Dclnt.c398 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 Drpcb_clnt.c733 clnt->cl_cred, in rpcb_getport_async()
H A Dxprtsock.c2682 .cred = upper_clnt->cl_cred, in xs_tcp_tls_setup_socket()
/linux/fs/nfsd/
H A Dnfs4callback.c1087 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 Dnfs4state.c2371 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 Dsuper.c1227 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 Dnfs2xdr.c78 if (clnt && clnt->cl_cred) in rpc_userns()
79 return clnt->cl_cred->user_ns; in rpc_userns()
H A Dnfs4idmap.c466 idmap->user_ns = get_user_ns(clp->cl_rpcclient->cl_cred->user_ns); in nfs_idmap_new()
H A Dnfs3xdr.c109 if (clnt && clnt->cl_cred) in rpc_userns()
110 return clnt->cl_cred->user_ns; in rpc_userns()
/linux/include/linux/sunrpc/
H A Dclnt.h93 const struct cred *cl_cred; member