Searched refs:kprojid (Results 1 - 3 of 3) sorted by relevance

/linux-4.1.27/include/linux/
H A Dprojid.h69 static inline projid_t from_kprojid(struct user_namespace *to, kprojid_t kprojid) from_kprojid() argument
71 return __kprojid_val(kprojid); from_kprojid()
74 static inline projid_t from_kprojid_munged(struct user_namespace *to, kprojid_t kprojid) from_kprojid_munged() argument
76 projid_t projid = from_kprojid(to, kprojid); from_kprojid_munged()
H A Dquota.h172 * @projid: The kprojid to make the quota identifier from
/linux-4.1.27/kernel/
H A Duser_namespace.c361 * make_kprojid - Map a user-namespace projid pair into a kprojid.
381 * from_kprojid - Create a projid from a kprojid user-namespace pair.
383 * @kprojid: The kernel internal project identifier to start with.
385 * Map @kprojid into the user-namespace specified by @targ and
390 * If @kprojid has no mapping in @targ (projid_t)-1 is returned.
392 projid_t from_kprojid(struct user_namespace *targ, kprojid_t kprojid) from_kprojid() argument
395 return map_id_up(&targ->projid_map, __kprojid_val(kprojid)); from_kprojid()
400 * from_kprojid_munged - Create a projiid from a kprojid user-namespace pair.
402 * @kprojid: The kernel internal projid to start with.
404 * Map @kprojid into the user-namespace specified by @targ and
415 * If @kprojid has no mapping in @targ OVERFLOW_PROJID is returned.
417 projid_t from_kprojid_munged(struct user_namespace *targ, kprojid_t kprojid) from_kprojid_munged() argument
420 projid = from_kprojid(targ, kprojid); from_kprojid_munged()

Completed in 143 milliseconds