Lines Matching full:allocated
201 * May be called on a zeroed but uninitialized mempool (i.e. allocated with
217 * @pool: pointer to the memory pool which was allocated via
275 * allocated for this pool.
298 * allocated for this pool.
335 * @pool: pointer to the memory pool which was allocated via
338 * allocated for this pool.
413 unsigned int count, unsigned int allocated, in mempool_alloc_from_pool() argument
420 if (unlikely(pool->curr_nr < count - allocated)) in mempool_alloc_from_pool()
425 allocated++; in mempool_alloc_from_pool()
439 return allocated; in mempool_alloc_from_pool()
461 return allocated; in mempool_alloc_from_pool()
481 * @count: number of entries in @elem that need to be allocated
482 * @allocated: number of entries in @elem already allocated
493 unsigned int count, unsigned int allocated) in mempool_alloc_bulk_noprof() argument
523 allocated++; in mempool_alloc_bulk_noprof()
529 allocated = mempool_alloc_from_pool(pool, elems, count, allocated, in mempool_alloc_bulk_noprof()
548 * Return: pointer to the allocated element or %NULL when failing to allocate
601 * Return: pointer to the allocated element or %NULL if no elements are
652 * if curr_nr + #allocated == min_nr. Testing curr_nr < min_nr in mempool_free_bulk()
661 * allocated after that are subject to the same guarantee. in mempool_free_bulk()