Searched refs:src_blocks (Results 1 – 1 of 1) sorted by relevance
/bootable/recovery/updater/ |
D | blockimg.c | 354 static int LoadSrcTgtVersion1(char** wordsave, RangeSet** tgt, int* src_blocks, in LoadSrcTgtVersion1() argument 369 *src_blocks = src->size; in LoadSrcTgtVersion1() 908 static int LoadSrcTgtVersion2(char** wordsave, RangeSet** tgt, int* src_blocks, in LoadSrcTgtVersion2() argument 926 *src_blocks = strtol(word, NULL, 0); in LoadSrcTgtVersion2() 928 allocate(*src_blocks * BLOCKSIZE, buffer, buffer_alloc); in LoadSrcTgtVersion2() 1025 static int LoadSrcTgtVersion3(CommandParameters* params, RangeSet** tgt, int* src_blocks, in LoadSrcTgtVersion3() argument 1034 if (!params|| !tgt || !src_blocks || !overlap) { in LoadSrcTgtVersion3() 1056 if (LoadSrcTgtVersion2(¶ms->cpos, tgt, src_blocks, ¶ms->buffer, ¶ms->bufsize, in LoadSrcTgtVersion3() 1078 if (VerifyBlocks(srchash, params->buffer, *src_blocks, 1) == 0) { in LoadSrcTgtVersion3() 1082 fprintf(stderr, "stashing %d overlapping blocks to %s\n", *src_blocks, in LoadSrcTgtVersion3() [all …]
|