Searched refs:gptSize (Results 1 - 4 of 4) sorted by relevance
/base/update/updater/services/ptable_parse/ |
H A D | ptable.cpp | 562 bool Ptable::ChangeGpt(uint8_t *gptBuf, uint64_t gptSize, GptParseInfo gptInfo, PtnInfo &modifyInfo) in ChangeGpt() argument 564 if (gptBuf == nullptr || gptSize == 0 || gptSize <= gptInfo.imgBlockSize || gptInfo.devBlockSize == 0) { in ChangeGpt() 577 while (readSize < gptSize) { in ChangeGpt() 586 if (!AdjustGpt(ptnInfoBuf, gptSize - readSize, dispName, preLastLBA, lastPtnLastLBA)) { in ChangeGpt()
|
H A D | emmc_ptable.cpp | 305 uint64_t gptSize = static_cast<uint64_t>(maxPtnCnt) * ptnEntrySize + imgBlockSize + gptHeaderLen; in EditPartitionBuf() local 314 if (!ChangeGpt(gptImage, gptSize, gptInfo, t)) { in EditPartitionBuf()
|
H A D | ufs_ptable.cpp | 503 uint32_t gptSize = ptableData_.imgLuSize; in EditPartitionBuf() local 523 if (static_cast<uint32_t>(t.lun) == i + startLu && !ChangeGpt(curGptBuf, gptSize, gptInfo, t)) { in EditPartitionBuf()
|
H A D | ptable.h | 180 bool ChangeGpt(uint8_t *gptBuf, uint64_t gptSize, GptParseInfo gptInfo, PtnInfo &modifyInfo);
|
Completed in 7 milliseconds