Lines Matching refs:creds
169 struct svc_cred *creds) in gssx_dec_linux_creds() argument
190 creds->cr_uid = make_kuid(&init_user_ns, tmp); in gssx_dec_linux_creds()
196 creds->cr_gid = make_kgid(&init_user_ns, tmp); in gssx_dec_linux_creds()
205 creds->cr_group_info = groups_alloc(N); in gssx_dec_linux_creds()
206 if (creds->cr_group_info == NULL) in gssx_dec_linux_creds()
219 creds->cr_group_info->gid[i] = kgid; in gssx_dec_linux_creds()
221 groups_sort(creds->cr_group_info); in gssx_dec_linux_creds()
225 groups_free(creds->cr_group_info); in gssx_dec_linux_creds()
232 struct svc_cred *creds; in gssx_dec_option_array() local
251 creds = kzalloc(sizeof(struct svc_cred), GFP_KERNEL); in gssx_dec_option_array()
252 if (!creds) { in gssx_dec_option_array()
259 oa->data[0].value.data = (void *)creds; in gssx_dec_option_array()
279 err = gssx_dec_linux_creds(xdr, creds); in gssx_dec_option_array()