Searched refs:cl_cred (Results 1 – 12 of 12) sorted by relevance
110 struct user_namespace *userns = clnt->cl_cred ? in unx_marshal()111 clnt->cl_cred->user_ns : &init_user_ns; in unx_marshal()
398 clnt->cl_cred = get_cred(args->cred); in rpc_new_client()444 put_cred(clnt->cl_cred); in rpc_new_client()668 .cred = clnt->cl_cred, in rpc_clone_client()690 .cred = clnt->cl_cred, in rpc_clone_client_set_auth()898 put_cred(clnt->cl_cred); in rpc_free_client()963 .cred = old->cl_cred, in rpc_bind_new_program()
754 clnt->cl_cred); in rpcb_getport_async()
832 client->cl_principal = clp->cl_cred.cr_targ_princ ? in get_backchannel_cred()833 clp->cl_cred.cr_targ_princ : "nfs"; in get_backchannel_cred()872 if (!clp->cl_cred.cr_principal && in setup_callback_client()873 (clp->cl_cred.cr_flavor >= RPC_AUTH_GSS_KRB5)) in setup_callback_client()875 args.client_name = clp->cl_cred.cr_principal; in setup_callback_client()878 args.authflavor = clp->cl_cred.cr_flavor; in setup_callback_client()
1168 if (clp->cl_cred.cr_raw_principal) in nfsd4_cld_create_v2()1169 principal = clp->cl_cred.cr_raw_principal; in nfsd4_cld_create_v2()1170 else if (clp->cl_cred.cr_principal) in nfsd4_cld_create_v2()1171 principal = clp->cl_cred.cr_principal; in nfsd4_cld_create_v2()1378 if (clp->cl_cred.cr_raw_principal) in nfsd4_cld_check_v2()1379 principal = clp->cl_cred.cr_raw_principal; in nfsd4_cld_check_v2()1380 else if (clp->cl_cred.cr_principal) in nfsd4_cld_check_v2()1381 principal = clp->cl_cred.cr_principal; in nfsd4_cld_check_v2()
1922 free_svc_cred(&clp->cl_cred); in __free_client()2198 if (cl->cl_cred.cr_gss_mech != cr->cr_gss_mech) in nfsd4_mach_creds_match()2202 if (cl->cl_cred.cr_raw_principal) in nfsd4_mach_creds_match()2203 return 0 == strcmp(cl->cl_cred.cr_raw_principal, in nfsd4_mach_creds_match()2207 return 0 == strcmp(cl->cl_cred.cr_principal, cr->cr_principal); in nfsd4_mach_creds_match()2607 ret = copy_cred(&clp->cl_cred, &rqstp->rq_cred); in create_client()3011 if (!new->cl_cred.cr_principal && in nfsd4_exchange_id()3012 !new->cl_cred.cr_raw_principal) { in nfsd4_exchange_id()3031 bool creds_match = same_creds(&conf->cl_cred, &rqstp->rq_cred); in nfsd4_exchange_id()3302 if (!same_creds(&unconf->cl_cred, &rqstp->rq_cred) || in nfsd4_create_session()[all …]
316 struct svc_cred cl_cred; /* setclientid principal */ member
75 const struct cred *cl_cred; member
81 if (clnt && clnt->cl_cred) in rpc_userns()82 return clnt->cl_cred->user_ns; in rpc_userns()
2535 if (old->client && old->client->cl_cred) in nfs_compare_userns()2536 oldns = old->client->cl_cred->user_ns; in nfs_compare_userns()2537 if (new->client && new->client->cl_cred) in nfs_compare_userns()2538 newns = new->client->cl_cred->user_ns; in nfs_compare_userns()
465 idmap->cred = get_cred(clp->cl_rpcclient->cl_cred); in nfs_idmap_new()
109 if (clnt && clnt->cl_cred) in rpc_userns()110 return clnt->cl_cred->user_ns; in rpc_userns()