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.
414 unsigned int count, unsigned int allocated, in mempool_alloc_from_pool() argument
421 if (unlikely(pool->curr_nr < count - allocated)) in mempool_alloc_from_pool()
426 allocated++; in mempool_alloc_from_pool()
440 return allocated; in mempool_alloc_from_pool()
462 return allocated; in mempool_alloc_from_pool()
482 * @count: number of entries in @elem that need to be allocated
483 * @allocated: number of entries in @elem already allocated
494 unsigned int count, unsigned int allocated) in mempool_alloc_bulk_noprof() argument
524 allocated++; in mempool_alloc_bulk_noprof()
530 allocated = mempool_alloc_from_pool(pool, elems, count, allocated, in mempool_alloc_bulk_noprof()
549 * Return: pointer to the allocated element or %NULL when failing to allocate
602 * Return: pointer to the allocated element or %NULL if no elements are
653 * if curr_nr + #allocated == min_nr. Testing curr_nr < min_nr in mempool_free_bulk()
662 * allocated after that are subject to the same guarantee. in mempool_free_bulk()