Lines Matching refs:gid_t
27 gid_t val;
39 static inline gid_t __kgid_val(kgid_t gid) in __kgid_val()
49 static inline gid_t __kgid_val(kgid_t gid) in __kgid_val()
118 return __kgid_val(gid) != (gid_t) -1; in gid_valid()
124 extern kgid_t make_kgid(struct user_namespace *from, gid_t gid);
127 extern gid_t from_kgid(struct user_namespace *to, kgid_t gid);
129 extern gid_t from_kgid_munged(struct user_namespace *to, kgid_t gid);
138 return from_kgid(ns, gid) != (gid_t) -1; in kgid_has_mapping()
148 static inline kgid_t make_kgid(struct user_namespace *from, gid_t gid) in make_kgid()
158 static inline gid_t from_kgid(struct user_namespace *to, kgid_t kgid) in from_kgid()
171 static inline gid_t from_kgid_munged(struct user_namespace *to, kgid_t kgid) in from_kgid_munged()
173 gid_t gid = from_kgid(to, kgid); in from_kgid_munged()
174 if (gid == (gid_t)-1) in from_kgid_munged()