Home
last modified time | relevance | path

Searched refs:gen_pool_alloc (Results 1 – 25 of 38) sorted by relevance

12

/Linux-v6.6/arch/sh/include/asm/
Dsram.h18 return gen_pool_alloc(sram_pool, len); in sram_alloc()
/Linux-v6.6/drivers/memory/
Dti-emif-pm.c76 gen_pool_alloc(emif_data->sram_pool_code, in ti_emif_alloc_sram()
97 gen_pool_alloc(emif_data->sram_pool_data, in ti_emif_alloc_sram()
/Linux-v6.6/Documentation/translations/zh_CN/core-api/
Dgenalloc.rst73 正如人们所期望的,gen_pool_alloc()将从给定的池中分配size<字节。gen_pool_dma_alloc()
/Linux-v6.6/drivers/net/ethernet/freescale/fman/
Dfman_muram.c109 vaddr = gen_pool_alloc(muram->pool, size); in fman_muram_alloc()
/Linux-v6.6/arch/arm/mach-socfpga/
Dpm.c57 ocram_base = gen_pool_alloc(ocram_pool, socfpga_sdram_self_refresh_sz); in socfpga_setup_ocram_self_refresh()
/Linux-v6.6/arch/x86/kernel/cpu/mce/
Dgenpool.c107 node = (void *)gen_pool_alloc(mce_evt_pool, sizeof(*node)); in mce_gen_pool_add()
/Linux-v6.6/drivers/soc/ti/
Dpm33xx.c415 ocmcram_location = gen_pool_alloc(sram_pool, *pm_sram->do_wfi_sz); in am33xx_pm_alloc_sram()
423 ocmcram_location_data = gen_pool_alloc(sram_pool_data, in am33xx_pm_alloc_sram()
/Linux-v6.6/drivers/infiniband/hw/cxgb4/
Dresource.c267 unsigned long addr = gen_pool_alloc(rdev->pbl_pool, size); in c4iw_pblpool_alloc()
346 unsigned long addr = gen_pool_alloc(rdev->rqt_pool, size << 6); in c4iw_rqtpool_alloc()
460 unsigned long addr = gen_pool_alloc(rdev->ocqp_pool, size); in c4iw_ocqp_pool_alloc()
/Linux-v6.6/arch/csky/mm/
Dtcm.c116 vaddr = gen_pool_alloc(tcm_pool, len);
/Linux-v6.6/arch/powerpc/platforms/pseries/
Drtas-work-area.c104 (addr = gen_pool_alloc(rwa_state.gen_pool, size)) != 0); in __rtas_work_area_alloc()
/Linux-v6.6/drivers/net/ethernet/ti/
Dk3-cppi-desc-pool.c119 return (void *)gen_pool_alloc(pool->gen_pool, pool->desc_size); in k3_cppi_desc_pool_alloc()
/Linux-v6.6/drivers/net/caif/
Dcaif_virtio.c192 gen_pool_alloc(cfv->genpool, in cfv_release_used_buf()
423 cfv->reserved_mem = gen_pool_alloc(cfv->genpool, in cfv_create_genpool()
506 buf_info->vaddr = (void *)gen_pool_alloc(cfv->genpool, buf_info->size); in cfv_alloc_and_copy_to_shm()
/Linux-v6.6/arch/arm/mach-omap2/
Domap4-common.c141 sram_sync = (void __iomem *)gen_pool_alloc(sram_pool, PAGE_SIZE); in omap4_sram_init()
/Linux-v6.6/include/linux/
Dgenalloc.h151 static inline unsigned long gen_pool_alloc(struct gen_pool *pool, size_t size) in gen_pool_alloc() function
/Linux-v6.6/arch/ia64/kernel/
Duncached.c197 uc_addr = gen_pool_alloc(uc_pool->pool, in uncached_alloc_page()
/Linux-v6.6/Documentation/core-api/
Dgenalloc.rst69 :functions: gen_pool_alloc
77 As one would expect, gen_pool_alloc() will allocate size< bytes
/Linux-v6.6/drivers/remoteproc/
Dmeson_mx_ao_arc.c171 priv->sram_va = gen_pool_alloc(priv->sram_pool, priv->sram_size); in meson_mx_ao_arc_rproc_probe()
/Linux-v6.6/arch/arm/kernel/
Dtcm.c82 vaddr = gen_pool_alloc(tcm_pool, len); in tcm_alloc()
/Linux-v6.6/drivers/accel/habanalabs/common/
Dcommand_buffer.c35 cb->virtual_addr = (u64) gen_pool_alloc(ctx->cb_va_pool, cb->roundup_size); in cb_map_mem()
128 p = (void *) gen_pool_alloc(hdev->internal_cb_pool, cb_size); in hl_cb_alloc()
/Linux-v6.6/kernel/dma/
Dpool.c247 addr = gen_pool_alloc(pool, size); in __dma_alloc_from_pool()
/Linux-v6.6/arch/arm/mach-imx/
Dpm-imx5.c302 ocram_base = gen_pool_alloc(ocram_pool, size); in imx_suspend_alloc_ocram()
Dpm-imx6.c502 ocram_base = gen_pool_alloc(ocram_pool, MX6Q_SUSPEND_OCRAM_SIZE); in imx6q_suspend_init()
/Linux-v6.6/drivers/acpi/apei/
Dghes.c627 entry = (void *)gen_pool_alloc(ghes_estatus_pool, len); in ghes_defer_non_standard_event()
776 cache = (void *)gen_pool_alloc(ghes_estatus_pool, cache_len); in ghes_estatus_cache_alloc()
1074 estatus_node = (void *)gen_pool_alloc(ghes_estatus_pool, node_len); in ghes_in_nmi_queue_one_entry()
/Linux-v6.6/drivers/accel/ivpu/
Divpu_ipc.c80 tx_buf_vpu_addr = gen_pool_alloc(ipc->mm_tx, sizeof(*tx_buf)); in ivpu_ipc_tx_prepare()
/Linux-v6.6/drivers/s390/cio/
Dcss.c1142 addr = gen_pool_alloc(gp_dma, size); in cio_gp_dma_zalloc()
1150 addr = gen_pool_alloc(gp_dma, size); in cio_gp_dma_zalloc()

12