• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/xnu-2422.115.4/iokit/Kernel/

Lines Matching refs:offset

167 	// Save the partition offset and length
203 // Calculate the partition offset and size.
222 // Calculate the free partition offset and size.
498 IOReturn IODTNVRAM::readXPRAM(IOByteCount offset, UInt8 *buffer,
504 (offset + length > kIODTNVRAMXPRAMSize))
507 bcopy(_nvramImage + _xpramPartitionOffset + offset, buffer, length);
512 IOReturn IODTNVRAM::writeXPRAM(IOByteCount offset, UInt8 *buffer,
518 (offset + length > kIODTNVRAMXPRAMSize))
521 bcopy(buffer, _nvramImage + _xpramPartitionOffset + offset, length);
562 IOByteCount offset, UInt8 *buffer,
580 (offset + length > partitionLength))
583 bcopy(_nvramImage + partitionOffset + offset, buffer, length);
589 IOByteCount offset, UInt8 *buffer,
607 (offset + length > partitionLength))
610 bcopy(buffer, _nvramImage + partitionOffset + offset, length);
669 UInt16 offset;
770 propData = _ofImage + owHeader->owStrings[propOffset].offset -
904 owHeader->owStrings[tmpOffset].offset = curOffset + _ofPartitionOffset;
1318 UInt32 offset;
1323 // on NewWorld, offset to partition start
1332 offset = 2;
1333 while ((offset + sizeof(NVRAMProperty)) <= (UInt32)nvEnd) {
1334 if (bcmp(_nrImage + offset, hdr, sizeof(*hdr)) == 0) {
1335 *where = offset;
1338 offset += sizeof(NVRAMProperty);
1356 UInt32 offset;
1366 if (searchNVRAMProperty(&hdr, &offset)) {
1367 prop = (NVRAMProperty *)(_nrImage + offset);
1394 UInt32 offset;
1410 exists = searchNVRAMProperty(&hdr, &offset);
1411 if (offset == 0) return kIOReturnNoMemory;
1413 prop = (NVRAMProperty *)(_nrImage + offset);
1422 nvLength = offset + sizeof(NVRAMProperty);