Home
last modified time | relevance | path

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

12

/Linux-v6.1/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-v6.1/drivers/gpu/drm/etnaviv/
Detnaviv_cmdbuf.c96 granule_offs = bitmap_find_free_region(suballoc->granule_map, in etnaviv_cmdbuf_init()
/Linux-v6.1/arch/mips/math-emu/
Ddsemul.c94 idx = bitmap_find_free_region(mm_ctx->bd_emupage_allocmap, in alloc_emuframe()
/Linux-v6.1/drivers/pci/endpoint/
Dpci-epc-mem.c185 pageno = bitmap_find_free_region(mem->bitmap, mem->pages, in pci_epc_mem_alloc_addr()
/Linux-v6.1/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.c185 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-v6.1/arch/sh/kernel/cpu/sh4/
Dsq.c170 page = bitmap_find_free_region(sq_bitmap, 0x04000000 >> PAGE_SHIFT, in sq_remap()
/Linux-v6.1/kernel/dma/
Dcoherent.c153 pageno = bitmap_find_free_region(mem->bitmap, mem->size, order); in __dma_alloc_from_coherent()
/Linux-v6.1/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.c468 bit = bitmap_find_free_region(msi->bitmap, INT_PCI_MSI_NR, in nwl_irq_domain_alloc()
Dpcie-mediatek-gen3.c519 hwirq = bitmap_find_free_region(pcie->msi_irq_in_use, PCIE_MSI_IRQS_NUM, in mtk_msi_bottom_domain_alloc()
Dpcie-rcar-host.c704 hwirq = bitmap_find_free_region(msi->used, INT_PCI_MSI_NR, order_base_2(nr_irqs)); in rcar_msi_domain_alloc()
/Linux-v6.1/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-v6.1/include/linux/
Dbitmap.h219 int bitmap_find_free_region(unsigned long *bitmap, unsigned int bits, int order);
/Linux-v6.1/drivers/iio/
Dindustrialio-trigger.c250 ret = bitmap_find_free_region(trig->pool, in iio_trigger_get_irq()
/Linux-v6.1/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-v6.1/drivers/pci/controller/dwc/
Dpcie-designware-host.c195 bit = bitmap_find_free_region(pp->msi_irq_in_use, pp->num_vectors, in dw_pcie_irq_domain_alloc()
/Linux-v6.1/drivers/net/wireless/intersil/p54/
Dmain.c554 slot = bitmap_find_free_region(priv->used_rxkeys, in p54_set_key()
/Linux-v6.1/drivers/iommu/intel/
Dirq_remapping.c129 index = bitmap_find_free_region(table->bitmap, in alloc_irte()
/Linux-v6.1/drivers/target/iscsi/
Discsi_target_login.c646 conn->bitmap_id = bitmap_find_free_region(iscsit_global->ts_bitmap, in iscsit_start_kthreads()
/Linux-v6.1/drivers/pinctrl/
Dpinctrl-keembay.c1315 return bitmap_find_free_region(&val, KEEMBAY_GPIO_MAX_PER_REG, 3) / KEEMBAY_GPIO_NUM_IRQ; in keembay_find_free_slot()

12