| /src/usr.bin/file2c/ |
| H A D | file2c.c | 28 int c, count, linepos, maxcount, pretty, radix; in main() local 30 maxcount = 0; in main() 36 maxcount = strtol(optarg, NULL, 10); in main() 60 if ((maxcount == 0 && linepos > 70) || in main() 61 (maxcount > 0 && count >= maxcount)) { in main()
|
| /src/sys/kern/ |
| H A D | subr_blist.c | 131 int *count, int maxcount); 133 int maxcount, u_daddr_t radix); 263 blist_alloc(blist_t bl, int *count, int maxcount) in blist_alloc() argument 267 KASSERT(*count <= maxcount, in blist_alloc() 268 ("invalid parameters %d > %d", *count, maxcount)); in blist_alloc() 279 blk = blst_meta_alloc(bl->bl_root, cursor, count, maxcount, in blist_alloc() 587 blst_next_leaf_alloc(blmeta_t *scan, daddr_t start, int count, int maxcount) in blst_next_leaf_alloc() argument 594 for (blk = start; blk - start < maxcount; blk += BLIST_RADIX) { in blst_next_leaf_alloc() 616 maxcount = imin(avail, maxcount); in blst_next_leaf_alloc() 617 if (maxcount % BLIST_RADIX == 0) { in blst_next_leaf_alloc() [all …]
|
| H A D | msi_if.m | 59 int maxcount;
|
| /src/sys/dev/acpica/ |
| H A D | acpi_container.c | 42 int count, int maxcount, int *irqs); 112 acpi_syscont_alloc_msi(device_t bus, device_t dev, int count, int maxcount, in acpi_syscont_alloc_msi() argument 117 return (PCIB_ALLOC_MSI(device_get_parent(parent), dev, count, maxcount, in acpi_syscont_alloc_msi()
|
| H A D | acpi_pcib_acpi.c | 87 int count, int maxcount, int *irqs); 564 acpi_pcib_alloc_msi(device_t pcib, device_t dev, int count, int maxcount, in acpi_pcib_alloc_msi() argument 570 return (PCIB_ALLOC_MSI(device_get_parent(bus), dev, count, maxcount, in acpi_pcib_alloc_msi()
|
| /src/sbin/pfctl/ |
| H A D | pfctl_radix.c | 76 unsigned long maxcount; in pfr_report_error() local 79 s = sizeof(maxcount); in pfr_report_error() 80 if (sysctlbyname("net.pf.request_maxcount", &maxcount, &s, NULL, in pfr_report_error() 84 if (io->pfrio_size > maxcount || io->pfrio_size2 > maxcount) in pfr_report_error()
|
| /src/bin/ps/ |
| H A D | ps.c | 120 int maxcount; member 601 if (pidlist.count >= pidlist.maxcount) in main() 615 if (pidlist.count >= pidlist.maxcount) in main() 852 if (inf->count >= inf->maxcount) in addelem_gid() 876 if (inf->count >= inf->maxcount) in addelem_jid() 907 if (inf->count >= inf->maxcount) in addelem_pid() 988 if (inf->count >= inf->maxcount) in addelem_tty() 1033 if (inf->count >= inf->maxcount) in addelem_uid() 1211 newmax = (inf->maxcount + 1) << 1; in expand_list() 1217 inf->maxcount = newmax; in expand_list() [all …]
|
| /src/sys/arm64/cavium/ |
| H A D | thunder_pcie_pem_fdt.c | 107 thunder_pem_fdt_alloc_msi(device_t pci, device_t child, int count, int maxcount, in thunder_pem_fdt_alloc_msi() argument 117 return (intr_alloc_msi(pci, child, msi_parent, count, maxcount, in thunder_pem_fdt_alloc_msi()
|
| /src/contrib/file/src/ |
| H A D | cdf.c | 937 cdf_grow_info(cdf_property_info_t **info, size_t *maxcount, size_t incr) in cdf_grow_info() argument 940 size_t newcount = *maxcount + incr; in cdf_grow_info() 953 *maxcount = newcount; in cdf_grow_info() 957 *maxcount = 0; in cdf_grow_info() 992 uint32_t offs, cdf_property_info_t **info, size_t *count, size_t *maxcount) in cdf_read_property_info() argument 1022 inp = cdf_grow_info(info, maxcount, sh.sh_properties); in cdf_read_property_info() 1089 inp = cdf_grow_info(info, maxcount, nelements); in cdf_read_property_info() 1142 *maxcount = 0; in cdf_read_property_info() 1151 size_t maxcount; in cdf_unpack_summary_info() local 1169 maxcount = 0; in cdf_unpack_summary_info() [all …]
|
| /src/sys/sys/ |
| H A D | blist.h | 92 daddr_t blist_alloc(blist_t blist, int *count, int maxcount);
|
| /src/contrib/llvm-project/lld/ELF/Arch/ |
| H A D | LoongArch.cpp | 163 const uint32_t maxcount = 1 + 64 / 7; in handleUleb128() local 167 if (count > maxcount || (count == maxcount && error)) in handleUleb128() 169 uint64_t mask = count < maxcount ? (1ULL << 7 * count) - 1 : -1ULL; in handleUleb128()
|
| /src/sys/x86/include/ |
| H A D | legacyvar.h | 70 int maxcount, int *irqs);
|
| H A D | intr_machdep.h | 158 int msi_alloc(device_t dev, int count, int maxcount, int *irqs);
|
| /src/stand/efi/loader/ |
| H A D | framebuffer.c | 182 size_t count, maxcount = 1024; in efifb_uga_find_pixel() local 198 data1 = calloc(maxcount, 2); in efifb_uga_find_pixel() 203 data2 = data1 + maxcount; in efifb_uga_find_pixel() 207 count = min(size, maxcount); in efifb_uga_find_pixel()
|
| /src/sys/dev/xilinx/ |
| H A D | xlnx_pcib.c | 552 xlnx_pcib_alloc_msi(device_t pci, device_t child, int count, int maxcount, in xlnx_pcib_alloc_msi() argument 560 return (intr_alloc_msi(pci, child, msi_parent, count, maxcount, in xlnx_pcib_alloc_msi() 588 xlnx_pcib_msi_alloc_msi(device_t dev, device_t child, int count, int maxcount, in xlnx_pcib_msi_alloc_msi() argument
|
| /src/sys/x86/x86/ |
| H A D | msi.c | 411 msi_alloc(device_t dev, int count, int maxcount, int *irqs) in msi_alloc() argument 475 vector = apic_alloc_vectors(cpu, irqs, count, maxcount); in msi_alloc() 517 fsrc->msi_maxcount = maxcount; in msi_alloc()
|
| /src/sys/arm/arm/ |
| H A D | gic.c | 1047 int maxcount, struct intr_irqsrc **isrc) in arm_gic_alloc_msi() argument 1054 KASSERT(powerof2(maxcount), ("%s: bad maxcount", __func__)); in arm_gic_alloc_msi() 1063 if ((irq & (maxcount - 1)) != 0) in arm_gic_alloc_msi() 1371 arm_gicv2m_alloc_msi(device_t dev, device_t child, int count, int maxcount, in arm_gicv2m_alloc_msi() argument 1379 sc->sc_spi_count, count, maxcount, srcs); in arm_gicv2m_alloc_msi()
|
| H A D | gic_if.m | 48 int maxcount;
|
| /src/sys/dev/dpaa2/ |
| H A D | dpaa2_mc.h | 197 int dpaa2_mc_alloc_msi(device_t mcdev, device_t child, int count, int maxcount,
|
| H A D | dpaa2_mc.c | 392 dpaa2_mc_alloc_msi(device_t mcdev, device_t child, int count, int maxcount, in dpaa2_mc_alloc_msi() argument 396 return (dpaa2_mc_alloc_msi_impl(mcdev, child, count, maxcount, irqs)); in dpaa2_mc_alloc_msi() 757 dpaa2_mc_alloc_msi_impl(device_t mcdev, device_t child, int count, int maxcount, in dpaa2_mc_alloc_msi_impl() argument
|
| /src/sys/dev/pci/ |
| H A D | pci_host_generic_fdt.c | 279 int maxcount, int *irqs) in generic_pcie_fdt_alloc_msi() argument 289 return (intr_alloc_msi(pci, child, msi_parent, count, maxcount, in generic_pcie_fdt_alloc_msi()
|
| H A D | pci_host_generic_acpi.c | 437 int maxcount, int *irqs) in generic_pcie_acpi_alloc_msi() argument 442 count, maxcount, irqs)); in generic_pcie_acpi_alloc_msi()
|
| /src/sys/arm/nvidia/ |
| H A D | tegra_pcie.c | 535 tegra_pcib_alloc_msi(device_t pci, device_t child, int count, int maxcount, in tegra_pcib_alloc_msi() argument 545 return (intr_alloc_msi(pci, child, msi_parent, count, maxcount, in tegra_pcib_alloc_msi() 740 tegra_pcib_msi_alloc_msi(device_t dev, device_t child, int count, int maxcount, in tegra_pcib_msi_alloc_msi() argument 748 KASSERT(powerof2(maxcount), ("%s: bad maxcount", __func__)); in tegra_pcib_msi_alloc_msi() 756 if ((irq & (maxcount - 1)) != 0) in tegra_pcib_msi_alloc_msi()
|
| /src/sys/x86/pci/ |
| H A D | pci_bus.c | 96 legacy_pcib_alloc_msi(device_t pcib, device_t dev, int count, int maxcount, in legacy_pcib_alloc_msi() argument 102 return (PCIB_ALLOC_MSI(device_get_parent(bus), dev, count, maxcount, in legacy_pcib_alloc_msi()
|
| /src/sys/arm64/arm64/ |
| H A D | nexus.c | 541 nexus_fdt_pcib_alloc_msi(device_t dev, device_t child, int count, int maxcount, in nexus_fdt_pcib_alloc_msi() argument 551 return (intr_alloc_msi(dev, child, msi_parent, count, maxcount, irqs)); in nexus_fdt_pcib_alloc_msi()
|