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 GROUP_AT(creds->cr_group_info, i) = kgid; in gssx_dec_linux_creds()
237 groups_free(creds->cr_group_info); in gssx_dec_linux_creds()
244 struct svc_cred *creds; in gssx_dec_option_array() local
263 creds = kmalloc(sizeof(struct svc_cred), GFP_KERNEL); in gssx_dec_option_array()
264 if (!creds) { in gssx_dec_option_array()
271 oa->data[0].value.data = (void *)creds; in gssx_dec_option_array()
291 err = gssx_dec_linux_creds(xdr, creds); in gssx_dec_option_array()