Home
last modified time | relevance | path

Searched refs:uid_gid_map (Results 1 – 5 of 5) sorted by relevance

/linux/include/linux/
H A Duidgid.h20 struct uid_gid_map;
133 u32 map_id_down(const struct uid_gid_map *map, u32 id);
134 u32 map_id_up(const struct uid_gid_map *map, u32 id);
135 u32 map_id_range_up(const struct uid_gid_map *map, u32 id, u32 count);
185 static inline u32 map_id_down(const struct uid_gid_map *map, u32 id) in map_id_down()
190 static inline u32 map_id_range_up(const struct uid_gid_map *map, u32 id, u32 count) in map_id_range_up()
195 static inline u32 map_id_up(const struct uid_gid_map *map, u32 id) in map_id_up()
H A Duser_namespace.h25 struct uid_gid_map { /* 64 bytes -- 1 cache line */ struct
80 struct uid_gid_map uid_map;
81 struct uid_gid_map gid_map;
82 struct uid_gid_map projid_map;
212 extern int uid_gid_map_insert_extent(struct uid_gid_map *map,
214 extern int uid_gid_map_sort(struct uid_gid_map *map);
/linux/fs/
H A Dmnt_idmapping.c21 struct uid_gid_map uid_map;
22 struct uid_gid_map gid_map;
219 static int copy_mnt_idmap(struct uid_gid_map *map_from, in copy_mnt_idmap()
220 struct uid_gid_map *map_to) in copy_mnt_idmap()
345 const struct uid_gid_map *map; in statmount_mnt_idmap()
346 struct uid_gid_map *map_up; in statmount_mnt_idmap()
/linux/kernel/
H A Duser_namespace.c32 struct uid_gid_map *map);
280 map_id_range_down_max(unsigned extents, const struct uid_gid_map *map, u32 id, u32 count) in map_id_range_down_max()
298 map_id_range_down_base(unsigned extents, const struct uid_gid_map *map, u32 id, u32 count) in map_id_range_down_base()
316 static u32 map_id_range_down(const struct uid_gid_map *map, u32 id, u32 count) in map_id_range_down()
336 u32 map_id_down(const struct uid_gid_map *map, u32 id) in map_id_down()
347 map_id_range_up_base(unsigned extents, const struct uid_gid_map *map, u32 id, u32 count) in map_id_range_up_base()
370 map_id_range_up_max(unsigned extents, const struct uid_gid_map *map, u32 id, u32 count) in map_id_range_up_max()
382 u32 map_id_range_up(const struct uid_gid_map *map, u32 id, u32 count) in map_id_range_up()
402 u32 map_id_up(const struct uid_gid_map *map, u32 id) in map_id_up()
675 struct uid_gid_map *map) in m_start()
[all …]
/linux/kernel/tests/
H A Duser_ns_map_kunit.c15 struct uid_gid_map map; in user_ns_map_insert()
43 struct uid_gid_map map; in user_ns_map_insert_extended()