Lines Matching defs:targ
58 * @targ: The user namespace we want a qid in.
61 * Map @kqid into the user-namespace specified by @targ and
66 * If @kqid has no mapping in @targ (qid_t)-1 is returned.
68 qid_t from_kqid(struct user_namespace *targ, struct kqid kqid)
72 return from_kuid(targ, kqid.uid);
74 return from_kgid(targ, kqid.gid);
76 return from_kprojid(targ, kqid.projid);
85 * @targ: The user namespace we want a qid in.
88 * Map @kqid into the user-namespace specified by @targ and
98 * If @kqid has no mapping in @targ the kqid.type specific
101 qid_t from_kqid_munged(struct user_namespace *targ, struct kqid kqid)
105 return from_kuid_munged(targ, kqid.uid);
107 return from_kgid_munged(targ, kqid.gid);
109 return from_kprojid_munged(targ, kqid.projid);