Home
last modified time | relevance | path

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

123

/freebsd-13.1/usr.bin/file2c/
H A Dfile2c.c30 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 Dsubr_blist.c133 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 Dmsi_if.m60 int maxcount;
/freebsd-13.1/sys/dev/acpica/
H A Dacpi_container.c46 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 Dacpi_pcib_acpi.c91 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 Dps.c126 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 Dxen_nexus.c126 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 Dxen_msi.c72 xen_msi_alloc(device_t dev, int count, int maxcount, int *irqs) in xen_msi_alloc() argument
/freebsd-13.1/sbin/pfctl/
H A Dpfctl_radix.c65 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 Dthunder_pcie_pem_fdt.c113 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 Dxen_msi.h34 int xen_msi_alloc(device_t dev, int count, int maxcount, int *irqs);
/freebsd-13.1/sys/sys/
H A Dblist.h94 daddr_t blist_alloc(blist_t blist, int *count, int maxcount);
/freebsd-13.1/contrib/file/src/
H A Dcdf.c921 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 Dlegacyvar.h68 int maxcount, int *irqs);
H A Dintr_machdep.h163 int msi_alloc(device_t dev, int count, int maxcount, int *irqs);
/freebsd-13.1/stand/efi/loader/
H A Dframebuffer.c167 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 Dmsi.c382 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 Dnexus.c142 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 Dxlnx_pcib.c549 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 Dpci_host_generic_acpi.c402 int maxcount, int *irqs) in generic_pcie_acpi_alloc_msi() argument
407 count, maxcount, irqs)); in generic_pcie_acpi_alloc_msi()
H A Dpci_host_generic_fdt.c383 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 Dpcib_private.h193 int pcib_alloc_msi(device_t pcib, device_t dev, int count, int maxcount, int *irqs);
/freebsd-13.1/sys/arm/nvidia/
H A Dtegra_pcie.c533 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 Dpci_bus.c98 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 Dcpcht.c84 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

123