Home
last modified time | relevance | path

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

/Linux-v5.4/lib/
Dgenalloc.c151 struct gen_pool *gen_pool_create(int min_alloc_order, int nid) in gen_pool_create() argument
159 pool->min_alloc_order = min_alloc_order; in gen_pool_create()
186 int nbits = size >> pool->min_alloc_order; in gen_pool_add_owner()
244 int order = pool->min_alloc_order; in gen_pool_destroy()
280 int order = pool->min_alloc_order; in gen_pool_alloc_algo_owner()
489 int order = pool->min_alloc_order; in gen_pool_free_owner()
670 order = pool->min_alloc_order; in gen_pool_first_fit_align()
698 order = pool->min_alloc_order; in gen_pool_fixed_alloc()
821 struct gen_pool *devm_gen_pool_create(struct device *dev, int min_alloc_order, in devm_gen_pool_create() argument
841 pool = gen_pool_create(min_alloc_order, nid); in devm_gen_pool_create()
/Linux-v5.4/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()
/Linux-v5.4/include/linux/
Dgenalloc.h61 int min_alloc_order; /* minimum allocation order */ member
206 int min_alloc_order, int nid, const char *name);
Dtee_drv.h250 int min_alloc_order);
/Linux-v5.4/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
/Linux-v5.4/drivers/firmware/
Dstratix10-svc.c611 int min_alloc_order = 3; in svc_create_memory_pool() local
632 genpool = gen_pool_create(min_alloc_order, -1); in svc_create_memory_pool()
903 size_t s = roundup(size, 1 << genpool->min_alloc_order); in stratix10_svc_allocate_memory()