Home
last modified time | relevance | path

Searched refs:new_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()
410 new = kvmalloc(sizeof(*new) + new_size * sizeof(void *), GFP_KERNEL); in memcg_update_list_lru_node()
414 if (__memcg_init_list_lru_node(new, old_size, new_size)) { 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 …]
Dslab_common.c1651 static __always_inline void *__do_krealloc(const void *p, size_t new_size, in __do_krealloc() argument
1660 if (ks >= new_size) { in __do_krealloc()
1661 p = kasan_krealloc((void *)p, new_size, flags); in __do_krealloc()
1665 ret = kmalloc_track_caller(new_size, flags); in __do_krealloc()
1684 void *__krealloc(const void *p, size_t new_size, gfp_t flags) in __krealloc() argument
1686 if (unlikely(!new_size)) in __krealloc()
1689 return __do_krealloc(p, new_size, flags); in __krealloc()
1707 void *krealloc(const void *p, size_t new_size, gfp_t flags) in krealloc() argument
1711 if (unlikely(!new_size)) { in krealloc()
1716 ret = __do_krealloc(p, new_size, flags); in krealloc()
Dmemblock.c419 phys_addr_t old_size, new_size, addr, new_end; in memblock_double_array() local
431 new_size = old_size << 1; in memblock_double_array()
437 new_alloc_size = PAGE_ALIGN(new_size); in memblock_double_array()
447 new_array = kmalloc(new_size, GFP_KERNEL); in memblock_double_array()
470 new_end = addr + new_size - 1; in memblock_double_array()