Lines Matching defs:kuid
219 * make_kuid - Map a user-namespace uid pair into a kuid.
223 * Maps a user-namespace uid pair into a kernel internal kuid,
224 * and returns that kuid.
239 * from_kuid - Create a uid from a kuid user-namespace pair.
241 * @kuid: The kernel internal uid to start with.
243 * Map @kuid into the user-namespace specified by @targ and
248 * If @kuid has no mapping in @targ (uid_t)-1 is returned.
250 uid_t from_kuid(struct user_namespace *targ, kuid_t kuid)
253 return map_id_up(&targ->uid_map, __kuid_val(kuid));
258 * from_kuid_munged - Create a uid from a kuid user-namespace pair.
260 * @kuid: The kernel internal uid to start with.
262 * Map @kuid into the user-namespace specified by @targ and
273 * If @kuid has no mapping in @targ overflowuid is returned.
275 uid_t from_kuid_munged(struct user_namespace *targ, kuid_t kuid)
278 uid = from_kuid(targ, kuid);
358 * Maps a user-namespace uid pair into a kernel internal kuid,
359 * and returns that kuid.