Home
last modified time | relevance | path

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

/kernel/
Duser_namespace.c558 static bool mappings_overlap(struct uid_gid_map *new_map, in mappings_overlap() argument
569 for (idx = 0; idx < new_map->nr_extents; idx++) { in mappings_overlap()
574 prev = &new_map->extent[idx]; in mappings_overlap()
602 struct uid_gid_map new_map; in map_write() local
661 new_map.nr_extents = 0; in map_write()
663 extent = &new_map.extent[new_map.nr_extents]; in map_write()
709 if (mappings_overlap(&new_map, extent)) in map_write()
712 new_map.nr_extents++; in map_write()
715 if ((new_map.nr_extents == UID_GID_MAP_MAX_EXTENTS) && in map_write()
720 if (new_map.nr_extents == 0) in map_write()
[all …]