Searched refs:min_alloc_order (Results 1 - 7 of 7) sorted by relevance
/linux-master/drivers/tee/ |
H A D | tee_shm_pool.c | 17 size_t a = max_t(size_t, align, BIT(genpool->min_alloc_order)); 58 int min_alloc_order) 72 pool->private_data = gen_pool_create(min_alloc_order, -1); 56 tee_shm_pool_alloc_res_mem(unsigned long vaddr, phys_addr_t paddr, size_t size, int min_alloc_order) argument
|
/linux-master/lib/ |
H A D | genalloc.c | 147 * @min_alloc_order: log base 2 of number of bytes each bitmap bit represents 153 struct gen_pool *gen_pool_create(int min_alloc_order, int nid) argument 161 pool->min_alloc_order = min_alloc_order; 188 unsigned long nbits = size >> pool->min_alloc_order; 246 int order = pool->min_alloc_order; 282 int order = pool->min_alloc_order; 491 int order = pool->min_alloc_order; 675 order = pool->min_alloc_order; 704 order = pool->min_alloc_order; 829 devm_gen_pool_create(struct device *dev, int min_alloc_order, int nid, const char *name) argument [all...] |
/linux-master/include/linux/ |
H A D | genalloc.h | 61 int min_alloc_order; /* minimum allocation order */ member in struct:gen_pool 206 int min_alloc_order, int nid, const char *name);
|
H A D | tee_drv.h | 255 int min_alloc_order);
|
/linux-master/drivers/firmware/ |
H A D | stratix10-svc.c | 769 int min_alloc_order = 3; local 790 genpool = gen_pool_create(min_alloc_order, -1); 1072 size_t s = roundup(size, 1 << genpool->min_alloc_order);
|
/linux-master/drivers/accel/habanalabs/gaudi2/ |
H A D | gaudi2.c | 10818 int min_alloc_order, rc; local 10831 min_alloc_order = ilog2(min(gaudi2_get_signal_cb_size(hdev), 10834 hdev->internal_cb_pool = gen_pool_create(min_alloc_order, -1);
|
/linux-master/drivers/accel/habanalabs/gaudi/ |
H A D | gaudi.c | 8298 int min_alloc_order, rc, collective_cb_size; local 8313 min_alloc_order = ilog2(collective_cb_size); 8315 hdev->internal_cb_pool = gen_pool_create(min_alloc_order, -1);
|
Completed in 405 milliseconds