Home
last modified time | relevance | path

Searched refs:min_alloc_order (Results 1 – 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/lib/
Dgenalloc.c152 struct gen_pool *gen_pool_create(int min_alloc_order, int nid) in gen_pool_create() argument
160 pool->min_alloc_order = min_alloc_order; in gen_pool_create()
187 unsigned long nbits = size >> pool->min_alloc_order; in gen_pool_add_owner()
245 int order = pool->min_alloc_order; in gen_pool_destroy()
281 int order = pool->min_alloc_order; in gen_pool_alloc_algo_owner()
490 int order = pool->min_alloc_order; in gen_pool_free_owner()
672 order = pool->min_alloc_order; in gen_pool_first_fit_align()
700 order = pool->min_alloc_order; in gen_pool_fixed_alloc()
823 struct gen_pool *devm_gen_pool_create(struct device *dev, int min_alloc_order, in devm_gen_pool_create() argument
843 pool = gen_pool_create(min_alloc_order, nid); in devm_gen_pool_create()
/kernel/linux/linux-5.10/drivers/tee/
Dtee_shm_pool.c17 size_t s = roundup(size, 1 << genpool->min_alloc_order); in pool_op_gen_alloc()
109 int min_alloc_order) in tee_shm_pool_mgr_alloc_res_mem() argument
123 mgr->private_data = gen_pool_create(min_alloc_order, -1); in tee_shm_pool_mgr_alloc_res_mem()
/kernel/linux/linux-5.10/include/linux/
Dgenalloc.h61 int min_alloc_order; /* minimum allocation order */ member
206 int min_alloc_order, int nid, const char *name);
Dtee_drv.h266 int min_alloc_order);
/kernel/linux/linux-5.10/Documentation/core-api/
Dgenalloc.rst27 allocations is set with min_alloc_order; it is a log-base-2 number like
29 So, if min_alloc_order is passed as 3, then all allocations will be a
30 multiple of eight bytes. Increasing min_alloc_order decreases the memory
/kernel/linux/linux-5.10/drivers/firmware/
Dstratix10-svc.c618 int min_alloc_order = 3; in svc_create_memory_pool() local
639 genpool = gen_pool_create(min_alloc_order, -1); in svc_create_memory_pool()
910 size_t s = roundup(size, 1 << genpool->min_alloc_order); in stratix10_svc_allocate_memory()