Lines Matching defs:cred
345 struct svc_cred cred;
359 free_svc_cred(&rsci->cred);
376 free_svc_cred(&rsci->cred);
406 init_svc_cred(&new->cred);
419 new->cred = tmp->cred;
420 init_svc_cred(&tmp->cred);
487 rsci.cred.cr_uid = make_kuid(current_user_ns(), id);
492 rsci.cred.cr_gid = make_kgid(current_user_ns(), id);
500 rsci.cred.cr_group_info = groups_alloc(N);
501 if (rsci.cred.cr_group_info == NULL)
513 rsci.cred.cr_group_info->gid[i] = kgid;
515 groups_sort(rsci.cred.cr_group_info);
521 gm = rsci.cred.cr_gss_mech = gss_mech_get_by_name(buf);
539 rsci.cred.cr_principal = kstrdup(buf, GFP_KERNEL);
540 if (!rsci.cred.cr_principal) {
1025 /* decoded gss client cred: */
1228 * Having read the cred already and found we're in the context
1311 rsci.cred = ud->creds;
1319 rsci.cred.cr_gss_mech = gm;
1628 rqstp->rq_cred = rsci->cred;
1629 get_group_info(rsci->cred.cr_group_info);