Home
last modified time | relevance | path

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

/linux-5.19.10/mm/
Dmempool.c301 void **new_elements; in mempool_resize() local
321 new_elements = kmalloc_array(new_min_nr, sizeof(*new_elements), in mempool_resize()
323 if (!new_elements) in mempool_resize()
330 kfree(new_elements); in mempool_resize()
333 memcpy(new_elements, pool->elements, in mempool_resize()
334 pool->curr_nr * sizeof(*new_elements)); in mempool_resize()
336 pool->elements = new_elements; in mempool_resize()