Lines Matching refs:forward
205 kfree(ns->gid_map.forward); in free_user_ns()
209 kfree(ns->uid_map.forward); in free_user_ns()
213 kfree(ns->projid_map.forward); in free_user_ns()
284 return bsearch(&key, map->forward, extents, in map_id_range_down_max()
675 return &map->forward[pos]; in m_start()
750 prev = &new_map->forward[idx]; in mappings_overlap()
780 struct uid_gid_extent *forward; in insert_extent() local
783 forward = kmalloc_array(UID_GID_MAP_MAX_EXTENTS, in insert_extent()
786 if (!forward) in insert_extent()
792 memcpy(forward, map->extent, in insert_extent()
795 map->forward = forward; in insert_extent()
802 dest = &map->forward[map->nr_extents]; in insert_extent()
849 sort(map->forward, map->nr_extents, sizeof(struct uid_gid_extent), in sort_idmaps()
853 map->reverse = kmemdup(map->forward, in sort_idmaps()
890 extent0 = &new_map->forward[idx]; in verify_root_map()
1058 e = &new_map.forward[idx]; in map_write()
1086 map->forward = new_map.forward; in map_write()
1096 kfree(new_map.forward); in map_write()
1098 map->forward = NULL; in map_write()