Searched refs:size2cpy (Results 1 – 4 of 4) sorted by relevance
| /xnu-11215/iokit/IOKit/ |
| H A D | IOReportMacros.h | 152 #define SIMPLEREPORT_UPDATEPREP(simp_buf, ptr2cpy, size2cpy) \ argument 155 (size2cpy) = sizeof(IOReportElement); \ 320 #define STATEREPORT_UPDATEPREP(state_buf, currentTime, ptr2cpy, size2cpy) \ argument 325 (size2cpy) = __info->elem[0].channel_type.nelements * sizeof(IOReportElement); \ 512 #define SIMPLEARRAY_UPDATEPREP(array_buf, ptr2cpy, size2cpy) \ argument 517 (size2cpy) = __elem->channel_type.nelements * sizeof(IOReportElement); \ 676 #define HISTREPORT_UPDATEPREP(hist_buf, ptr2cpy, size2cpy) \ argument 679 (size2cpy) = __info->elem[0].channel_type.nelements * sizeof(IOReportElement); \
|
| /xnu-11215/iokit/Kernel/ |
| H A D | IOReporter.cpp | 827 size_t size2cpy; in updateReportChannel() local 854 size2cpy = (size_t)chElems * sizeof(IOReportElement); in updateReportChannel() 857 if (size2cpy > (destination->getCapacity() - destination->getLength())) { in updateReportChannel() 861 (unsigned long)size2cpy); in updateReportChannel() 865 destination->appendBytes(&_elements[start_element_idx], size2cpy); in updateReportChannel()
|
| H A D | IOServicePM.cpp | 7439 uint32_t size2cpy; in updatePowerStatesReport() local 7466 STATEREPORT_UPDATEPREP(fReportBuf, ts, data2cpy, size2cpy); in updatePowerStatesReport() 7467 if (size2cpy > (dest->getCapacity() - dest->getLength())) { in updatePowerStatesReport() 7473 dest->appendBytes(data2cpy, size2cpy); in updatePowerStatesReport() 7525 uint32_t size2cpy; in updateSimplePowerReport() local 7564 SIMPLEREPORT_UPDATEPREP(buf, data2cpy, size2cpy); in updateSimplePowerReport() 7565 if (size2cpy > (dest->getCapacity() - dest->getLength())) { in updateSimplePowerReport() 7571 dest->appendBytes(data2cpy, size2cpy); in updateSimplePowerReport()
|
| H A D | IOPMrootDomain.cpp | 9863 uint32_t size2cpy; local 9883 HISTREPORT_UPDATEPREP(*report, data2cpy, size2cpy); 9884 if (size2cpy > (dest->getCapacity() - dest->getLength())) { 9889 dest->appendBytes(data2cpy, size2cpy); 9900 uint32_t size2cpy; local 9935 SIMPLEREPORT_UPDATEPREP(buf, data2cpy, size2cpy); 9937 dest->appendBytes(data2cpy, size2cpy);
|