Lines Matching refs:cred
371 struct svc_cred cred; member
385 free_svc_cred(&rsci->cred); in rsc_free()
402 free_svc_cred(&rsci->cred); in rsc_put()
432 init_svc_cred(&new->cred); in rsc_init()
445 new->cred = tmp->cred; in update_rsc()
446 init_svc_cred(&tmp->cred); in update_rsc()
513 rsci.cred.cr_uid = make_kuid(current_user_ns(), id); in rsc_parse()
518 rsci.cred.cr_gid = make_kgid(current_user_ns(), id); in rsc_parse()
526 rsci.cred.cr_group_info = groups_alloc(N); in rsc_parse()
527 if (rsci.cred.cr_group_info == NULL) in rsc_parse()
539 rsci.cred.cr_group_info->gid[i] = kgid; in rsc_parse()
541 groups_sort(rsci.cred.cr_group_info); in rsc_parse()
547 gm = rsci.cred.cr_gss_mech = gss_mech_get_by_name(buf); in rsc_parse()
565 rsci.cred.cr_principal = kstrdup(buf, GFP_KERNEL); in rsc_parse()
566 if (!rsci.cred.cr_principal) { in rsc_parse()
1265 rsci.cred = ud->creds; in gss_proxy_save_rsc()
1273 rsci.cred.cr_gss_mech = gm; in gss_proxy_save_rsc()
1704 rqstp->rq_cred = rsci->cred; in svcauth_gss_accept()
1705 get_group_info(rsci->cred.cr_group_info); in svcauth_gss_accept()