Searched refs:IOEventSourceCounter (Results 1 – 3 of 3) sorted by relevance
| /xnu-8792.41.9/iokit/IOKit/ |
| H A D | IOStatisticsPrivate.h | 59 struct IOEventSourceCounter; 91 SLIST_HEAD(, IOEventSourceCounter) counterList; 138 typedef struct IOEventSourceCounter { struct 139 SLIST_ENTRY(IOEventSourceCounter) link; 153 } IOEventSourceCounter; argument 253 static IOEventSourceCounter *registerEventSource(OSObject *inOwner); 254 static void unregisterEventSource(IOEventSourceCounter *counter); 276 setCounterType(IOEventSourceCounter *counter, IOStatisticsCounterType type) in setCounterType() 284 countOpenGate(IOEventSourceCounter *counter) in countOpenGate() 293 countCloseGate(IOEventSourceCounter *counter) in countCloseGate() [all …]
|
| H A D | IOEventSource.h | 160 struct IOEventSourceCounter *counter;
|
| /xnu-8792.41.9/iokit/Kernel/ |
| H A D | IOStatistics.cpp | 393 IOEventSourceCounter *esc; in onClassRemoved() 399 kfree_type(IOEventSourceCounter, esc); in onClassRemoved() 426 IOEventSourceCounter * 429 IOEventSourceCounter *counter = NULL; in registerEventSource() 439 counter = kalloc_type(IOEventSourceCounter, (zalloc_flags_t)(Z_WAITOK | Z_ZERO)); in registerEventSource() 473 IOStatistics::unregisterEventSource(IOEventSourceCounter *counter) in unregisterEventSource() 482 SLIST_REMOVE(&counter->parentClass->counterList, counter, IOEventSourceCounter, link); in unregisterEventSource() 485 kfree_type(IOEventSourceCounter, counter); in unregisterEventSource() 590 IOStatistics::attachWorkLoopEventSource(IOWorkLoopCounter *wlc, IOEventSourceCounter *esc) in attachWorkLoopEventSource() 615 IOStatistics::detachWorkLoopEventSource(IOWorkLoopCounter *wlc, IOEventSourceCounter *esc) in detachWorkLoopEventSource() [all …]
|