Lines Matching refs:creds
182 struct svc_cred *creds) in gssx_dec_linux_creds() argument
203 creds->cr_uid = make_kuid(&init_user_ns, tmp); in gssx_dec_linux_creds()
209 creds->cr_gid = make_kgid(&init_user_ns, tmp); in gssx_dec_linux_creds()
218 creds->cr_group_info = groups_alloc(N); in gssx_dec_linux_creds()
219 if (creds->cr_group_info == NULL) in gssx_dec_linux_creds()
232 creds->cr_group_info->gid[i] = kgid; in gssx_dec_linux_creds()
234 groups_sort(creds->cr_group_info); in gssx_dec_linux_creds()
238 groups_free(creds->cr_group_info); in gssx_dec_linux_creds()
245 struct svc_cred *creds; in gssx_dec_option_array() local
264 creds = kzalloc(sizeof(struct svc_cred), GFP_KERNEL); in gssx_dec_option_array()
265 if (!creds) { in gssx_dec_option_array()
272 oa->data[0].value.data = (void *)creds; in gssx_dec_option_array()
292 err = gssx_dec_linux_creds(xdr, creds); in gssx_dec_option_array()