Home
last modified time | relevance | path

Searched refs:maxcount (Results 1 – 23 of 23) sorted by relevance

/f-stack/freebsd/kern/
H A Dsubr_blist.c133 int *count, int maxcount);
135 int maxcount, u_daddr_t radix);
290 KASSERT(*count <= maxcount, in blist_alloc()
639 maxcount = imin(avail, maxcount); in blst_next_leaf_alloc()
681 return (maxcount); in blst_next_leaf_alloc()
750 if (maxcount < hi - lo) in blst_leaf_alloc()
751 hi = lo + maxcount; in blst_leaf_alloc()
756 hi = lo + maxcount; in blst_leaf_alloc()
757 *count = maxcount; in blst_leaf_alloc()
764 maxcount -= BLIST_RADIX - lo; in blst_leaf_alloc()
[all …]
H A Dmsi_if.m61 int maxcount;
H A Dvfs_syscalls.c430 size_t count, maxcount; in kern_getfsstat() local
443 maxcount = bufsize / sizeof(struct statfs); in kern_getfsstat()
457 if (maxcount > count) in kern_getfsstat()
458 maxcount = count; in kern_getfsstat()
459 tofree = sfsp = *buf = malloc(maxcount * sizeof(struct statfs), in kern_getfsstat()
498 if (maxcount < 1) { in kern_getfsstat()
570 if (count == maxcount) { in kern_getfsstat()
H A Dsubr_intr.c1324 int maxcount, int *irqs) argument
1350 err = MSI_ALLOC_MSI(pic->pic_dev, child, count, maxcount, &pdev, isrc);
/f-stack/freebsd/x86/xen/
H A Dxen_nexus.c126 nexus_xen_alloc_msi(device_t pcib, device_t dev, int count, int maxcount, int *irqs) in nexus_xen_alloc_msi() argument
129 return (xen_msi_alloc(dev, count, maxcount, irqs)); in nexus_xen_alloc_msi()
H A Dxen_msi.c72 xen_msi_alloc(device_t dev, int count, int maxcount, int *irqs) in xen_msi_alloc() argument
/f-stack/freebsd/arm64/cavium/
H A Dthunder_pcie_pem_fdt.c113 thunder_pem_fdt_alloc_msi(device_t pci, device_t child, int count, int maxcount, in thunder_pem_fdt_alloc_msi() argument
123 return (intr_alloc_msi(pci, child, msi_parent, count, maxcount, in thunder_pem_fdt_alloc_msi()
H A Dthunder_pcie_pem.c347 thunder_pem_alloc_msi(device_t pci, device_t child, int count, int maxcount, in thunder_pem_alloc_msi() argument
353 return (PCIB_ALLOC_MSI(device_get_parent(bus), child, count, maxcount, in thunder_pem_alloc_msi()
/f-stack/freebsd/sys/
H A Dblist.h94 daddr_t blist_alloc(blist_t blist, int *count, int maxcount);
/f-stack/freebsd/x86/include/
H A Dlegacyvar.h68 int maxcount, int *irqs);
H A Dintr_machdep.h163 int msi_alloc(device_t dev, int count, int maxcount, int *irqs);
/f-stack/freebsd/x86/x86/
H A Dmsi.c382 msi_alloc(device_t dev, int count, int maxcount, int *irqs) in msi_alloc() argument
446 vector = apic_alloc_vectors(cpu, irqs, count, maxcount); in msi_alloc()
487 fsrc->msi_maxcount = maxcount; in msi_alloc()
H A Dnexus.c142 static int nexus_alloc_msi(device_t pcib, device_t dev, int count, int maxcount, int *irqs);
743 nexus_alloc_msi(device_t pcib, device_t dev, int count, int maxcount, int *irqs) in nexus_alloc_msi() argument
746 return (msi_alloc(dev, count, maxcount, irqs)); in nexus_alloc_msi()
/f-stack/freebsd/x86/pci/
H A Dpci_bus.c98 legacy_pcib_alloc_msi(device_t pcib, device_t dev, int count, int maxcount, in legacy_pcib_alloc_msi() argument
104 return (PCIB_ALLOC_MSI(device_get_parent(bus), dev, count, maxcount, in legacy_pcib_alloc_msi()
/f-stack/freebsd/arm/nvidia/
H A Dtegra_pcie.c533 tegra_pcib_alloc_msi(device_t pci, device_t child, int count, int maxcount, in tegra_pcib_alloc_msi() argument
543 return (intr_alloc_msi(pci, child, msi_parent, count, maxcount, in tegra_pcib_alloc_msi()
744 tegra_pcib_msi_alloc_msi(device_t dev, device_t child, int count, int maxcount, in tegra_pcib_msi_alloc_msi() argument
752 KASSERT(powerof2(maxcount), ("%s: bad maxcount", __func__)); in tegra_pcib_msi_alloc_msi()
760 if ((irq & (maxcount - 1)) != 0) in tegra_pcib_msi_alloc_msi()
/f-stack/freebsd/arm/annapurna/alpine/
H A Dalpine_pci_msix.c296 al_msix_alloc_msi(device_t dev, device_t child, int count, int maxcount, in al_msix_alloc_msi() argument
/f-stack/freebsd/arm/arm/
H A Dgic.c1082 arm_gicv2m_alloc_msi(device_t dev, device_t child, int count, int maxcount, in arm_gicv2m_alloc_msi() argument
1091 KASSERT(powerof2(maxcount), ("%s: bad maxcount", __func__)); in arm_gicv2m_alloc_msi()
1101 if ((irq & (maxcount - 1)) != 0) in arm_gicv2m_alloc_msi()
/f-stack/freebsd/arm64/arm64/
H A Dgic_v3.c1317 gic_v3_alloc_msi(device_t dev, device_t child, int count, int maxcount, in gic_v3_alloc_msi() argument
1325 KASSERT(powerof2(maxcount), ("%s: bad maxcount", __func__)); in gic_v3_alloc_msi()
1334 if ((irq & (maxcount - 1)) != 0) in gic_v3_alloc_msi()
H A Dgicv3_its.c1272 gicv3_its_alloc_msi(device_t dev, device_t child, int count, int maxcount, in gicv3_its_alloc_msi() argument
/f-stack/freebsd/mips/nlm/
H A Dxlp_pci.c351 xlp_alloc_msi(device_t pcib, device_t dev, int count, int maxcount, int *irqs) in xlp_alloc_msi() argument
/f-stack/freebsd/arm64/rockchip/
H A Drk_pcie.c532 int maxcount, int *irqs) in rk_pcie_alloc_msi() argument
542 rv = intr_alloc_msi(pci, child, msi_parent, count, maxcount,irqs); in rk_pcie_alloc_msi()
/f-stack/freebsd/arm/broadcom/bcm2835/
H A Dbcm2838_pci.c436 bcm_pcib_alloc_msi(device_t dev, device_t child, int count, int maxcount, in bcm_pcib_alloc_msi() argument
/f-stack/freebsd/arm/mv/
H A Dmv_pci.c1229 int maxcount __unused, int *irqs) in mv_pcib_alloc_msi()