Home
last modified time | relevance | path

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

/lib/
Dgenalloc.c153 struct gen_pool *pool; in gen_pool_create() local
155 pool = kmalloc_node(sizeof(struct gen_pool), GFP_KERNEL, nid); in gen_pool_create()
156 if (pool != NULL) { in gen_pool_create()
157 spin_lock_init(&pool->lock); in gen_pool_create()
158 INIT_LIST_HEAD(&pool->chunks); in gen_pool_create()
159 pool->min_alloc_order = min_alloc_order; in gen_pool_create()
160 pool->algo = gen_pool_first_fit; in gen_pool_create()
161 pool->data = NULL; in gen_pool_create()
162 pool->name = NULL; in gen_pool_create()
164 return pool; in gen_pool_create()
[all …]
Dsg_pool.c14 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()
157 sgp->pool = mempool_create_slab_pool(SG_MEMPOOL_SIZE, in sg_pool_init()
159 if (!sgp->pool) { in sg_pool_init()
172 mempool_destroy(sgp->pool); in sg_pool_init()
185 mempool_destroy(sgp->pool); in sg_pool_exit()
DKconfig.debug578 int "Kmemleak memory pool size"
585 freed before kmemleak is fully initialised, use a static pool
587 fully initialised, this memory pool acts as an emergency one
967 worker pool doesn't make forward progress on a pending work