Home
last modified time | relevance | path

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

/linux-6.15/include/linux/
H A Duidgid.h20 struct uid_gid_map;
133 u32 map_id_down(struct uid_gid_map *map, u32 id);
134 u32 map_id_up(struct uid_gid_map *map, u32 id);
135 u32 map_id_range_up(struct uid_gid_map *map, u32 id, u32 count);
185 static inline u32 map_id_down(struct uid_gid_map *map, u32 id) in map_id_down()
190 static inline u32 map_id_range_up(struct uid_gid_map *map, u32 id, u32 count) in map_id_range_up()
195 static inline u32 map_id_up(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
77 struct uid_gid_map uid_map;
78 struct uid_gid_map gid_map;
79 struct uid_gid_map projid_map;
/linux-6.15/kernel/
H A Duser_namespace.c30 struct uid_gid_map *map);
335 u32 map_id_down(struct uid_gid_map *map, u32 id) in map_id_down()
401 u32 map_id_up(struct uid_gid_map *map, u32 id) in map_id_up()
674 struct uid_gid_map *map) in m_start()
854 static int sort_idmaps(struct uid_gid_map *map) in sort_idmaps()
890 struct uid_gid_map *new_map) in verify_root_map()
933 struct uid_gid_map *map, in map_write()
934 struct uid_gid_map *parent_map) in map_write()
938 struct uid_gid_map new_map; in map_write()
974 memset(&new_map, 0, sizeof(struct uid_gid_map)); in map_write()
[all …]
/linux-6.15/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()
341 struct uid_gid_map *map, *map_up; in statmount_mnt_idmap()