Home
last modified time | relevance | path

Searched refs:src_blocks (Results 1 – 2 of 2) sorted by relevance

/bootable/recovery/updater/
Dcommands.cpp108 size_t src_blocks; in ParseTargetInfoAndSourceInfo() local
109 if (!android::base::ParseUint(token, &src_blocks)) { in ParseTargetInfoAndSourceInfo()
131 if (result.blocks() != src_blocks) { in ParseTargetInfoAndSourceInfo()
134 src_ranges.ToString().c_str(), src_blocks); in ParseTargetInfoAndSourceInfo()
168 if (src_blocks != result.blocks()) { in ParseTargetInfoAndSourceInfo()
170 src_ranges.ToString().c_str(), src_blocks); in ParseTargetInfoAndSourceInfo()
Dblockimg.cpp993 static int LoadSourceBlocks(CommandParameters& params, const RangeSet& tgt, size_t* src_blocks, in LoadSourceBlocks() argument
995 CHECK(src_blocks != nullptr); in LoadSourceBlocks()
1000 if (!android::base::ParseUint(token, src_blocks)) { in LoadSourceBlocks()
1005 allocate(*src_blocks * BLOCKSIZE, &params.buffer); in LoadSourceBlocks()
1082 static int LoadSrcTgtVersion3(CommandParameters& params, RangeSet* tgt, size_t* src_blocks, in LoadSrcTgtVersion3() argument
1084 CHECK(src_blocks != nullptr); in LoadSrcTgtVersion3()
1127 if (LoadSourceBlocks(params, *tgt, src_blocks, &overlap) == -1) { in LoadSrcTgtVersion3()
1131 if (VerifyBlocks(srchash, params.buffer, *src_blocks, true) == 0) { in LoadSrcTgtVersion3()
1136 LOG(INFO) << "stashing " << *src_blocks << " overlapping blocks to " << srchash; in LoadSrcTgtVersion3()
1139 if (WriteStash(params.stashbase, srchash, *src_blocks, params.buffer, true, in LoadSrcTgtVersion3()
[all …]