Lines Matching refs:kprojid
534 * make_kprojid - Map a user-namespace projid pair into a kprojid.
554 * from_kprojid - Create a projid from a kprojid user-namespace pair.
556 * @kprojid: The kernel internal project identifier to start with.
558 * Map @kprojid into the user-namespace specified by @targ and
563 * If @kprojid has no mapping in @targ (projid_t)-1 is returned.
565 projid_t from_kprojid(struct user_namespace *targ, kprojid_t kprojid)
568 return map_id_up(&targ->projid_map, __kprojid_val(kprojid));
573 * from_kprojid_munged - Create a projiid from a kprojid user-namespace pair.
575 * @kprojid: The kernel internal projid to start with.
577 * Map @kprojid into the user-namespace specified by @targ and
588 * If @kprojid has no mapping in @targ OVERFLOW_PROJID is returned.
590 projid_t from_kprojid_munged(struct user_namespace *targ, kprojid_t kprojid)
593 projid = from_kprojid(targ, kprojid);