Home
last modified time | relevance | path

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

/Linux-v4.19/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()
186 int nbits = size >> pool->min_alloc_order; in gen_pool_add_virt()
243 int order = pool->min_alloc_order; in gen_pool_destroy()
294 int order = pool->min_alloc_order; in gen_pool_alloc_algo()
377 int order = pool->min_alloc_order; in gen_pool_free()
553 order = pool->min_alloc_order; in gen_pool_first_fit_align()
578 order = pool->min_alloc_order; in gen_pool_fixed_alloc()
700 struct gen_pool *devm_gen_pool_create(struct device *dev, int min_alloc_order, in devm_gen_pool_create() argument
720 pool = gen_pool_create(min_alloc_order, nid); in devm_gen_pool_create()
/Linux-v4.19/drivers/tee/
Dtee_shm_pool.c26 size_t s = roundup(size, 1 << genpool->min_alloc_order); in pool_op_gen_alloc()
118 int min_alloc_order) in tee_shm_pool_mgr_alloc_res_mem() argument
132 mgr->private_data = gen_pool_create(min_alloc_order, -1); in tee_shm_pool_mgr_alloc_res_mem()
/Linux-v4.19/include/linux/
Dgenalloc.h62 int min_alloc_order; /* minimum allocation order */ member
155 int min_alloc_order, int nid, const char *name);
Dtee_drv.h250 int min_alloc_order);
/Linux-v4.19/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