Home
last modified time | relevance | path

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

/kernel/
Dworkqueue.c205 struct worker_pool *pool; /* I: the associated pool */ member
383 #define for_each_cpu_worker_pool(pool, cpu) \ argument
384 for ((pool) = &per_cpu(cpu_worker_pools, cpu)[0]; \
385 (pool) < &per_cpu(cpu_worker_pools, cpu)[NR_STD_WORKER_POOLS]; \
386 (pool)++)
400 #define for_each_pool(pool, pi) \ argument
401 idr_for_each_entry(&worker_pool_idr, pool, pi) \
415 #define for_each_pool_worker(worker, pool) \ argument
416 list_for_each_entry((worker), &(pool)->workers, node) \
540 static int worker_pool_assign_id(struct worker_pool *pool) in worker_pool_assign_id() argument
[all …]
Dworkqueue_internal.h39 struct worker_pool *pool; /* A: the associated pool */ member
/kernel/dma/
Dpool.c82 static int atomic_pool_expand(struct gen_pool *pool, size_t pool_size, in atomic_pool_expand() argument
123 ret = gen_pool_add_virt(pool, (unsigned long)addr, page_to_phys(page), in atomic_pool_expand()
148 static void atomic_pool_resize(struct gen_pool *pool, gfp_t gfp) in atomic_pool_resize() argument
150 if (pool && gen_pool_avail(pool) < atomic_pool_size) in atomic_pool_resize()
151 atomic_pool_expand(pool, gen_pool_size(pool), gfp); in atomic_pool_resize()
168 struct gen_pool *pool; in __dma_atomic_pool_init() local
171 pool = gen_pool_create(PAGE_SHIFT, NUMA_NO_NODE); in __dma_atomic_pool_init()
172 if (!pool) in __dma_atomic_pool_init()
175 gen_pool_set_algo(pool, gen_pool_first_fit_order_align, NULL); in __dma_atomic_pool_init()
177 ret = atomic_pool_expand(pool, pool_size, gfp); in __dma_atomic_pool_init()
[all …]
DMakefile11 obj-$(CONFIG_DMA_COHERENT_POOL) += pool.o
/kernel/cgroup/
Drdma.c117 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()