| /freebsd-13.1/usr.bin/file2c/ |
| H A D | file2c.c | 30 int c, count, linepos, maxcount, pretty, radix; in main() local 32 maxcount = 0; in main() 38 maxcount = strtol(optarg, NULL, 10); in main() 62 if ((maxcount == 0 && linepos > 70) || in main() 63 (maxcount > 0 && count >= maxcount)) { in main()
|
| /freebsd-13.1/sys/kern/ |
| H A D | subr_blist.c | 133 int *count, int maxcount); 135 int maxcount, u_daddr_t radix); 298 KASSERT(*count <= maxcount, in blist_alloc() 647 maxcount = imin(avail, maxcount); in blst_next_leaf_alloc() 689 return (maxcount); in blst_next_leaf_alloc() 758 if (maxcount < hi - lo) in blst_leaf_alloc() 759 hi = lo + maxcount; in blst_leaf_alloc() 764 hi = lo + maxcount; in blst_leaf_alloc() 765 *count = maxcount; in blst_leaf_alloc() 772 maxcount -= BLIST_RADIX - lo; in blst_leaf_alloc() [all …]
|
| H A D | msi_if.m | 60 int maxcount;
|
| /freebsd-13.1/sys/dev/acpica/ |
| H A D | acpi_container.c | 46 int count, int maxcount, int *irqs); 127 acpi_syscont_alloc_msi(device_t bus, device_t dev, int count, int maxcount, in acpi_syscont_alloc_msi() argument 132 return (PCIB_ALLOC_MSI(device_get_parent(parent), dev, count, maxcount, in acpi_syscont_alloc_msi()
|
| H A D | acpi_pcib_acpi.c | 91 int count, int maxcount, int *irqs); 646 acpi_pcib_alloc_msi(device_t pcib, device_t dev, int count, int maxcount, in acpi_pcib_alloc_msi() argument 652 return (PCIB_ALLOC_MSI(device_get_parent(bus), dev, count, maxcount, in acpi_pcib_alloc_msi()
|
| /freebsd-13.1/bin/ps/ |
| H A D | ps.c | 126 int maxcount; member 481 uidlist.count = uidlist.maxcount = 1; in main() 551 if (pidlist.count >= pidlist.maxcount) in main() 786 if (inf->count >= inf->maxcount) in addelem_gid() 810 if (inf->count >= inf->maxcount) in addelem_jid() 841 if (inf->count >= inf->maxcount) in addelem_pid() 922 if (inf->count >= inf->maxcount) in addelem_tty() 967 if (inf->count >= inf->maxcount) in addelem_uid() 1146 newmax = (inf->maxcount + 1) << 1; in expand_list() 1152 inf->maxcount = newmax; in expand_list() [all …]
|
| /freebsd-13.1/sys/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
|
| /freebsd-13.1/sbin/pfctl/ |
| H A D | pfctl_radix.c | 65 unsigned long maxcount; in pfr_report_error() local 68 s = sizeof(maxcount); in pfr_report_error() 69 if (sysctlbyname("net.pf.request_maxcount", &maxcount, &s, NULL, in pfr_report_error() 73 if (io->pfrio_size > maxcount || io->pfrio_size2 > maxcount) in pfr_report_error()
|
| /freebsd-13.1/sys/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()
|
| /freebsd-13.1/sys/xen/ |
| H A D | xen_msi.h | 34 int xen_msi_alloc(device_t dev, int count, int maxcount, int *irqs);
|
| /freebsd-13.1/sys/sys/ |
| H A D | blist.h | 94 daddr_t blist_alloc(blist_t blist, int *count, int maxcount);
|
| /freebsd-13.1/contrib/file/src/ |
| H A D | cdf.c | 921 cdf_grow_info(cdf_property_info_t **info, size_t *maxcount, size_t incr) in cdf_grow_info() argument 924 size_t newcount = *maxcount + incr; in cdf_grow_info() 937 *maxcount = newcount; in cdf_grow_info() 941 *maxcount = 0; in cdf_grow_info() 976 uint32_t offs, cdf_property_info_t **info, size_t *count, size_t *maxcount) in cdf_read_property_info() argument 1006 inp = cdf_grow_info(info, maxcount, sh.sh_properties); in cdf_read_property_info() 1073 inp = cdf_grow_info(info, maxcount, nelements); in cdf_read_property_info() 1126 *maxcount = 0; in cdf_read_property_info() 1135 size_t maxcount; in cdf_unpack_summary_info() local 1153 maxcount = 0; in cdf_unpack_summary_info() [all …]
|
| /freebsd-13.1/sys/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);
|
| /freebsd-13.1/stand/efi/loader/ |
| H A D | framebuffer.c | 167 size_t count, maxcount = 1024; in efifb_uga_find_pixel() local 183 data1 = calloc(maxcount, 2); in efifb_uga_find_pixel() 188 data2 = data1 + maxcount; in efifb_uga_find_pixel() 192 count = min(size, maxcount); in efifb_uga_find_pixel()
|
| /freebsd-13.1/sys/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()
|
| /freebsd-13.1/sys/dev/xilinx/ |
| H A D | xlnx_pcib.c | 549 xlnx_pcib_alloc_msi(device_t pci, device_t child, int count, int maxcount, in xlnx_pcib_alloc_msi() argument 557 return (intr_alloc_msi(pci, child, msi_parent, count, maxcount, in xlnx_pcib_alloc_msi() 585 xlnx_pcib_msi_alloc_msi(device_t dev, device_t child, int count, int maxcount, in xlnx_pcib_msi_alloc_msi() argument
|
| /freebsd-13.1/sys/dev/pci/ |
| H A D | pci_host_generic_acpi.c | 402 int maxcount, int *irqs) in generic_pcie_acpi_alloc_msi() argument 407 count, maxcount, irqs)); in generic_pcie_acpi_alloc_msi()
|
| H A D | pci_host_generic_fdt.c | 383 int maxcount, int *irqs) in generic_pcie_fdt_alloc_msi() argument 393 return (intr_alloc_msi(pci, child, msi_parent, count, maxcount, in generic_pcie_fdt_alloc_msi()
|
| H A D | pcib_private.h | 193 int pcib_alloc_msi(device_t pcib, device_t dev, int count, int maxcount, int *irqs);
|
| /freebsd-13.1/sys/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()
|
| /freebsd-13.1/sys/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()
|
| /freebsd-13.1/sys/powerpc/powermac/ |
| H A D | cpcht.c | 84 int count, int maxcount, int *irqs); 387 cpcht_alloc_msi(device_t dev, device_t child, int count, int maxcount, in cpcht_alloc_msi() argument
|