Searched refs:gptHeaderStart (Results 1 – 2 of 2) sorted by relevance
/ohos5.0/base/update/updater/services/ptable_parse/ |
H A D | emmc_ptable.cpp | 189 uint8_t *gptHeaderStart = gptImage + imgBlockSize; in UpdateCommInitializeGptPartition() local 192 …if (!CheckProtectiveMbr(gptImage, imgBlockSize) || !CheckIfValidGpt(gptHeaderStart, imgBlockSize))… in UpdateCommInitializeGptPartition() 204 gptHeaderStart, imgBlockSize) != EOK) { in UpdateCommInitializeGptPartition() 244 …uint8_t *gptHeaderStart = buffer + deviceBlockSize; // if image imgBlockSize, if device deviceBloc… in ReadEmmcGptImageToRam() local 245 …if (!CheckProtectiveMbr(buffer, deviceBlockSize) || !CheckIfValidGpt(gptHeaderStart, deviceBlockSi… in ReadEmmcGptImageToRam()
|
H A D | ufs_ptable.cpp | 264 uint8_t *gptHeaderStart = GetPtableImageUfsLunGptHeaderStart(ptbImgBuffer, i); in ParsePartitionFromBuffer() local 266 …if (!CheckProtectiveMbr(lunStart, imgBlockSize) || !CheckIfValidGpt(gptHeaderStart, imgBlockSize))… in ParsePartitionFromBuffer() 276 gptHeaderStart, imgBlockSize) != EOK) { in ParsePartitionFromBuffer() 477 …uint32_t gptHeaderStart = ptableData_.emmcGptDataLen + GetPtableExtraOffset() + lunIndex * ptableD… in GetPtableImageUfsLunGptHeaderStart() local 479 LOG(INFO) << "GetPtableImageUfsLunGptHeaderStart : " << std::hex << gptHeaderStart << std::dec; in GetPtableImageUfsLunGptHeaderStart() 480 return imageBuf + gptHeaderStart; in GetPtableImageUfsLunGptHeaderStart()
|