Lines Matching refs:idmap
118 vfsuid_t make_vfsuid(struct mnt_idmap *idmap,
121 vfsgid_t make_vfsgid(struct mnt_idmap *idmap,
124 kuid_t from_vfsuid(struct mnt_idmap *idmap,
127 kgid_t from_vfsgid(struct mnt_idmap *idmap,
142 static inline bool vfsuid_has_fsmapping(struct mnt_idmap *idmap, in vfsuid_has_fsmapping() argument
146 return uid_valid(from_vfsuid(idmap, fs_userns, vfsuid)); in vfsuid_has_fsmapping()
180 static inline bool vfsgid_has_fsmapping(struct mnt_idmap *idmap, in vfsgid_has_fsmapping() argument
184 return gid_valid(from_vfsgid(idmap, fs_userns, vfsgid)); in vfsgid_has_fsmapping()
219 static inline kuid_t mapped_fsuid(struct mnt_idmap *idmap, in mapped_fsuid() argument
222 return from_vfsuid(idmap, fs_userns, VFSUIDT_INIT(current_fsuid())); in mapped_fsuid()
238 static inline kgid_t mapped_fsgid(struct mnt_idmap *idmap, in mapped_fsgid() argument
241 return from_vfsgid(idmap, fs_userns, VFSGIDT_INIT(current_fsgid())); in mapped_fsgid()
244 bool check_fsmapping(const struct mnt_idmap *idmap,