| /f-stack/freebsd/kern/ |
| H A D | subr_blist.c | 133 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 D | msi_if.m | 61 int maxcount;
|
| H A D | vfs_syscalls.c | 430 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 D | subr_intr.c | 1324 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 D | xen_nexus.c | 126 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 D | xen_msi.c | 72 xen_msi_alloc(device_t dev, int count, int maxcount, int *irqs) in xen_msi_alloc() argument
|
| /f-stack/freebsd/arm64/cavium/ |
| H A D | thunder_pcie_pem_fdt.c | 113 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 D | thunder_pcie_pem.c | 347 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 D | blist.h | 94 daddr_t blist_alloc(blist_t blist, int *count, int maxcount);
|
| /f-stack/freebsd/x86/include/ |
| H A D | legacyvar.h | 68 int maxcount, int *irqs);
|
| H A D | intr_machdep.h | 163 int msi_alloc(device_t dev, int count, int maxcount, int *irqs);
|
| /f-stack/freebsd/x86/x86/ |
| H A D | msi.c | 382 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 D | nexus.c | 142 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 D | pci_bus.c | 98 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 D | tegra_pcie.c | 533 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 D | alpine_pci_msix.c | 296 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 D | gic.c | 1082 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 D | gic_v3.c | 1317 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 D | gicv3_its.c | 1272 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 D | xlp_pci.c | 351 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 D | rk_pcie.c | 532 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 D | bcm2838_pci.c | 436 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 D | mv_pci.c | 1229 int maxcount __unused, int *irqs) in mv_pcib_alloc_msi()
|