Lines Matching refs:kuid
399 * make_kuid - Map a user-namespace uid pair into a kuid.
403 * Maps a user-namespace uid pair into a kernel internal kuid,
404 * and returns that kuid.
419 * from_kuid - Create a uid from a kuid user-namespace pair.
421 * @kuid: The kernel internal uid to start with.
423 * Map @kuid into the user-namespace specified by @targ and
428 * If @kuid has no mapping in @targ (uid_t)-1 is returned.
430 uid_t from_kuid(struct user_namespace *targ, kuid_t kuid)
433 return map_id_up(&targ->uid_map, __kuid_val(kuid));
438 * from_kuid_munged - Create a uid from a kuid user-namespace pair.
440 * @kuid: The kernel internal uid to start with.
442 * Map @kuid into the user-namespace specified by @targ and
453 * If @kuid has no mapping in @targ overflowuid is returned.
455 uid_t from_kuid_munged(struct user_namespace *targ, kuid_t kuid)
458 uid = from_kuid(targ, kuid);
538 * Maps a user-namespace uid pair into a kernel internal kuid,
539 * and returns that kuid.