Home
last modified time | relevance | path

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

123

/freebsd/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/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/sys/dev/acpica/
H A Dacpi_container.c43 int count, int maxcount, int *irqs);
119 acpi_syscont_alloc_msi(device_t bus, device_t dev, int count, int maxcount, in acpi_syscont_alloc_msi() argument
124 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);
660 acpi_pcib_alloc_msi(device_t pcib, device_t dev, int count, int maxcount, in acpi_pcib_alloc_msi() argument
666 return (PCIB_ALLOC_MSI(device_get_parent(bus), dev, count, maxcount, in acpi_pcib_alloc_msi()
/freebsd/bin/ps/
H A Dps.c111 int maxcount; member
480 uidlist.count = uidlist.maxcount = 1; in main()
550 if (pidlist.count >= pidlist.maxcount) in main()
801 if (inf->count >= inf->maxcount) in addelem_gid()
825 if (inf->count >= inf->maxcount) in addelem_jid()
856 if (inf->count >= inf->maxcount) in addelem_pid()
937 if (inf->count >= inf->maxcount) in addelem_tty()
982 if (inf->count >= inf->maxcount) in addelem_uid()
1160 newmax = (inf->maxcount + 1) << 1; in expand_list()
1166 inf->maxcount = newmax; in expand_list()
[all …]
/freebsd/sbin/pfctl/
H A Dpfctl_radix.c62 unsigned long maxcount; in pfr_report_error() local
65 s = sizeof(maxcount); in pfr_report_error()
66 if (sysctlbyname("net.pf.request_maxcount", &maxcount, &s, NULL, in pfr_report_error()
70 if (io->pfrio_size > maxcount || io->pfrio_size2 > maxcount) in pfr_report_error()
/freebsd/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/sys/sys/
H A Dblist.h92 daddr_t blist_alloc(blist_t blist, int *count, int maxcount);
/freebsd/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/sys/x86/include/
H A Dlegacyvar.h70 int maxcount, int *irqs);
H A Dintr_machdep.h158 int msi_alloc(device_t dev, int count, int maxcount, int *irqs);
/freebsd/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/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/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()
508 fsrc->msi_maxcount = maxcount; in msi_alloc()
/freebsd/sys/dev/xilinx/
H A Dxlnx_pcib.c546 xlnx_pcib_alloc_msi(device_t pci, device_t child, int count, int maxcount, in xlnx_pcib_alloc_msi() argument
554 return (intr_alloc_msi(pci, child, msi_parent, count, maxcount, in xlnx_pcib_alloc_msi()
582 xlnx_pcib_msi_alloc_msi(device_t dev, device_t child, int count, int maxcount, in xlnx_pcib_msi_alloc_msi() argument
/freebsd/sys/dev/dpaa2/
H A Ddpaa2_mc.h197 int dpaa2_mc_alloc_msi(device_t mcdev, device_t child, int count, int maxcount,
H A Ddpaa2_mc.c396 dpaa2_mc_alloc_msi(device_t mcdev, device_t child, int count, int maxcount, in dpaa2_mc_alloc_msi() argument
400 return (dpaa2_mc_alloc_msi_impl(mcdev, child, count, maxcount, irqs)); in dpaa2_mc_alloc_msi()
763 dpaa2_mc_alloc_msi_impl(device_t mcdev, device_t child, int count, int maxcount, in dpaa2_mc_alloc_msi_impl() argument
/freebsd/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/sys/dev/pci/
H A Dpci_host_generic_fdt.c277 int maxcount, int *irqs) in generic_pcie_fdt_alloc_msi() argument
287 return (intr_alloc_msi(pci, child, msi_parent, count, maxcount, in generic_pcie_fdt_alloc_msi()
H A Dpci_host_generic_acpi.c440 int maxcount, int *irqs) in generic_pcie_acpi_alloc_msi() argument
445 count, maxcount, irqs)); in generic_pcie_acpi_alloc_msi()
/freebsd/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/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/sys/arm64/arm64/
H A Dgic_v3.c1512 int count, int maxcount, struct intr_irqsrc **isrc) in gic_v3_gic_alloc_msi() argument
1519 KASSERT(powerof2(maxcount), ("%s: bad maxcount", __func__)); in gic_v3_gic_alloc_msi()
1528 if ((irq & (maxcount - 1)) != 0) in gic_v3_gic_alloc_msi()
1650 gic_v3_alloc_msi(device_t dev, device_t child, int count, int maxcount, in gic_v3_alloc_msi() argument
1658 sc->gic_mbi_end - sc->gic_mbi_start, count, maxcount, isrc); in gic_v3_alloc_msi()

123