Searched refs:pool (Results 1 – 6 of 6) sorted by relevance
/kernel/ |
D | workqueue.c | 206 struct worker_pool *pool; /* I: the associated pool */ member 383 static void show_one_worker_pool(struct worker_pool *pool); 402 #define for_each_cpu_worker_pool(pool, cpu) \ argument 403 for ((pool) = &per_cpu(cpu_worker_pools, cpu)[0]; \ 404 (pool) < &per_cpu(cpu_worker_pools, cpu)[NR_STD_WORKER_POOLS]; \ 405 (pool)++) 419 #define for_each_pool(pool, pi) \ argument 420 idr_for_each_entry(&worker_pool_idr, pool, pi) \ 434 #define for_each_pool_worker(worker, pool) \ argument 435 list_for_each_entry((worker), &(pool)->workers, node) \ [all …]
|
D | workqueue_internal.h | 40 struct worker_pool *pool; /* A: the associated pool */ member
|
/kernel/dma/ |
D | pool.c | 79 static int atomic_pool_expand(struct gen_pool *pool, size_t pool_size, in atomic_pool_expand() argument 120 ret = gen_pool_add_virt(pool, (unsigned long)addr, page_to_phys(page), in atomic_pool_expand() 145 static void atomic_pool_resize(struct gen_pool *pool, gfp_t gfp) in atomic_pool_resize() argument 147 if (pool && gen_pool_avail(pool) < atomic_pool_size) in atomic_pool_resize() 148 atomic_pool_expand(pool, gen_pool_size(pool), gfp); in atomic_pool_resize() 165 struct gen_pool *pool; in __dma_atomic_pool_init() local 168 pool = gen_pool_create(PAGE_SHIFT, NUMA_NO_NODE); in __dma_atomic_pool_init() 169 if (!pool) in __dma_atomic_pool_init() 172 gen_pool_set_algo(pool, gen_pool_first_fit_order_align, NULL); in __dma_atomic_pool_init() 174 ret = atomic_pool_expand(pool, pool_size, gfp); in __dma_atomic_pool_init() [all …]
|
D | Makefile | 10 obj-$(CONFIG_DMA_COHERENT_POOL) += pool.o
|
/kernel/trace/ |
D | rethook.c | 43 node = rh->pool.head; in rethook_free_rcu() 112 rh->pool.head = NULL; in rethook_alloc() 129 freelist_add(&node->freelist, &rh->pool); in rethook_add_node() 155 freelist_add(&node->freelist, &node->rethook->pool); in rethook_recycle() 186 fn = freelist_try_get(&rh->pool); in rethook_try_get()
|
/kernel/cgroup/ |
D | rdma.c | 117 struct rdmacg_resource_pool *pool; in find_cg_rpool_locked() local 121 list_for_each_entry(pool, &cg->rpools, cg_node) in find_cg_rpool_locked() 122 if (pool->device == device) in find_cg_rpool_locked() 123 return pool; in find_cg_rpool_locked()
|