Searched refs:IOEventSourceCounter (Results 1 - 3 of 3) sorted by relevance

/darwin-on-arm/xnu/iokit/IOKit/
H A DIOStatisticsPrivate.h59 struct IOEventSourceCounter;
91 SLIST_HEAD(, IOEventSourceCounter) counterList;
138 typedef struct IOEventSourceCounter { struct
139 SLIST_ENTRY(IOEventSourceCounter) link;
153 } IOEventSourceCounter; typedef in typeref:struct:IOEventSourceCounter
247 static IOEventSourceCounter *registerEventSource(OSObject *inOwner);
248 static void unregisterEventSource(IOEventSourceCounter *counter);
269 static inline void setCounterType(IOEventSourceCounter *counter, IOStatisticsCounterType type) {
275 static inline void countOpenGate(IOEventSourceCounter *counter) {
282 static inline void countCloseGate(IOEventSourceCounter *counte
[all...]
H A DIOEventSource.h136 struct IOEventSourceCounter *counter;
/darwin-on-arm/xnu/iokit/Kernel/
H A DIOStatistics.cpp383 IOEventSourceCounter *esc;
389 kfree(esc, sizeof(IOEventSourceCounter));
417 IOEventSourceCounter *IOStatistics::registerEventSource(OSObject *inOwner)
419 IOEventSourceCounter *counter = NULL;
429 counter = (IOEventSourceCounter*)kalloc(sizeof(IOEventSourceCounter));
434 memset(counter, 0, sizeof(IOEventSourceCounter));
465 void IOStatistics::unregisterEventSource(IOEventSourceCounter *counter)
474 SLIST_REMOVE(&counter->parentClass->counterList, counter, IOEventSourceCounter, link);
477 kfree(counter, sizeof(IOEventSourceCounter));
[all...]

Completed in 69 milliseconds