Home
last modified time | relevance | path

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

/bootable/recovery/
Dfuse_sideload.c82 uint32_t file_blocks; // file size in block_size blocks member
246 if (block >= fd->file_blocks) { in fetch_block()
391 fd.file_blocks = (file_size == 0) ? 0 : (((file_size-1) / block_size) + 1); in run_fuse_sideload()
393 if (fd.file_blocks > (1<<18)) { in run_fuse_sideload()
394 fprintf(stderr, "file has too many blocks (%u)\n", fd.file_blocks); in run_fuse_sideload()
399 fd.hashes = (uint8_t*)calloc(fd.file_blocks, SHA256_DIGEST_SIZE); in run_fuse_sideload()
402 fd.file_blocks * SHA256_DIGEST_SIZE); in run_fuse_sideload()