Home
last modified time | relevance | path

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

/bootable/recovery/updater/
Dblockimg.c1025 static int LoadSrcTgtVersion3(CommandParameters* params, RangeSet** tgt, int* src_blocks, in LoadSrcTgtVersion3() argument
1034 if (!params|| !tgt || !src_blocks || !overlap) { in LoadSrcTgtVersion3()
1038 srchash = strtok_r(NULL, " ", &params->cpos); in LoadSrcTgtVersion3()
1048 tgthash = strtok_r(NULL, " ", &params->cpos); in LoadSrcTgtVersion3()
1056 if (LoadSrcTgtVersion2(&params->cpos, tgt, src_blocks, &params->buffer, &params->bufsize, in LoadSrcTgtVersion3()
1057 params->fd, params->stashbase, overlap) == -1) { in LoadSrcTgtVersion3()
1068 if (ReadBlocks(*tgt, tgtbuffer, params->fd) == -1) { in LoadSrcTgtVersion3()
1078 if (VerifyBlocks(srchash, params->buffer, *src_blocks, 1) == 0) { in LoadSrcTgtVersion3()
1085 if (WriteStash(params->stashbase, srchash, *src_blocks, params->buffer, 1, in LoadSrcTgtVersion3()
1093 params->freestash = srchash; in LoadSrcTgtVersion3()
[all …]