Searched refs:cl_cred (Results 1 – 9 of 9) sorted by relevance
938 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()
1159 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()
2137 free_svc_cred(&clp->cl_cred); in __free_client()2417 if (cl->cl_cred.cr_gss_mech != cr->cr_gss_mech) in nfsd4_mach_creds_match()2421 if (cl->cl_cred.cr_raw_principal) in nfsd4_mach_creds_match()2422 return 0 == strcmp(cl->cl_cred.cr_raw_principal, in nfsd4_mach_creds_match()2426 return 0 == strcmp(cl->cl_cred.cr_principal, cr->cr_principal); in nfsd4_mach_creds_match()2913 ret = copy_cred(&clp->cl_cred, &rqstp->rq_cred); in create_client()3324 if (!new->cl_cred.cr_principal && in nfsd4_exchange_id()3325 !new->cl_cred.cr_raw_principal) { in nfsd4_exchange_id()3345 bool creds_match = same_creds(&conf->cl_cred, &rqstp->rq_cred); in nfsd4_exchange_id()3626 if (!same_creds(&unconf->cl_cred, &rqstp->rq_cred) || in nfsd4_create_session()[all …]
352 struct svc_cred cl_cred; /* setclientid principal */ member
792 __entry->cl_flavor = clp->cl_cred.cr_flavor;853 __entry->flavor = clp->cl_cred.cr_flavor;
1190 if (old->client && old->client->cl_cred) in nfs_compare_userns()1191 oldns = old->client->cl_cred->user_ns; in nfs_compare_userns()1192 if (new->client && new->client->cl_cred) in nfs_compare_userns()1193 newns = new->client->cl_cred->user_ns; in nfs_compare_userns()
82 if (clnt && clnt->cl_cred) in rpc_userns()83 return clnt->cl_cred->user_ns; in rpc_userns()
466 idmap->user_ns = get_user_ns(clp->cl_rpcclient->cl_cred->user_ns); in nfs_idmap_new()
112 if (clnt && clnt->cl_cred) in rpc_userns()113 return clnt->cl_cred->user_ns; in rpc_userns()