Home
last modified time | relevance | path

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

/linux/drivers/net/caif/
H A 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/drivers/tee/
H A 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/drivers/firmware/
H A Dstratix10-svc.c271 struct gen_pool *genpool; member
908 struct gen_pool *genpool; in svc_create_memory_pool() local
937 genpool = gen_pool_create(min_alloc_order, -1); in svc_create_memory_pool()
938 if (!genpool) { in svc_create_memory_pool()
942 gen_pool_set_algo(genpool, gen_pool_best_fit, NULL); in svc_create_memory_pool()
943 ret = gen_pool_add_virt(genpool, vaddr, paddr, size, -1); in svc_create_memory_pool()
946 gen_pool_destroy(genpool); in svc_create_memory_pool()
950 return genpool; in svc_create_memory_pool()
1801 struct gen_pool *genpool = chan->ctrl->genpool; in stratix10_svc_allocate_memory() local
1802 size_t s = roundup(size, 1 << genpool->min_alloc_order); in stratix10_svc_allocate_memory()
[all …]
/linux/Documentation/translations/zh_CN/core-api/
H A Dgenalloc.rst15 genalloc/genpool子系统
75 gen_pool_add_virt()添加的情况下才会起作用。请注意,这个函数偏离了genpool通常使用
/linux/arch/x86/kernel/cpu/mce/
H A DMakefile2 obj-y = core.o severity.o genpool.o
/linux/Documentation/core-api/
H A Dgenalloc.rst1 The genalloc/genpool subsystem
82 departs from the usual genpool pattern of using unsigned long values to
/linux/net/core/
H A Ddevmem.c38 static void net_devmem_dmabuf_free_chunk_owner(struct gen_pool *genpool, in net_devmem_dmabuf_free_chunk_owner() argument