Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/mm/
Dmempool.c28 const int nr = pool->curr_nr; in poison_error()
122 BUG_ON(pool->curr_nr >= pool->min_nr); in add_element()
125 pool->elements[pool->curr_nr++] = element; in add_element()
130 void *element = pool->elements[--pool->curr_nr]; in remove_element()
132 BUG_ON(pool->curr_nr < 0); in remove_element()
151 while (pool->curr_nr) { in mempool_exit()
197 while (pool->curr_nr < pool->min_nr) { in mempool_init_node()
308 while (new_min_nr < pool->curr_nr) { in mempool_resize()
333 pool->curr_nr * sizeof(*new_elements)); in mempool_resize()
338 while (pool->curr_nr < pool->min_nr) { in mempool_resize()
[all …]
/kernel/linux/linux-5.10/include/linux/
Dmempool.h19 int curr_nr; /* Current nr of elements at *elements */ member
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
Dodp.c1570 while (pool->curr_nr < pool->min_nr) in mempool_refill()