Home
last modified time | relevance | path

Searched refs:ptnDataInfo (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/base/update/updater/services/ptable_parse/
H A Demmc_ptable.cpp37 void EmmcPtable::EmmcPatchGptHeader(EmmcPartitionDataInfo &ptnDataInfo, const uint32_t blockSize) in EmmcPatchGptHeader() argument
40 if (blockSize == 0 || ptnDataInfo.writeDataLen < 2 * blockSize) { in EmmcPatchGptHeader()
51 uint8_t *primaryGptHeader = ptnDataInfo.data + blockSize; in EmmcPatchGptHeader()
84 uint32_t crcValue = CalculateCrc32(ptnDataInfo.data + (blockSize * 2), partCount * entrySize); in EmmcPatchGptHeader()
H A Dufs_ptable.cpp180 void UfsPtable::UfsPatchGptHeader(UfsPartitionDataInfo &ptnDataInfo, const uint32_t blockSize) in UfsPatchGptHeader() argument
184 if (blockSize == 0 || ptnDataInfo.writeDataLen < 2 * blockSize || ptnDataInfo.lunSize == 0 || in UfsPatchGptHeader()
189 uint64_t cardSizeSector = ptnDataInfo.lunSize / deviceBlockSize; in UfsPatchGptHeader()
194 uint8_t *primaryGptHeader = ptnDataInfo.data + blockSize; in UfsPatchGptHeader()
197 …INFO) << "reserve " << reservedSize_ << "block for " << GetDeviceLunNodePath(ptnDataInfo.lunIndex); in UfsPatchGptHeader()
233 uint32_t crcValue = CalculateCrc32(ptnDataInfo.data + (blockSize * 2), partCount * entrySize); in UfsPatchGptHeader()
H A Demmc_ptable.h60 void EmmcPatchGptHeader(EmmcPartitionDataInfo &ptnDataInfo, const uint32_t blockSize);
H A Dufs_ptable.h72 void UfsPatchGptHeader(UfsPartitionDataInfo &ptnDataInfo, const uint32_t blockSize);