Searched refs:genpool (Results 1 – 5 of 5) sorted by relevance
/kernel/linux/linux-5.10/drivers/firmware/ |
D | stratix10-svc.c | 140 struct gen_pool *genpool; member 610 struct gen_pool *genpool; in svc_create_memory_pool() local 639 genpool = gen_pool_create(min_alloc_order, -1); in svc_create_memory_pool() 640 if (!genpool) { in svc_create_memory_pool() 644 gen_pool_set_algo(genpool, gen_pool_best_fit, NULL); in svc_create_memory_pool() 645 ret = gen_pool_add_virt(genpool, vaddr, paddr, size, -1); in svc_create_memory_pool() 648 gen_pool_destroy(genpool); in svc_create_memory_pool() 652 return genpool; in svc_create_memory_pool() 909 struct gen_pool *genpool = chan->ctrl->genpool; in stratix10_svc_allocate_memory() local 910 size_t s = roundup(size, 1 << genpool->min_alloc_order); in stratix10_svc_allocate_memory() [all …]
|
/kernel/linux/linux-5.10/drivers/net/caif/ |
D | caif_virtio.c | 122 struct gen_pool *genpool; member 152 gen_pool_free(cfv->genpool, (unsigned long) buf_info->vaddr, in free_buf_info() 190 if (cfv->reserved_mem == 0 && cfv->genpool) in cfv_release_used_buf() 192 gen_pool_alloc(cfv->genpool, in cfv_release_used_buf() 366 if (!cfv->genpool) in cfv_destroy_genpool() 368 gen_pool_free(cfv->genpool, cfv->reserved_mem, in cfv_destroy_genpool() 370 gen_pool_destroy(cfv->genpool); in cfv_destroy_genpool() 371 cfv->genpool = NULL; in cfv_destroy_genpool() 409 cfv->genpool = gen_pool_create(7, -1); in cfv_create_genpool() 410 if (!cfv->genpool) in cfv_create_genpool() [all …]
|
/kernel/linux/linux-5.10/drivers/tee/ |
D | tee_shm_pool.c | 16 struct gen_pool *genpool = poolm->private_data; in pool_op_gen_alloc() local 17 size_t s = roundup(size, 1 << genpool->min_alloc_order); in pool_op_gen_alloc() 19 va = gen_pool_alloc(genpool, s); in pool_op_gen_alloc() 25 shm->paddr = gen_pool_virt_to_phys(genpool, va); in pool_op_gen_alloc()
|
/kernel/linux/linux-5.10/arch/x86/kernel/cpu/mce/ |
D | Makefile | 2 obj-y = core.o severity.o genpool.o
|
/kernel/linux/linux-5.10/Documentation/core-api/ |
D | genalloc.rst | 1 The genalloc/genpool subsystem 82 departs from the usual genpool pattern of using unsigned long values to
|