Home
last modified time | relevance | path

Searched refs:gptSize (Results 1 - 4 of 4) sorted by relevance

/base/update/updater/services/ptable_parse/
H A Dptable.cpp562 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 Demmc_ptable.cpp305 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 Dufs_ptable.cpp503 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 Dptable.h180 bool ChangeGpt(uint8_t *gptBuf, uint64_t gptSize, GptParseInfo gptInfo, PtnInfo &modifyInfo);

Completed in 7 milliseconds