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

/darwin-on-arm/xnu/iokit/IOKit/
H A DIOStatistics.h125 /* struct IOStatisticsKext */
139 typedef struct IOStatisticsKext { struct
145 } IOStatisticsKext; typedef in typeref:struct:IOStatisticsKext
H A DIOStatisticsPrivate.h220 static uint32_t copyKextStatistics(IOStatisticsKext *stats);
/darwin-on-arm/xnu/iokit/Kernel/
H A DIOStatistics.cpp640 /* Work out how much we need to allocate. IOStatisticsKext is of variable size. */
643 (sizeof(IOStatisticsKext) * loadedKexts) + (sizeof(uint32_t) * registeredClasses) +
688 size = copyKextStatistics((IOStatisticsKext*)((void*)ptr));
861 uint32_t IOStatistics::copyKextStatistics(IOStatisticsKext *stats)
878 stats = (IOStatisticsKext *)((void*)((char*)stats + sizeof(IOStatisticsKext) + (ke->classes * sizeof(uint32_t))));
881 return (sizeof(IOStatisticsKext) * loadedKexts + sizeof(uint32_t) * registeredClasses);

Completed in 87 milliseconds