| /src/sys/dev/pci/ |
| 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...] |
| pci_stub.c | 72 int *counts, pci_intr_type_t max_type) 75 if (counts != NULL && counts[PCI_INTR_TYPE_INTX] == 0)
|
| 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)
|
| 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)) {
|
| 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)) {
|
| 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])];
|
| 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) {
|
| /src/sys/arch/arm/pci/ |
| pci_msi_machdep.c | 203 pci_intr_alloc(const struct pci_attach_args *pa, pci_intr_handle_t **ihps, int *counts, pci_intr_type_t max_type) 209 if (counts != NULL) { 214 msix_count = counts[PCI_INTR_TYPE_MSIX]; 217 msi_count = counts[PCI_INTR_TYPE_MSI]; 220 intx_count = counts[PCI_INTR_TYPE_INTX]; 227 memset(counts, 0, sizeof(*counts) * PCI_INTR_TYPE_SIZE); 235 if (counts != NULL) 236 counts[PCI_INTR_TYPE_MSIX] = msix_count; 243 if (counts != NULL [all...] |
| /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/sys/arch/luna68k/dev/xplx/ |
| mkdefs.awk | 65 counts[""]++ 87 counts[k]++
|
| /src/sys/arch/x86/pci/ |
| pci_intr_machdep.c | 483 * counts : The array of number of required interrupt handlers. 485 * CAUTION: The size of counts[] must be PCI_INTR_TYPE_SIZE. 488 * If you want to use 5 MSI-X, 1 MSI, or INTx, you use "counts" as 489 * int counts[PCI_INTR_TYPE_SIZE]; 490 * counts[PCI_INTR_TYPE_MSIX] = 5; 491 * counts[PCI_INTR_TYPE_MSI] = 1; 492 * counts[PCI_INTR_TYPE_INTX] = 1; 493 * error = pci_intr_alloc(pa, ihps, counts, PCI_INTR_TYPE_MSIX); 496 * and not to use INTx, you use "counts" as 497 * int counts[PCI_INTR_TYPE_SIZE] [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/shark/ |
| profile.c | 644 first->counts[0] = 0; 645 first->counts[1] = 0; 646 first->counts[2] = 0; 647 first->counts[3] = 0; 681 sample->counts[count]++; 705 printf("i = %d, pc = 0x%x, next = %d, counts %d %d %d %d\n", 706 i, sample->pc, sample->next, sample->counts[0], 707 sample->counts[1], sample->counts[2], sample->counts[3]) [all...] |
| /src/sys/external/bsd/drm/dist/bsd-core/ |
| drm_lock.c | 76 atomic_inc(&dev->counts[_DRM_STAT_LOCKS]); 120 atomic_inc(&dev->counts[_DRM_STAT_UNLOCKS]);
|
| /src/sys/arch/shark/include/ |
| profileio.h | 75 unsigned short counts[4]; /* the counts */ member in struct:profHashEntry
|
| /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/usr.bin/make/unit-tests/ |
| directive-ifdef.mk | 45 # Whitespace counts as non-empty as well.
|
| cond-func-empty.mk | 16 # An undefined variable counts as empty. 72 # The variable SPACE has a single space, which counts as being empty. 77 # The variable .newline has a single newline, which counts as being empty. 94 # and the value " ". This expression counts as empty since the value contains
|
| /src/sys/arch/powerpc/pci/ |
| pci_machdep_common.c | 155 pci_intr_handle_t **ihps, int *counts, pci_intr_type_t max_type) 159 if (counts != NULL && counts[PCI_INTR_TYPE_INTX] == 0)
|
| /src/sys/arch/sandpoint/pci/ |
| pci_machdep.c | 508 int *counts, pci_intr_type_t max_type) 511 if (counts != NULL && counts[PCI_INTR_TYPE_INTX] == 0)
|
| /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/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/arch/shark/isa/ |
| clock.c | 229 /* 64 bit counts from timer 0 */ 416 * (Note that we use `rate generator' mode, which counts at 1:1; `square 417 * wave' mode counts at 2:1). 508 delayloop(int counts) 510 while (counts--)
|
| /src/sys/arch/powerpc/booke/pci/ |
| pq3pci.c | 1602 int *counts, pci_intr_type_t max_type) 1608 if (counts == NULL) { 1615 cnt[PCI_INTR_TYPE_MSIX] = counts[PCI_INTR_TYPE_MSIX]; 1618 cnt[PCI_INTR_TYPE_MSI] = counts[PCI_INTR_TYPE_MSI]; 1621 cnt[PCI_INTR_TYPE_INTX] = counts[PCI_INTR_TYPE_INTX]; 1628 if (counts != NULL) 1629 memset(counts, 0, sizeof(counts[0]) * (max_type + 1)); 1638 KASSERTMSG(counts != NULL, 1639 "If MSI-X is used, counts must not be NULL.") [all...] |