Searched refs:mdrHdr (Results 1 – 5 of 5) sorted by relevance
198 MDRSMBIOSHeader mdrHdr; in commit() local199 mdrHdr.dirVer = mdrDirVersion; in commit()200 mdrHdr.mdrType = mdrTypeII; in commit()201 mdrHdr.timestamp = std::time(nullptr); in commit()202 mdrHdr.dataSize = blobPtr->buffer.size(); in commit()228 smbiosFile.write(reinterpret_cast<char*>(&mdrHdr), in commit()231 mdrHdr.dataSize); in commit()
205 bool MDRV2::readDataFromFlash(MDRSMBIOSHeader* mdrHdr, uint8_t* data) in readDataFromFlash() argument207 if (mdrHdr == nullptr) in readDataFromFlash()236 smbiosFile.read(reinterpret_cast<char*>(mdrHdr), sizeof(MDRSMBIOSHeader)); in readDataFromFlash()237 if (mdrHdr->dataSize > smbiosTableStorageSize) in readDataFromFlash()245 if (fileLength < mdrHdr->dataSize) in readDataFromFlash()251 smbiosFile.read(reinterpret_cast<char*>(data), mdrHdr->dataSize); in readDataFromFlash()
271 bool storeDatatoFlash(MDRSMBIOSHeader* mdrHdr, uint8_t* data);
176 bool readDataFromFlash(MDRSMBIOSHeader* mdrHdr, uint8_t* data);
819 bool MDRV2::storeDatatoFlash(MDRSMBIOSHeader* mdrHdr, uint8_t* data) in storeDatatoFlash() argument832 smbiosFile.write(reinterpret_cast<char*>(mdrHdr), in storeDatatoFlash()834 smbiosFile.write(reinterpret_cast<char*>(data), mdrHdr->dataSize); in storeDatatoFlash()