Home
last modified time | relevance | path

Searched refs:bitmap_find_free_region (Results 1 – 25 of 40) sorted by relevance

12

/linux-6.6.21/arch/powerpc/sysdev/
Dmsi_bitmap.c170 WARN_ON(bitmap_find_free_region(bmp.bitmap, size, get_count_order(size))); in test_basics()
177 WARN_ON(bitmap_find_free_region(bmp.bitmap, size, get_count_order(size))); in test_basics()
187 WARN_ON(bitmap_find_free_region(bmp.bitmap, size, 0) >= 0); in test_basics()
241 WARN_ON(bitmap_find_free_region(bmp.bitmap, SIZE_EXPECTED, in test_of_node()
/linux-6.6.21/drivers/gpu/drm/etnaviv/
Detnaviv_cmdbuf.c96 granule_offs = bitmap_find_free_region(suballoc->granule_map, in etnaviv_cmdbuf_init()
/linux-6.6.21/arch/mips/math-emu/
Ddsemul.c94 idx = bitmap_find_free_region(mm_ctx->bd_emupage_allocmap, in alloc_emuframe()
/linux-6.6.21/drivers/pci/endpoint/
Dpci-epc-mem.c195 pageno = bitmap_find_free_region(mem->bitmap, mem->pages, in pci_epc_mem_alloc_addr()
/linux-6.6.21/drivers/irqchip/
Dirq-loongson-pch-msi.c56 first = bitmap_find_free_region(priv->msi_map, priv->num_irqs, in pch_msi_allocate_hwirq()
Dirq-gic-v3-mbi.c93 offset = bitmap_find_free_region(mbi_ranges[i].bm, in mbi_irq_domain_alloc()
Dirq-gic-v2m.c186 offset = bitmap_find_free_region(tmp->bm, tmp->nr_spis, in gicv2m_irq_domain_alloc()
Dirq-armada-370-xp.c249 hwirq = bitmap_find_free_region(msi_used, PCI_MSI_DOORBELL_NR, in armada_370_xp_msi_alloc()
/linux-6.6.21/kernel/dma/
Dcoherent.c155 pageno = bitmap_find_free_region(mem->bitmap, mem->size, order); in __dma_alloc_from_coherent()
/linux-6.6.21/arch/sh/kernel/cpu/sh4/
Dsq.c170 page = bitmap_find_free_region(sq_bitmap, 0x04000000 >> PAGE_SHIFT, in sq_remap()
/linux-6.6.21/drivers/pci/controller/
Dpcie-apple.c214 hwirq = bitmap_find_free_region(pcie->bitmap, pcie->nvecs, in apple_msi_domain_alloc()
686 idx = bitmap_find_free_region(port->sid_map, port->sid_map_sz, 0); in apple_pcie_add_device()
Dpcie-xilinx.c240 hwirq = bitmap_find_free_region(pcie->msi_map, XILINX_NUM_MSI_IRQS, order_base_2(nr_irqs)); in xilinx_msi_domain_alloc()
Dpcie-iproc-msi.c262 hwirq = bitmap_find_free_region(msi->bitmap, msi->nr_msi_vecs, in iproc_msi_irq_domain_alloc()
Dpcie-xilinx-nwl.c467 bit = bitmap_find_free_region(msi->bitmap, INT_PCI_MSI_NR, in nwl_irq_domain_alloc()
Dpcie-mediatek-gen3.c534 hwirq = bitmap_find_free_region(pcie->msi_irq_in_use, PCIE_MSI_IRQS_NUM, in mtk_msi_bottom_domain_alloc()
Dpcie-rcar-host.c689 hwirq = bitmap_find_free_region(msi->used, INT_PCI_MSI_NR, order_base_2(nr_irqs)); in rcar_msi_domain_alloc()
/linux-6.6.21/lib/
Dbitmap.c1313 int bitmap_find_free_region(unsigned long *bitmap, unsigned int bits, int order) in bitmap_find_free_region() function
1325 EXPORT_SYMBOL(bitmap_find_free_region);
/linux-6.6.21/include/linux/
Dbitmap.h219 int bitmap_find_free_region(unsigned long *bitmap, unsigned int bits, int order);
/linux-6.6.21/drivers/iio/
Dindustrialio-trigger.c263 ret = bitmap_find_free_region(trig->pool, in iio_trigger_get_irq()
/linux-6.6.21/drivers/perf/
Dqcom_l3_pmu.c557 idx = bitmap_find_free_region(l3pmu->used_mask, L3_NUM_COUNTERS, order); in qcom_l3_cache__event_add()
/linux-6.6.21/drivers/pci/controller/dwc/
Dpcie-designware-host.c196 bit = bitmap_find_free_region(pp->msi_irq_in_use, pp->num_vectors, in dw_pcie_irq_domain_alloc()
/linux-6.6.21/drivers/net/wireless/intersil/p54/
Dmain.c554 slot = bitmap_find_free_region(priv->used_rxkeys, in p54_set_key()
/linux-6.6.21/drivers/net/ethernet/pensando/ionic/
Dionic_dev.c609 ret = bitmap_find_free_region(idev->cmb_inuse, idev->cmb_npages, order); in ionic_get_cmb()
/linux-6.6.21/drivers/target/iscsi/
Discsi_target_login.c646 conn->bitmap_id = bitmap_find_free_region(iscsit_global->ts_bitmap, in iscsit_start_kthreads()
/linux-6.6.21/drivers/iommu/intel/
Dirq_remapping.c130 index = bitmap_find_free_region(table->bitmap, in alloc_irte()

12