| /freebsd-13-stable/usr.bin/file2c/ |
| HD | 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()
|
| /freebsd-13-stable/sys/kern/ |
| HD | subr_blist.c | 131 int *count, int maxcount); 133 int maxcount, u_daddr_t radix); 292 blist_alloc(blist_t bl, int *count, int maxcount) in blist_alloc() argument 296 KASSERT(*count <= maxcount, in blist_alloc() 297 ("invalid parameters %d > %d", *count, maxcount)); in blist_alloc() 308 blk = blst_meta_alloc(bl->bl_root, cursor, count, maxcount, in blist_alloc() 616 blst_next_leaf_alloc(blmeta_t *scan, daddr_t start, int count, int maxcount) in blst_next_leaf_alloc() argument 623 for (blk = start; blk - start < maxcount; blk += BLIST_RADIX) { in blst_next_leaf_alloc() 645 maxcount = imin(avail, maxcount); in blst_next_leaf_alloc() 646 if (maxcount % BLIST_RADIX == 0) { in blst_next_leaf_alloc() [all …]
|
| HD | msi_if.m | 59 int maxcount;
|
| /freebsd-13-stable/sys/dev/acpica/ |
| HD | acpi_container.c | 44 int count, int maxcount, int *irqs); 125 acpi_syscont_alloc_msi(device_t bus, device_t dev, int count, int maxcount, in acpi_syscont_alloc_msi() argument 130 return (PCIB_ALLOC_MSI(device_get_parent(parent), dev, count, maxcount, in acpi_syscont_alloc_msi()
|
| HD | acpi_pcib_acpi.c | 89 int count, int maxcount, int *irqs); 656 acpi_pcib_alloc_msi(device_t pcib, device_t dev, int count, int maxcount, in acpi_pcib_alloc_msi() argument 662 return (PCIB_ALLOC_MSI(device_get_parent(bus), dev, count, maxcount, in acpi_pcib_alloc_msi()
|
| /freebsd-13-stable/bin/ps/ |
| HD | ps.c | 124 int maxcount; member 477 uidlist.count = uidlist.maxcount = 1; in main() 544 if (pidlist.count >= pidlist.maxcount) in main() 779 if (inf->count >= inf->maxcount) in addelem_gid() 803 if (inf->count >= inf->maxcount) in addelem_jid() 834 if (inf->count >= inf->maxcount) in addelem_pid() 915 if (inf->count >= inf->maxcount) in addelem_tty() 960 if (inf->count >= inf->maxcount) in addelem_uid() 1139 newmax = (inf->maxcount + 1) << 1; in expand_list() 1145 inf->maxcount = newmax; in expand_list() [all …]
|
| /freebsd-13-stable/sys/x86/xen/ |
| HD | xen_nexus.c | 124 nexus_xen_alloc_msi(device_t pcib, device_t dev, int count, int maxcount, int *irqs) in nexus_xen_alloc_msi() argument 127 return (xen_msi_alloc(dev, count, maxcount, irqs)); in nexus_xen_alloc_msi()
|
| HD | xen_msi.c | 70 xen_msi_alloc(device_t dev, int count, int maxcount, int *irqs) in xen_msi_alloc() argument
|
| /freebsd-13-stable/sbin/pfctl/ |
| HD | pfctl_radix.c | 63 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-13-stable/sys/arm64/cavium/ |
| HD | thunder_pcie_pem_fdt.c | 111 thunder_pem_fdt_alloc_msi(device_t pci, device_t child, int count, int maxcount, in thunder_pem_fdt_alloc_msi() argument 121 return (intr_alloc_msi(pci, child, msi_parent, count, maxcount, in thunder_pem_fdt_alloc_msi()
|
| /freebsd-13-stable/sys/xen/ |
| HD | xen_msi.h | 32 int xen_msi_alloc(device_t dev, int count, int maxcount, int *irqs);
|
| /freebsd-13-stable/sys/sys/ |
| HD | blist.h | 92 daddr_t blist_alloc(blist_t blist, int *count, int maxcount);
|
| /freebsd-13-stable/contrib/file/src/ |
| HD | 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 …]
|
| /freebsd-13-stable/sys/x86/include/ |
| HD | legacyvar.h | 66 int maxcount, int *irqs);
|
| HD | intr_machdep.h | 161 int msi_alloc(device_t dev, int count, int maxcount, int *irqs);
|
| /freebsd-13-stable/contrib/llvm-project/lld/ELF/Arch/ |
| HD | 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()
|
| /freebsd-13-stable/stand/efi/loader/ |
| HD | framebuffer.c | 169 size_t count, maxcount = 1024; in efifb_uga_find_pixel() local 185 data1 = calloc(maxcount, 2); in efifb_uga_find_pixel() 190 data2 = data1 + maxcount; in efifb_uga_find_pixel() 194 count = min(size, maxcount); in efifb_uga_find_pixel()
|
| /freebsd-13-stable/sys/x86/x86/ |
| HD | msi.c | 403 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-13-stable/sys/dev/xilinx/ |
| HD | xlnx_pcib.c | 547 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-13-stable/sys/dev/dpaa2/ |
| HD | dpaa2_mc.h | 196 int dpaa2_mc_alloc_msi(device_t mcdev, device_t child, int count, int maxcount,
|
| HD | dpaa2_mc.c | 419 dpaa2_mc_alloc_msi(device_t mcdev, device_t child, int count, int maxcount, in dpaa2_mc_alloc_msi() argument 423 return (dpaa2_mc_alloc_msi_impl(mcdev, child, count, maxcount, irqs)); in dpaa2_mc_alloc_msi() 848 dpaa2_mc_alloc_msi_impl(device_t mcdev, device_t child, int count, int maxcount, in dpaa2_mc_alloc_msi_impl() argument
|
| /freebsd-13-stable/sys/arm/nvidia/ |
| HD | tegra_pcie.c | 531 tegra_pcib_alloc_msi(device_t pci, device_t child, int count, int maxcount, in tegra_pcib_alloc_msi() argument 541 return (intr_alloc_msi(pci, child, msi_parent, count, maxcount, in tegra_pcib_alloc_msi() 742 tegra_pcib_msi_alloc_msi(device_t dev, device_t child, int count, int maxcount, in tegra_pcib_msi_alloc_msi() argument 750 KASSERT(powerof2(maxcount), ("%s: bad maxcount", __func__)); in tegra_pcib_msi_alloc_msi() 758 if ((irq & (maxcount - 1)) != 0) in tegra_pcib_msi_alloc_msi()
|
| /freebsd-13-stable/sys/x86/pci/ |
| HD | 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()
|
| /freebsd-13-stable/sys/dev/pci/ |
| HD | pci_host_generic_acpi.c | 416 int maxcount, int *irqs) in generic_pcie_acpi_alloc_msi() argument 421 count, maxcount, irqs)); in generic_pcie_acpi_alloc_msi()
|
| HD | pci_host_generic_fdt.c | 381 int maxcount, int *irqs) in generic_pcie_fdt_alloc_msi() argument 391 return (intr_alloc_msi(pci, child, msi_parent, count, maxcount, in generic_pcie_fdt_alloc_msi()
|