Lines Matching refs:cred
330 struct svc_cred cred; member
343 free_svc_cred(&rsci->cred); in rsc_free()
380 init_svc_cred(&new->cred); in rsc_init()
393 new->cred = tmp->cred; in update_rsc()
394 init_svc_cred(&tmp->cred); in update_rsc()
456 rsci.cred.cr_uid = make_kuid(&init_user_ns, id); in rsc_parse()
461 rsci.cred.cr_gid = make_kgid(&init_user_ns, id); in rsc_parse()
469 rsci.cred.cr_group_info = groups_alloc(N); in rsc_parse()
470 if (rsci.cred.cr_group_info == NULL) in rsc_parse()
482 rsci.cred.cr_group_info->gid[i] = kgid; in rsc_parse()
484 groups_sort(rsci.cred.cr_group_info); in rsc_parse()
490 gm = rsci.cred.cr_gss_mech = gss_mech_get_by_name(buf); in rsc_parse()
508 rsci.cred.cr_principal = kstrdup(buf, GFP_KERNEL); in rsc_parse()
509 if (!rsci.cred.cr_principal) { in rsc_parse()
1185 rsci.cred = ud->creds; in gss_proxy_save_rsc()
1193 rsci.cred.cr_gss_mech = gm; in gss_proxy_save_rsc()
1504 rqstp->rq_cred = rsci->cred; in svcauth_gss_accept()
1505 get_group_info(rsci->cred.cr_group_info); in svcauth_gss_accept()