Lines Matching refs:kqid
13 bool qid_eq(struct kqid left, struct kqid right) in qid_eq()
37 bool qid_lt(struct kqid left, struct kqid right) in qid_lt()
68 qid_t from_kqid(struct user_namespace *targ, struct kqid kqid) in from_kqid() argument
70 switch (kqid.type) { in from_kqid()
72 return from_kuid(targ, kqid.uid); in from_kqid()
74 return from_kgid(targ, kqid.gid); in from_kqid()
76 return from_kprojid(targ, kqid.projid); in from_kqid()
101 qid_t from_kqid_munged(struct user_namespace *targ, struct kqid kqid) in from_kqid_munged() argument
103 switch (kqid.type) { in from_kqid_munged()
105 return from_kuid_munged(targ, kqid.uid); in from_kqid_munged()
107 return from_kgid_munged(targ, kqid.gid); in from_kqid_munged()
109 return from_kprojid_munged(targ, kqid.projid); in from_kqid_munged()
120 bool qid_valid(struct kqid qid) in qid_valid()