Home
last modified time | relevance | path

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

/kernel/
Duser_namespace.c537 static bool mappings_overlap(struct uid_gid_map *new_map, struct uid_gid_extent *extent) in mappings_overlap() argument
547 for (idx = 0; idx < new_map->nr_extents; idx++) { in mappings_overlap()
552 prev = &new_map->extent[idx]; in mappings_overlap()
583 struct uid_gid_map new_map; in map_write() local
644 new_map.nr_extents = 0; in map_write()
646 extent = &new_map.extent[new_map.nr_extents]; in map_write()
689 if (mappings_overlap(&new_map, extent)) in map_write()
692 new_map.nr_extents++; in map_write()
695 if ((new_map.nr_extents == UID_GID_MAP_MAX_EXTENTS) && in map_write()
700 if (new_map.nr_extents == 0) in map_write()
[all …]