Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/firmware/
Dstratix10-svc.c147 struct gen_pool *genpool; member
761 struct gen_pool *genpool; in svc_create_memory_pool() local
790 genpool = gen_pool_create(min_alloc_order, -1); in svc_create_memory_pool()
791 if (!genpool) { in svc_create_memory_pool()
795 gen_pool_set_algo(genpool, gen_pool_best_fit, NULL); in svc_create_memory_pool()
796 ret = gen_pool_add_virt(genpool, vaddr, paddr, size, -1); in svc_create_memory_pool()
799 gen_pool_destroy(genpool); in svc_create_memory_pool()
803 return genpool; in svc_create_memory_pool()
1071 struct gen_pool *genpool = chan->ctrl->genpool; in stratix10_svc_allocate_memory() local
1072 size_t s = roundup(size, 1 << genpool->min_alloc_order); in stratix10_svc_allocate_memory()
[all …]
/linux-6.6.21/drivers/net/caif/
Dcaif_virtio.c122 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 …]
/linux-6.6.21/drivers/tee/
Dtee_shm_pool.c16 struct gen_pool *genpool = pool->private_data; in pool_op_gen_alloc() local
17 size_t a = max_t(size_t, align, BIT(genpool->min_alloc_order)); in pool_op_gen_alloc()
21 va = gen_pool_alloc_algo(genpool, s, gen_pool_first_fit_align, &data); in pool_op_gen_alloc()
27 shm->paddr = gen_pool_virt_to_phys(genpool, va); in pool_op_gen_alloc()
/linux-6.6.21/Documentation/translations/zh_CN/core-api/
Dgenalloc.rst15 genalloc/genpool子系统
75 gen_pool_add_virt()添加的情况下才会起作用。请注意,这个函数偏离了genpool通常使用
/linux-6.6.21/arch/x86/kernel/cpu/mce/
DMakefile2 obj-y = core.o severity.o genpool.o
/linux-6.6.21/Documentation/core-api/
Dgenalloc.rst1 The genalloc/genpool subsystem
82 departs from the usual genpool pattern of using unsigned long values to