HomeSort by: relevance | last modified time | path
    Searched defs:counts (Results 1 - 25 of 28) sorted by relevancy

1 2

  /src/sys/dev/pci/
if_eqos_pci.c 109 int counts[PCI_INTR_TYPE_SIZE]; local in function:eqos_pci_attach
177 counts[PCI_INTR_TYPE_MSI] = 1;
178 counts[PCI_INTR_TYPE_INTX] = 1;
179 if (pci_intr_alloc(pa, &psc->sc_intrs, counts, PCI_INTR_TYPE_MSI) != 0)
ciss_pci.c 232 int counts[PCI_INTR_TYPE_SIZE] = { local in function:ciss_pci_attach
245 counts[PCI_INTR_TYPE_MSI] = counts[PCI_INTR_TYPE_MSIX] = 1;
251 if (pci_intr_alloc(pa, &ih, counts, max_type)) {
xhci_pci.c 129 int counts[PCI_INTR_TYPE_SIZE]; local in function:xhci_pci_attach
216 counts[i] = 1;
219 counts[PCI_INTR_TYPE_MSI] = 0;
222 counts[PCI_INTR_TYPE_MSIX] = 0;
226 if (pci_intr_alloc(pa, &psc->sc_pihp, counts, PCI_INTR_TYPE_MSIX)) {
nvme_pci.c 427 int counts[PCI_INTR_TYPE_SIZE]; local in function:nvme_pci_setup_intr
431 memset(counts, 0, sizeof(counts));
437 counts[PCI_INTR_TYPE_MSIX] = uimin(pci_msix_count(pa->pa_pc, pa->pa_tag),
439 if (counts[PCI_INTR_TYPE_MSIX] < 1) {
440 counts[PCI_INTR_TYPE_MSIX] = 0;
442 if (counts[PCI_INTR_TYPE_MSIX] > 2)
443 counts[PCI_INTR_TYPE_MSIX] = 2; /* adminq + 1 ioq */
449 counts[PCI_INTR_TYPE_MSI] = pci_msi_count(pa->pa_pc, pa->pa_tag);
450 if (counts[PCI_INTR_TYPE_MSI] > 0)
    [all...]
siisata_pci.c 223 int counts[PCI_INTR_TYPE_SIZE] = { local in function:siisata_pci_attach
235 if (pci_intr_alloc(pa, &psc->sc_pihp, counts, max_type) != 0) {
ahcisata_pci.c 411 int counts[PCI_INTR_TYPE_SIZE] = { local in function:ahci_pci_attach
418 if (pci_intr_alloc(pa, &psc->sc_pihp, counts, PCI_INTR_TYPE_MSIX)) {
423 psc->sc_nintr = counts[pci_intr_type(pa->pa_pc, psc->sc_pihp[0])];
virtio_pci.c 1143 int counts[PCI_INTR_TYPE_SIZE]; local in function:virtio_pci_alloc_interrupts
1154 counts[PCI_INTR_TYPE_INTX] = 1;
1165 counts[PCI_INTR_TYPE_MSIX] = nmsix;
1166 counts[PCI_INTR_TYPE_MSI] = 0;
1167 counts[PCI_INTR_TYPE_INTX] = 1;
1171 error = pci_intr_alloc(&psc->sc_pa, &psc->sc_ihp, counts, max_type);
1189 counts[PCI_INTR_TYPE_INTX] = 1;
if_rge.c 231 int counts[PCI_INTR_TYPE_SIZE] = { local in function:rge_attach
240 if (pci_intr_alloc(pa, &ihp, counts, max_type) != 0) {
if_bnx.c 629 int counts[PCI_INTR_TYPE_SIZE] = { local in function:bnx_attach
634 if (pci_intr_alloc(pa, &sc->bnx_ih, counts, PCI_INTR_TYPE_INTX)) {
if_ena.c 1926 int counts[PCI_INTR_TYPE_SIZE]; local in function:ena_enable_msix
1932 counts[PCI_INTR_TYPE_INTX] = 0;
1933 counts[PCI_INTR_TYPE_MSI] = 0;
1934 counts[PCI_INTR_TYPE_MSIX] = msix_req;
1937 if (pci_intr_alloc(&adapter->sc_pa, &adapter->sc_intrs, counts,
1944 adapter->sc_nintrs = counts[PCI_INTR_TYPE_MSIX];
1946 if (counts[PCI_INTR_TYPE_MSIX] != msix_req) {
pvscsi.c 1565 int counts[PCI_INTR_TYPE_SIZE]; local in function:pvscsi_setup_interrupts
1568 counts[i] = 1;
1575 counts[PCI_INTR_TYPE_MSIX] = 0;
1578 counts[PCI_INTR_TYPE_MSI] = 0;
1582 if (pci_intr_alloc(pa, &sc->sc_pihp, counts, PCI_INTR_TYPE_MSIX)) {
if_bge.c 3626 int counts[PCI_INTR_TYPE_SIZE] = { local in function:bge_attach
3638 if (pci_intr_alloc(pa, &sc->bge_pihp, counts, max_type) != 0) {
if_iavf.c 1752 int counts[PCI_INTR_TYPE_SIZE]; local in function:iavf_setup_interrupts
1768 memset(counts, 0, sizeof(counts));
1769 counts[PCI_INTR_TYPE_MSIX] = num;
1771 error = pci_intr_alloc(pa, &sc->sc_ihp, counts, PCI_INTR_TYPE_MSIX);
1779 if (counts[PCI_INTR_TYPE_MSIX] < 1) {
1781 } else if (counts[PCI_INTR_TYPE_MSIX] != (int)num) {
1784 num, counts[PCI_INTR_TYPE_MSIX]);
1785 num = counts[PCI_INTR_TYPE_MSIX];
if_wm.c 2013 int counts[PCI_INTR_TYPE_SIZE]; local in function:wm_attach
2212 counts[PCI_INTR_TYPE_MSIX]
2216 counts[PCI_INTR_TYPE_MSIX] = 0;
2220 counts[PCI_INTR_TYPE_MSI] = 1;
2221 counts[PCI_INTR_TYPE_INTX] = 1;
2224 counts[PCI_INTR_TYPE_MSI] = 0;
2227 counts[PCI_INTR_TYPE_MSIX] = 0;
2231 counts[PCI_INTR_TYPE_MSIX] = 0;
2235 if (pci_intr_alloc(pa, &sc->sc_intrs, counts, max_type) != 0) {
2244 counts[PCI_INTR_TYPE_MSIX])
    [all...]
  /src/sys/arch/mips/rmi/
rmixl_pcixvar.h 46 rmixl_pcix_evcnt_t *counts; /* index by cpu */ member in struct:rmixl_pcix_dispatch
rmixl_pcievar.h 64 rmixl_pcie_evcnt_t *counts; /* index by cpu */ member in struct:rmixl_pcie_link_dispatch
  /src/sys/arch/shark/include/
profileio.h 75 unsigned short counts[4]; /* the counts */ member in struct:profHashEntry
  /src/usr.bin/systat/
syscall.c 60 uint64_t counts[SYS_NSYSENT]; member in struct:Info
69 static enum sort_order { UNSORTED, NAMES, COUNTS } sort_order = NAMES;
117 if (sysctlnametomib("kern.syscalls.counts", counts_mib,
206 for (i = 0; i < (int)__arraycount(s.counts); i++) {
210 v = s.counts[i] - s1.counts[i];
216 v = s.counts[i] - s1.counts[i];
238 if (sort_order == COUNTS) {
249 mvprintw(l, c, FMT, "STATS", "counts");
    [all...]
  /src/usr.sbin/tprof/
tprof.c 198 tprof_counts_t counts; local in function:show_counters
200 memset(&counts, 0, sizeof(counts));
201 counts.c_cpu = n;
202 ret = ioctl(devfd, TPROF_IOC_GETCOUNTS, &counts);
209 eventnamewidth[i], counts.c_count[i]);
  /src/lib/libresolv/
res_mkupdate.c 94 int section, numrrs = 0, counts[ns_s_max]; local in function:res_nmkupdate
123 memset(counts, 0, sizeof counts);
129 counts[section]++;
131 if (counts[i])
716 hp->qdcount = htons(counts[0]);
717 hp->ancount = htons(counts[1]);
718 hp->nscount = htons(counts[2]);
719 hp->arcount = htons(counts[3]);
  /src/sys/dev/tprof/
tprof.c 626 tprof_getcounts(tprof_counts_t *counts)
636 if (counts->c_cpu >= ncpu)
638 ci = cpu_lookup(counts->c_cpu);
642 xc = xc_unicast(0, tprof_getcounts_cpu, tb, counts->c_count, ci);
645 counts->c_ncounters = tb->tb_softc.sc_ncounters;
646 counts->c_runningmask = tb->tb_softc.sc_ctr_running_mask;
1008 tprof_counts_t *counts; local in function:tprof_ioctl
1046 counts = data;
1048 error = tprof_getcounts(counts);
  /src/sys/kern/
vfs_bio.c 2018 int counts[MAXBSIZE / MIN_PAGE_SIZE + 1]; local in function:vfs_bufstats
2023 memset(counts, 0, sizeof(counts));
2025 counts[bp->b_bufsize / PAGE_SIZE]++;
2030 if (counts[j] != 0)
2031 printf(", %d-%d", j * PAGE_SIZE, counts[j]);
  /src/sys/dev/pci/bktr/
bktr_core.c 1315 struct meteor_counts *counts; local in function:video_ioctl
1479 case METEORSCOUNT: /* (re)set error counts */
1480 counts = (struct meteor_counts *) arg;
1481 bktr->fifo_errors = counts->fifo_errors;
1482 bktr->dma_errors = counts->dma_errors;
1483 bktr->frames_captured = counts->frames_captured;
1484 bktr->even_fields_captured = counts->even_fields_captured;
1485 bktr->odd_fields_captured = counts->odd_fields_captured;
1488 case METEORGCOUNT: /* get error counts */
1489 counts = (struct meteor_counts *) arg
    [all...]
  /src/sys/dev/pci/ixgbe/
ixgbe.c 1702 /* Hardware workaround, gprc counts missed packets */
6754 int counts[PCI_INTR_TYPE_SIZE]; local in function:ixgbe_allocate_legacy
6763 counts[PCI_INTR_TYPE_MSIX] = 0;
6764 counts[PCI_INTR_TYPE_MSI] =
6767 counts[PCI_INTR_TYPE_INTX] =
6771 if (pci_intr_alloc(pa, &sc->osdep.intrs, counts, max_type) != 0) {
6791 counts[PCI_INTR_TYPE_INTX] = 1;
  /src/sys/external/bsd/drm/dist/bsd-core/
drmP.h 801 atomic_t counts[15]; member in struct:drm_device

Completed in 327 milliseconds

1 2