Home
last modified time | relevance | path

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

123

/freebsd-14.2/usr.bin/file2c/
H A Dfile2c.c28 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()
/freebsd-14.2/sys/kern/
H A Dsubr_blist.c131 int *count, int maxcount);
133 int maxcount, u_daddr_t radix);
267 KASSERT(*count <= maxcount, in blist_alloc()
616 maxcount = imin(avail, maxcount); in blst_next_leaf_alloc()
658 return (maxcount); in blst_next_leaf_alloc()
727 if (maxcount < hi - lo) in blst_leaf_alloc()
728 hi = lo + maxcount; in blst_leaf_alloc()
733 hi = lo + maxcount; in blst_leaf_alloc()
734 *count = maxcount; in blst_leaf_alloc()
741 maxcount -= BLIST_RADIX - lo; in blst_leaf_alloc()
[all …]
H A Dmsi_if.m59 int maxcount;
/freebsd-14.2/sys/dev/acpica/
H A Dacpi_container.c44 int count, int maxcount, int *irqs);
120 acpi_syscont_alloc_msi(device_t bus, device_t dev, int count, int maxcount, in acpi_syscont_alloc_msi() argument
125 return (PCIB_ALLOC_MSI(device_get_parent(parent), dev, count, maxcount, in acpi_syscont_alloc_msi()
H A Dacpi_pcib_acpi.c89 int count, int maxcount, int *irqs);
655 acpi_pcib_alloc_msi(device_t pcib, device_t dev, int count, int maxcount, in acpi_pcib_alloc_msi() argument
661 return (PCIB_ALLOC_MSI(device_get_parent(bus), dev, count, maxcount, in acpi_pcib_alloc_msi()
/freebsd-14.2/bin/ps/
H A Dps.c124 int maxcount; member
493 uidlist.count = uidlist.maxcount = 1; in main()
563 if (pidlist.count >= pidlist.maxcount) in main()
814 if (inf->count >= inf->maxcount) in addelem_gid()
838 if (inf->count >= inf->maxcount) in addelem_jid()
869 if (inf->count >= inf->maxcount) in addelem_pid()
950 if (inf->count >= inf->maxcount) in addelem_tty()
995 if (inf->count >= inf->maxcount) in addelem_uid()
1173 newmax = (inf->maxcount + 1) << 1; in expand_list()
1179 inf->maxcount = newmax; in expand_list()
[all …]
/freebsd-14.2/sbin/pfctl/
H A Dpfctl_radix.c63 unsigned long maxcount; in pfr_report_error() local
66 s = sizeof(maxcount); in pfr_report_error()
67 if (sysctlbyname("net.pf.request_maxcount", &maxcount, &s, NULL, in pfr_report_error()
71 if (io->pfrio_size > maxcount || io->pfrio_size2 > maxcount) in pfr_report_error()
/freebsd-14.2/sys/arm64/cavium/
H A Dthunder_pcie_pem_fdt.c107 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()
/freebsd-14.2/sys/sys/
H A Dblist.h92 daddr_t blist_alloc(blist_t blist, int *count, int maxcount);
/freebsd-14.2/contrib/file/src/
H A Dcdf.c937 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 …]
/freebsd-14.2/sys/x86/include/
H A Dlegacyvar.h66 int maxcount, int *irqs);
H A Dintr_machdep.h158 int msi_alloc(device_t dev, int count, int maxcount, int *irqs);
/freebsd-14.2/contrib/llvm-project/lld/ELF/Arch/
H A DLoongArch.cpp160 const uint32_t maxcount = 1 + 64 / 7; in handleUleb128() local
164 if (count > maxcount || (count == maxcount && error)) in handleUleb128()
166 uint64_t mask = count < maxcount ? (1ULL << 7 * count) - 1 : -1ULL; in handleUleb128()
/freebsd-14.2/stand/efi/loader/
H A Dframebuffer.c168 size_t count, maxcount = 1024; in efifb_uga_find_pixel() local
184 data1 = calloc(maxcount, 2); in efifb_uga_find_pixel()
189 data2 = data1 + maxcount; in efifb_uga_find_pixel()
193 count = min(size, maxcount); in efifb_uga_find_pixel()
/freebsd-14.2/sys/x86/x86/
H A Dmsi.c403 msi_alloc(device_t dev, int count, int maxcount, int *irqs) in msi_alloc() argument
467 vector = apic_alloc_vectors(cpu, irqs, count, maxcount); in msi_alloc()
509 fsrc->msi_maxcount = maxcount; in msi_alloc()
/freebsd-14.2/sys/dev/xilinx/
H A Dxlnx_pcib.c547 xlnx_pcib_alloc_msi(device_t pci, device_t child, int count, int maxcount, in xlnx_pcib_alloc_msi() argument
555 return (intr_alloc_msi(pci, child, msi_parent, count, maxcount, in xlnx_pcib_alloc_msi()
583 xlnx_pcib_msi_alloc_msi(device_t dev, device_t child, int count, int maxcount, in xlnx_pcib_msi_alloc_msi() argument
/freebsd-14.2/sys/dev/dpaa2/
H A Ddpaa2_mc.h196 int dpaa2_mc_alloc_msi(device_t mcdev, device_t child, int count, int maxcount,
H A Ddpaa2_mc.c418 dpaa2_mc_alloc_msi(device_t mcdev, device_t child, int count, int maxcount, in dpaa2_mc_alloc_msi() argument
422 return (dpaa2_mc_alloc_msi_impl(mcdev, child, count, maxcount, irqs)); in dpaa2_mc_alloc_msi()
783 dpaa2_mc_alloc_msi_impl(device_t mcdev, device_t child, int count, int maxcount, in dpaa2_mc_alloc_msi_impl() argument
/freebsd-14.2/sys/arm/arm/
H A Dgic.c1028 int maxcount, struct intr_irqsrc **isrc) in arm_gic_alloc_msi() argument
1035 KASSERT(powerof2(maxcount), ("%s: bad maxcount", __func__)); in arm_gic_alloc_msi()
1044 if ((irq & (maxcount - 1)) != 0) in arm_gic_alloc_msi()
1352 arm_gicv2m_alloc_msi(device_t dev, device_t child, int count, int maxcount, in arm_gicv2m_alloc_msi() argument
1360 sc->sc_spi_count, count, maxcount, srcs); in arm_gicv2m_alloc_msi()
H A Dgic_if.m48 int maxcount;
/freebsd-14.2/sys/dev/pci/
H A Dpci_host_generic_fdt.c288 int maxcount, int *irqs) in generic_pcie_fdt_alloc_msi() argument
298 return (intr_alloc_msi(pci, child, msi_parent, count, maxcount, in generic_pcie_fdt_alloc_msi()
H A Dpci_host_generic_acpi.c439 int maxcount, int *irqs) in generic_pcie_acpi_alloc_msi() argument
444 count, maxcount, irqs)); in generic_pcie_acpi_alloc_msi()
/freebsd-14.2/sys/arm/nvidia/
H A Dtegra_pcie.c536 tegra_pcib_alloc_msi(device_t pci, device_t child, int count, int maxcount, in tegra_pcib_alloc_msi() argument
546 return (intr_alloc_msi(pci, child, msi_parent, count, maxcount, in tegra_pcib_alloc_msi()
741 tegra_pcib_msi_alloc_msi(device_t dev, device_t child, int count, int maxcount, in tegra_pcib_msi_alloc_msi() argument
749 KASSERT(powerof2(maxcount), ("%s: bad maxcount", __func__)); in tegra_pcib_msi_alloc_msi()
757 if ((irq & (maxcount - 1)) != 0) in tegra_pcib_msi_alloc_msi()
/freebsd-14.2/sys/x86/pci/
H A Dpci_bus.c96 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()
/freebsd-14.2/sys/arm64/arm64/
H A Dgic_v3.c1517 int count, int maxcount, struct intr_irqsrc **isrc) in gic_v3_gic_alloc_msi() argument
1524 KASSERT(powerof2(maxcount), ("%s: bad maxcount", __func__)); in gic_v3_gic_alloc_msi()
1533 if ((irq & (maxcount - 1)) != 0) in gic_v3_gic_alloc_msi()
1655 gic_v3_alloc_msi(device_t dev, device_t child, int count, int maxcount, in gic_v3_alloc_msi() argument
1663 sc->gic_mbi_end - sc->gic_mbi_start, count, maxcount, isrc); in gic_v3_alloc_msi()

123