Home
last modified time | relevance | path

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

/Linux-v4.19/mm/
Dmempool.c296 void **new_elements; in mempool_resize() local
316 new_elements = kmalloc_array(new_min_nr, sizeof(*new_elements), in mempool_resize()
318 if (!new_elements) in mempool_resize()
325 kfree(new_elements); in mempool_resize()
328 memcpy(new_elements, pool->elements, in mempool_resize()
329 pool->curr_nr * sizeof(*new_elements)); in mempool_resize()
331 pool->elements = new_elements; in mempool_resize()