/linux-6.6.21/arch/powerpc/sysdev/ |
D | msi_bitmap.c | 170 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/ |
D | etnaviv_cmdbuf.c | 96 granule_offs = bitmap_find_free_region(suballoc->granule_map, in etnaviv_cmdbuf_init()
|
/linux-6.6.21/arch/mips/math-emu/ |
D | dsemul.c | 94 idx = bitmap_find_free_region(mm_ctx->bd_emupage_allocmap, in alloc_emuframe()
|
/linux-6.6.21/drivers/pci/endpoint/ |
D | pci-epc-mem.c | 195 pageno = bitmap_find_free_region(mem->bitmap, mem->pages, in pci_epc_mem_alloc_addr()
|
/linux-6.6.21/drivers/irqchip/ |
D | irq-loongson-pch-msi.c | 56 first = bitmap_find_free_region(priv->msi_map, priv->num_irqs, in pch_msi_allocate_hwirq()
|
D | irq-gic-v3-mbi.c | 93 offset = bitmap_find_free_region(mbi_ranges[i].bm, in mbi_irq_domain_alloc()
|
D | irq-gic-v2m.c | 186 offset = bitmap_find_free_region(tmp->bm, tmp->nr_spis, in gicv2m_irq_domain_alloc()
|
D | irq-armada-370-xp.c | 249 hwirq = bitmap_find_free_region(msi_used, PCI_MSI_DOORBELL_NR, in armada_370_xp_msi_alloc()
|
/linux-6.6.21/kernel/dma/ |
D | coherent.c | 155 pageno = bitmap_find_free_region(mem->bitmap, mem->size, order); in __dma_alloc_from_coherent()
|
/linux-6.6.21/arch/sh/kernel/cpu/sh4/ |
D | sq.c | 170 page = bitmap_find_free_region(sq_bitmap, 0x04000000 >> PAGE_SHIFT, in sq_remap()
|
/linux-6.6.21/drivers/pci/controller/ |
D | pcie-apple.c | 214 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()
|
D | pcie-xilinx.c | 240 hwirq = bitmap_find_free_region(pcie->msi_map, XILINX_NUM_MSI_IRQS, order_base_2(nr_irqs)); in xilinx_msi_domain_alloc()
|
D | pcie-iproc-msi.c | 262 hwirq = bitmap_find_free_region(msi->bitmap, msi->nr_msi_vecs, in iproc_msi_irq_domain_alloc()
|
D | pcie-xilinx-nwl.c | 467 bit = bitmap_find_free_region(msi->bitmap, INT_PCI_MSI_NR, in nwl_irq_domain_alloc()
|
D | pcie-mediatek-gen3.c | 534 hwirq = bitmap_find_free_region(pcie->msi_irq_in_use, PCIE_MSI_IRQS_NUM, in mtk_msi_bottom_domain_alloc()
|
D | pcie-rcar-host.c | 689 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/ |
D | bitmap.c | 1313 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/ |
D | bitmap.h | 219 int bitmap_find_free_region(unsigned long *bitmap, unsigned int bits, int order);
|
/linux-6.6.21/drivers/iio/ |
D | industrialio-trigger.c | 263 ret = bitmap_find_free_region(trig->pool, in iio_trigger_get_irq()
|
/linux-6.6.21/drivers/perf/ |
D | qcom_l3_pmu.c | 557 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/ |
D | pcie-designware-host.c | 196 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/ |
D | main.c | 554 slot = bitmap_find_free_region(priv->used_rxkeys, in p54_set_key()
|
/linux-6.6.21/drivers/net/ethernet/pensando/ionic/ |
D | ionic_dev.c | 609 ret = bitmap_find_free_region(idev->cmb_inuse, idev->cmb_npages, order); in ionic_get_cmb()
|
/linux-6.6.21/drivers/target/iscsi/ |
D | iscsi_target_login.c | 646 conn->bitmap_id = bitmap_find_free_region(iscsit_global->ts_bitmap, in iscsit_start_kthreads()
|
/linux-6.6.21/drivers/iommu/intel/ |
D | irq_remapping.c | 130 index = bitmap_find_free_region(table->bitmap, in alloc_irte()
|