Home
last modified time | relevance | path

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

/mm/
Dlist_lru.c402 int old_size, int new_size) in memcg_update_list_lru_node() argument
406 BUG_ON(old_size > new_size); in memcg_update_list_lru_node()
414 if (__memcg_init_list_lru_node(new, old_size, new_size)) { in memcg_update_list_lru_node()
419 memcpy(&new->lru, &old->lru, old_size * sizeof(void *)); in memcg_update_list_lru_node()
437 int old_size, int new_size) in memcg_cancel_update_list_lru_node() argument
445 __memcg_destroy_list_lru_node(memcg_lrus, old_size, new_size); in memcg_cancel_update_list_lru_node()
483 int old_size, int new_size) in memcg_update_list_lru() argument
492 old_size, new_size)) in memcg_update_list_lru()
502 old_size, new_size); in memcg_update_list_lru()
508 int old_size, int new_size) in memcg_cancel_update_list_lru() argument
[all …]
Dmemblock.c419 phys_addr_t old_size, new_size, addr, new_end; in memblock_double_array() local
430 old_size = type->max * sizeof(struct memblock_region); in memblock_double_array()
431 new_size = old_size << 1; in memblock_double_array()
436 old_alloc_size = PAGE_ALIGN(old_size); in memblock_double_array()
479 memcpy(new_array, type->regions, old_size); in memblock_double_array()
480 memset(new_array + type->max, 0, old_size); in memblock_double_array()
Dmemcontrol.c332 int size, int old_size) in memcg_expand_one_shrinker_map() argument
351 memset(new->map, (int)0xff, old_size); in memcg_expand_one_shrinker_map()
352 memset((void *)new->map + old_size, 0, size - old_size); in memcg_expand_one_shrinker_map()
405 int size, old_size, ret = 0; in memcg_expand_shrinker_maps() local
409 old_size = memcg_shrinker_map_size; in memcg_expand_shrinker_maps()
410 if (size <= old_size) in memcg_expand_shrinker_maps()
420 ret = memcg_expand_one_shrinker_map(memcg, size, old_size); in memcg_expand_shrinker_maps()