Home
last modified time | relevance | path

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

12

/openbmc/linux/arch/sh/include/asm/
H A Dsram.h18 return gen_pool_alloc(sram_pool, len); in sram_alloc()
/openbmc/linux/drivers/memory/
H A 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()
/openbmc/linux/Documentation/translations/zh_CN/core-api/
H A Dgenalloc.rst73 正如人们所期望的,gen_pool_alloc()将从给定的池中分配size<字节。gen_pool_dma_alloc()
/openbmc/linux/drivers/net/ethernet/freescale/fman/
H A Dfman_muram.c109 vaddr = gen_pool_alloc(muram->pool, size); in fman_muram_alloc()
/openbmc/linux/arch/arm/mach-socfpga/
H A Dpm.c57 ocram_base = gen_pool_alloc(ocram_pool, socfpga_sdram_self_refresh_sz); in socfpga_setup_ocram_self_refresh()
/openbmc/linux/arch/x86/kernel/cpu/mce/
H A Dgenpool.c107 node = (void *)gen_pool_alloc(mce_evt_pool, sizeof(*node)); in mce_gen_pool_add()
/openbmc/linux/drivers/soc/ti/
H A 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()
/openbmc/linux/arch/csky/mm/
H A Dtcm.c116 vaddr = gen_pool_alloc(tcm_pool, len);
/openbmc/linux/arch/powerpc/platforms/pseries/
H A Drtas-work-area.c104 (addr = gen_pool_alloc(rwa_state.gen_pool, size)) != 0); in __rtas_work_area_alloc()
/openbmc/linux/drivers/infiniband/hw/cxgb4/
H A 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()
/openbmc/linux/drivers/net/ethernet/ti/
H A Dk3-cppi-desc-pool.c119 return (void *)gen_pool_alloc(pool->gen_pool, pool->desc_size); in k3_cppi_desc_pool_alloc()
/openbmc/linux/arch/arm/mach-omap2/
H A Domap4-common.c141 sram_sync = (void __iomem *)gen_pool_alloc(sram_pool, PAGE_SIZE); in omap4_sram_init()
/openbmc/linux/drivers/net/caif/
H A 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()
/openbmc/linux/include/linux/
H A Dgenalloc.h151 static inline unsigned long gen_pool_alloc(struct gen_pool *pool, size_t size) in gen_pool_alloc() function
/openbmc/linux/arch/ia64/kernel/
H A Duncached.c197 uc_addr = gen_pool_alloc(uc_pool->pool, in uncached_alloc_page()
/openbmc/linux/Documentation/core-api/
H A Dgenalloc.rst69 :functions: gen_pool_alloc
77 As one would expect, gen_pool_alloc() will allocate size< bytes
/openbmc/linux/arch/arm/kernel/
H A Dtcm.c82 vaddr = gen_pool_alloc(tcm_pool, len); in tcm_alloc()
/openbmc/linux/drivers/remoteproc/
H A Dmeson_mx_ao_arc.c171 priv->sram_va = gen_pool_alloc(priv->sram_pool, priv->sram_size); in meson_mx_ao_arc_rproc_probe()
/openbmc/linux/drivers/accel/habanalabs/common/
H A 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()
/openbmc/linux/drivers/acpi/apei/
H A Dghes.c611 aer_info = (void *)gen_pool_alloc(ghes_estatus_pool, in ghes_handle_aer()
664 entry = (void *)gen_pool_alloc(ghes_estatus_pool, len); in ghes_defer_non_standard_event()
814 cache = (void *)gen_pool_alloc(ghes_estatus_pool, cache_len); in ghes_estatus_cache_alloc()
1112 estatus_node = (void *)gen_pool_alloc(ghes_estatus_pool, node_len); in ghes_in_nmi_queue_one_entry()
/openbmc/linux/kernel/dma/
H A Dpool.c247 addr = gen_pool_alloc(pool, size); in __dma_alloc_from_pool()
/openbmc/linux/arch/arm/mach-imx/
H A Dpm-imx5.c302 ocram_base = gen_pool_alloc(ocram_pool, size); in imx_suspend_alloc_ocram()
H A Dpm-imx6.c502 ocram_base = gen_pool_alloc(ocram_pool, MX6Q_SUSPEND_OCRAM_SIZE); in imx6q_suspend_init()
/openbmc/linux/drivers/accel/ivpu/
H A Divpu_ipc.c80 tx_buf_vpu_addr = gen_pool_alloc(ipc->mm_tx, sizeof(*tx_buf)); in ivpu_ipc_tx_prepare()
/openbmc/linux/drivers/s390/cio/
H A 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