Home
last modified time | relevance | path

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

12

/linux/arch/sh/include/asm/
H A Dsram.h18 return gen_pool_alloc(sram_pool, len); in sram_alloc()
/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()
/linux/Documentation/translations/zh_CN/core-api/
H A Dgenalloc.rst73 正如人们所期望的,gen_pool_alloc()将从给定的池中分配size<字节。gen_pool_dma_alloc()
/linux/drivers/net/ethernet/freescale/fman/
H A Dfman_muram.c108 vaddr = gen_pool_alloc(muram->pool, size); in fman_muram_alloc()
/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()
/linux/drivers/soc/ti/
H A Dpm33xx.c409 ocmcram_location = gen_pool_alloc(sram_pool, *pm_sram->do_wfi_sz); in am33xx_pm_alloc_sram()
415 ocmcram_location_data = gen_pool_alloc(sram_pool_data, in am33xx_pm_alloc_sram()
/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()
/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()
/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()
/linux/arch/csky/mm/
H A Dtcm.c116 vaddr = gen_pool_alloc(tcm_pool, len);
/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()
/linux/drivers/net/ethernet/ti/
H A Dk3-cppi-desc-pool.c129 return (void *)gen_pool_alloc(pool->gen_pool, pool->desc_size); in k3_cppi_desc_pool_alloc()
/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
/linux/Documentation/core-api/
H A Dgenalloc.rst69 :functions: gen_pool_alloc
77 As one would expect, gen_pool_alloc() will allocate size< bytes
/linux/drivers/acpi/apei/
H A Dghes.c614 aer_info = (void *)gen_pool_alloc(ghes_estatus_pool, in ghes_handle_aer()
667 entry = (void *)gen_pool_alloc(ghes_estatus_pool, len); in ghes_defer_non_standard_event()
898 cache = (void *)gen_pool_alloc(ghes_estatus_pool, cache_len); in ghes_estatus_cache_alloc()
1196 estatus_node = (void *)gen_pool_alloc(ghes_estatus_pool, node_len); in ghes_in_nmi_queue_one_entry()
/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()
H A Dmemory.c119 paddr = gen_pool_alloc(vm->dram_pg_pool, total_size); in alloc_device_memory()
159 phys_pg_pack->pages[i] = gen_pool_alloc(vm->dram_pg_pool, in alloc_device_memory()
/linux/arch/arm/kernel/
H A Dtcm.c82 vaddr = gen_pool_alloc(tcm_pool, len); in tcm_alloc()
/linux/kernel/dma/
H A Dpool.c247 addr = gen_pool_alloc(pool, size); in __dma_alloc_from_pool()
/linux/arch/arm/mach-imx/
H A Dpm-imx5.c302 ocram_base = gen_pool_alloc(ocram_pool, size); in imx_suspend_alloc_ocram()
/linux/drivers/firmware/qcom/
H A Dqcom_tzmem.c380 vaddr = gen_pool_alloc(pool->genpool, size); in qcom_tzmem_alloc()
/linux/arch/arm/mach-at91/
H A Dpm.c989 sram_base = gen_pool_alloc(sram_pool, at91_pm_suspend_in_sram_sz); in at91_pm_sram_init()
1078 soc_pm.bu = (void *)gen_pool_alloc(sram_pool, sizeof(struct at91_pm_bu)); in at91_pm_backup_init()
/linux/drivers/soc/fsl/qbman/
H A Dbman.c672 addr = gen_pool_alloc(bm_bpalloc, count); in bm_alloc_bpid_range()
/linux/drivers/accel/habanalabs/common/mmu/
H A Dmmu.c1332 phys_addr = (u64) gen_pool_alloc(hdev->mmu_priv.dr.mmu_pgt_pool, in hl_mmu_dr_alloc_hop()
/linux/drivers/edac/
H A Digen6_edac.c766 node = (void *)gen_pool_alloc(ecclog_pool, sizeof(*node)); in ecclog_gen_pool_add()

12