Home
last modified time | relevance | path

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

/mm/
Dpercpu.c1342 int map_size) in pcpu_alloc_first_chunk() argument
1360 region_size = ALIGN(start_offset + map_size, lcm_align); in pcpu_alloc_first_chunk()
1374 chunk->end_offset = region_size - chunk->start_offset - map_size; in pcpu_alloc_first_chunk()
1410 chunk->free_bytes = map_size; in pcpu_alloc_first_chunk()
1430 set_bit((start_offset + map_size) / PCPU_MIN_ALLOC_SIZE, in pcpu_alloc_first_chunk()
2602 int map_size; in pcpu_setup_first_chunk() local
2757 map_size = ai->reserved_size ?: dyn_size; in pcpu_setup_first_chunk()
2758 chunk = pcpu_alloc_first_chunk(tmp_addr, map_size); in pcpu_setup_first_chunk()
2766 map_size = dyn_size; in pcpu_setup_first_chunk()
2767 chunk = pcpu_alloc_first_chunk(tmp_addr, map_size); in pcpu_setup_first_chunk()
Dvmscan.c233 int map_size, int defer_size, in expand_one_shrinker_info() argument
239 int size = map_size + defer_size; in expand_one_shrinker_info()
257 memset((void *)new->map + old_map_size, 0, map_size - old_map_size); in expand_one_shrinker_info()
288 int map_size, defer_size = 0; in alloc_shrinker_info() local
291 map_size = shrinker_map_size(shrinker_nr_max); in alloc_shrinker_info()
293 size = map_size + defer_size; in alloc_shrinker_info()
320 int map_size, defer_size = 0; in expand_shrinker_info() local
332 map_size = shrinker_map_size(new_nr_max); in expand_shrinker_info()
339 ret = expand_one_shrinker_info(memcg, map_size, defer_size, in expand_shrinker_info()