Lines Matching refs:forward
188 kfree(ns->gid_map.forward); in free_user_ns()
192 kfree(ns->uid_map.forward); in free_user_ns()
196 kfree(ns->projid_map.forward); in free_user_ns()
267 return bsearch(&key, map->forward, extents, in map_id_range_down_max()
658 return &map->forward[pos]; in m_start()
733 prev = &new_map->forward[idx]; in mappings_overlap()
763 struct uid_gid_extent *forward; in insert_extent() local
766 forward = kmalloc_array(UID_GID_MAP_MAX_EXTENTS, in insert_extent()
769 if (!forward) in insert_extent()
775 memcpy(forward, map->extent, in insert_extent()
778 map->forward = forward; in insert_extent()
785 dest = &map->forward[map->nr_extents]; in insert_extent()
832 sort(map->forward, map->nr_extents, sizeof(struct uid_gid_extent), in sort_idmaps()
836 map->reverse = kmemdup(map->forward, in sort_idmaps()
873 extent0 = &new_map->forward[idx]; in verify_root_map()
1041 e = &new_map.forward[idx]; in map_write()
1069 map->forward = new_map.forward; in map_write()
1079 kfree(new_map.forward); in map_write()
1081 map->forward = NULL; in map_write()