/src/sys/arch/mvme68k/dev/ |
wdsc.c | 125 static struct evcnt evcnt; /* XXXSCW: Temporary hack */ local in function:wdsc_pcc_attach 138 sc->sc_driver = (void *) &evcnt; 187 evcnt_attach_dynamic(&evcnt, EVCNT_TYPE_INTR, pccintr_evcnt(sc->sc_ipl), 189 pccintr_establish(PCCV_DMA, wdsc_dmaintr, sc->sc_ipl, sc, &evcnt); 190 pccintr_establish(PCCV_SCSI, wdsc_scsiintr, sc->sc_ipl, sc, &evcnt);
|
/src/sys/arch/ews4800mips/ews4800mips/ |
tr2_intr.c | 39 #include <sys/evcnt.h> 79 struct evcnt evcnt; member in struct:tr2_intr_handler 89 struct evcnt timer_tr2_ev = 122 evcnt_attach_dynamic(&ih->evcnt, EVCNT_TYPE_INTR, NULL, 141 evcnt_detach(&ih->evcnt); 173 ih->evcnt.ev_count++; 185 ih->evcnt.ev_count++; 211 ih->evcnt.ev_count++; 220 ih->evcnt.ev_count++ [all...] |
tr2a_intr.c | 39 #include <sys/evcnt.h> 76 struct evcnt evcnt; member in struct:tr2a_intr_handler 99 struct evcnt timer_tr2a_ev = 137 evcnt_attach_dynamic(&ih->evcnt, EVCNT_TYPE_INTR, 168 evcnt_detach(&ih->evcnt); 202 ih->evcnt.ev_count++; 209 ih->evcnt.ev_count++; 241 ih->evcnt.ev_count++; 247 ih->evcnt.ev_count++ [all...] |
/src/sys/sys/ |
evcnt.h | 1 /* $NetBSD: evcnt.h,v 1.11 2024/01/15 18:14:23 thorpej Exp $ */ 85 struct evcnt { struct 90 TAILQ_ENTRY(evcnt) ev_list; /* entry on list of all counters */ 95 const struct evcnt *ev_parent; /* parent, for hierarchical ctrs */ 99 TAILQ_HEAD(evcntlist, evcnt); 126 * it is added to the evcnt list at attach time. 149 void evcnt_attach_static(struct evcnt *); 150 void evcnt_attach_dynamic_nozero(struct evcnt *, int, const struct evcnt *, 152 void evcnt_attach_dynamic(struct evcnt *, int, const struct evcnt * [all...] |
/src/sys/arch/mips/rmi/ |
rmixl_pcixvar.h | 37 struct evcnt evcnt; member in struct:rmixl_pcix_evcnt
|
rmixl_pcievar.h | 54 struct evcnt evcnt; member in struct:rmixl_pcie_evcnt
|
/src/sys/arch/ia64/ia64/ |
interrupt.c | 41 #include <sys/evcnt.h> 215 struct evcnt evcnt; member in struct:ia64_intr 302 evcnt_attach_dynamic(&i->evcnt, EVCNT_TYPE_INTR, NULL, 336 evcnt_detach(&i->evcnt); 356 i->evcnt.ev_count++;
|
/src/sys/arch/x68k/dev/ |
intio.c | 132 struct evcnt *iiv_evcnt; 323 struct evcnt *evcnt; local in function:intio_intr_establish_ext 330 evcnt = malloc(sizeof(*evcnt), M_DEVBUF, M_WAITOK); 331 evcnt_attach_dynamic(evcnt, EVCNT_TYPE_INTR, NULL, name1, name2); 335 iiv[vector].iiv_evcnt = evcnt;
|
/src/sys/arch/sgimips/mace/ |
mace.c | 83 struct evcnt evcnt; member in struct:__anon82e757df0108 265 evcnt_attach_dynamic(&maceintrtab[i].evcnt, 284 evcnt_detach(&maceintrtab[i].evcnt); 294 memset(&maceintrtab[i].evcnt, 0, sizeof (struct evcnt)); 326 maceintrtab[i].evcnt.ev_count++; 335 maceintrtab[i].evcnt.ev_count++;
|
/src/sys/crypto/aes/arch/x86/ |
aes_via.c | 34 #include <sys/evcnt.h> 43 struct evcnt { uint64_t ev_count; }; struct 195 static struct evcnt enc_aligned_evcnt = EVCNT_INITIALIZER(EVCNT_TYPE_MISC, 198 static struct evcnt enc_unaligned_evcnt = EVCNT_INITIALIZER(EVCNT_TYPE_MISC, 236 static struct evcnt dec_aligned_evcnt = EVCNT_INITIALIZER(EVCNT_TYPE_MISC, 239 static struct evcnt dec_unaligned_evcnt = EVCNT_INITIALIZER(EVCNT_TYPE_MISC, 350 static struct evcnt cbcenc_aligned_evcnt = EVCNT_INITIALIZER(EVCNT_TYPE_MISC, 353 static struct evcnt cbcenc_unaligned_evcnt = EVCNT_INITIALIZER(EVCNT_TYPE_MISC, 392 static struct evcnt cbcdec_aligned_evcnt = EVCNT_INITIALIZER(EVCNT_TYPE_MISC, 395 static struct evcnt cbcdec_unaligned_evcnt = EVCNT_INITIALIZER(EVCNT_TYPE_MISC [all...] |
/src/usr.bin/systat/ |
vmstat.c | 48 #include <sys/evcnt.h> 69 u_int64_t *evcnt; member in struct:Info 161 struct evcnt evcnt, *evptr; local in function:get_interrupt_events 167 for (; evptr != NULL; evptr = TAILQ_NEXT(&evcnt, ev_list)) { 168 if (!KREAD(evptr, &evcnt, sizeof evcnt)) 170 if (evcnt.ev_type != EVCNT_TYPE_INTR) 177 ie->ie_group = malloc(evcnt.ev_grouplen + 1); 178 ie->ie_name = malloc(evcnt.ev_namelen + 1) 869 u_int64_t *evcnt; local in function:copyinfo [all...] |
/src/sys/arch/powerpc/booke/ |
e500_intr.c | 1239 struct evcnt *evcnt = cpu->cpu_evcnt_intrs; local in function:e500_intr_cpu_attach 1240 for (size_t j = 0; j < info->ii_external_sources; j++, evcnt++) { 1242 evcnt_attach_dynamic(evcnt, EVCNT_TYPE_INTR, NULL, xname, name); 1244 KASSERT(evcnt == cpu->cpu_evcnt_intrs + info->ii_ist_vectors[IST_ONCHIP]); 1245 for (size_t j = 0; j < info->ii_onchip_sources; j++, evcnt++) { 1249 evcnt_attach_dynamic(evcnt, EVCNT_TYPE_INTR, 1253 printf("%s: missing evcnt for onchip irq %zu\n", 1260 KASSERT(evcnt == cpu->cpu_evcnt_intrs + info->ii_ist_vectors[IST_MSIGROUP]); 1261 for (size_t j = 0; j < info->ii_msigroup_sources; j++, evcnt++) [all...] |
/src/usr.bin/vmstat/ |
vmstat.c | 87 #include <sys/evcnt.h> 190 * Namelist for pre-evcnt interrupt counters. 1300 struct evcnt evcnt, *evptr; local in function:doevcnt 1321 err(1, "kern.evcnt"); 1427 deref_kptr(evptr, &evcnt, sizeof(evcnt), "event chain trashed"); 1429 evptr = TAILQ_NEXT(&evcnt, ev_list); 1430 if (evcnt.ev_count == 0 && !verbose) 1432 if (type != EVCNT_TYPE_ANY && evcnt.ev_type != type [all...] |