Searched refs:pool (Results 1 – 9 of 9) sorted by relevance
/lib/ |
A D | objpool.c | 40 pool->nr_objs++; in objpool_init_percpu_slot() 109 if (!pool->cpu_slots) in objpool_fini_percpu_slots() 146 pool->cpu_slots = kzalloc(slot_size, pool->gfp); in objpool_init() 147 if (!pool->cpu_slots) in objpool_init() 155 refcount_set(&pool->ref, pool->nr_objs + 1); in objpool_init() 164 if (!pool->cpu_slots) in objpool_free() 171 if (pool->release) in objpool_free() 172 pool->release(pool, pool->context); in objpool_free() 179 if (!obj || !pool) in objpool_drop() 183 objpool_free(pool); in objpool_drop() [all …]
|
A D | genalloc.c | 158 if (pool != NULL) { in gen_pool_create() 166 return pool; in gen_pool_create() 260 kfree(pool); in gen_pool_destroy() 343 return gen_pool_dma_alloc_algo(pool, size, dma, pool->algo, pool->data); in gen_pool_dma_alloc() 367 if (!pool) in gen_pool_dma_alloc_algo() 421 return gen_pool_dma_zalloc_algo(pool, size, dma, pool->algo, pool->data); in gen_pool_dma_zalloc() 627 if (!pool->algo) in gen_pool_set_algo() 850 if (!pool) in devm_gen_pool_create() 853 *ptr = pool; in devm_gen_pool_create() 857 return pool; in devm_gen_pool_create() [all …]
|
A D | test_objpool.c | 152 on->owner = &sop->pool; in ot_init_node() 199 struct objpool_head *pool, in ot_init_cpu_item() argument 203 item->pool = pool; in ot_init_cpu_item() 302 WARN_ON(max != sop->pool.nr_objs); in ot_init_sync_m0() 309 objpool_fini(&sop->pool); in ot_fini_sync() 339 objpool_push(on, item->pool); in ot_bulk_sync() 427 objpool_fini(&sop->pool); in ot_fini_async_rcu() 489 objpool_push(on, pool); in ot_nod_recycle() 493 sop = container_of(pool, struct ot_context, pool); in ot_nod_recycle() 494 WARN_ON(sop != pool->context); in ot_nod_recycle() [all …]
|
A D | sg_pool.c | 14 mempool_t *pool; member 59 mempool_free(sgl, sgp->pool); in sg_pool_free() 67 return mempool_alloc(sgp->pool, gfp_mask); in sg_pool_alloc() 158 sgp->pool = mempool_create_slab_pool(SG_MEMPOOL_SIZE, in sg_pool_init() 160 if (!sgp->pool) { in sg_pool_init() 173 mempool_destroy(sgp->pool); in sg_pool_init()
|
A D | stackdepot.c | 492 void *pool; in depot_fetch_stack() local 505 pool = stack_pools[pool_index]; in depot_fetch_stack() 506 if (WARN_ON(!pool)) in depot_fetch_stack() 509 stack = pool + offset; in depot_fetch_stack()
|
A D | debugobjects.c | 137 static __always_inline unsigned int pool_count(struct obj_pool *pool) in pool_count() argument 139 return READ_ONCE(pool->cnt); in pool_count() 142 static __always_inline bool pool_should_refill(struct obj_pool *pool) in pool_should_refill() argument 144 return pool_count(pool) < pool->min_cnt; in pool_should_refill() 147 static __always_inline bool pool_must_refill(struct obj_pool *pool) in pool_must_refill() argument 149 return pool_count(pool) < pool->min_cnt / 2; in pool_must_refill()
|
A D | Kconfig.debug | 1298 worker pool doesn't make forward progress on a pending work
|
/lib/zstd/compress/ |
A D | zstd_compress_internal.h | 487 ZSTD_threadPool* pool; member
|
A D | zstd_compress.c | 1274 size_t ZSTD_CCtx_refThreadPool(ZSTD_CCtx* cctx, ZSTD_threadPool* pool) in ZSTD_CCtx_refThreadPool() argument 1278 cctx->pool = pool; in ZSTD_CCtx_refThreadPool()
|
Completed in 40 milliseconds