Searched refs:old_size (Results 1 – 2 of 2) sorted by relevance
/mm/ |
D | list_lru.c | 384 int old_size, int new_size) in memcg_update_list_lru_node() argument 388 BUG_ON(old_size > new_size); in memcg_update_list_lru_node() 396 if (__memcg_init_list_lru_node(new, old_size, new_size)) { in memcg_update_list_lru_node() 401 memcpy(&new->lru, &old->lru, old_size * sizeof(void *)); in memcg_update_list_lru_node() 419 int old_size, int new_size) in memcg_cancel_update_list_lru_node() argument 427 __memcg_destroy_list_lru_node(memcg_lrus, old_size, new_size); in memcg_cancel_update_list_lru_node() 465 int old_size, int new_size) in memcg_update_list_lru() argument 474 old_size, new_size)) in memcg_update_list_lru() 484 old_size, new_size); in memcg_update_list_lru() 490 int old_size, int new_size) in memcg_cancel_update_list_lru() argument [all …]
|
D | memblock.c | 410 phys_addr_t old_size, new_size, addr, new_end; in memblock_double_array() local 421 old_size = type->max * sizeof(struct memblock_region); in memblock_double_array() 422 new_size = old_size << 1; in memblock_double_array() 427 old_alloc_size = PAGE_ALIGN(old_size); in memblock_double_array() 470 memcpy(new_array, type->regions, old_size); in memblock_double_array() 471 memset(new_array + type->max, 0, old_size); in memblock_double_array()
|