Home
last modified time | relevance | path

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

/bootable/recovery/fuse_sideload/
Dfuse_sideload.cpp84 uint32_t file_blocks; // file size in block_size blocks member
233 if (block >= fd->file_blocks) { in fetch_block()
366 fd.file_blocks = (file_size == 0) ? 0 : (((file_size - 1) / block_size) + 1); in run_fuse_sideload()
369 if (fd.file_blocks > (1 << 18)) { in run_fuse_sideload()
370 fprintf(stderr, "file has too many blocks (%u)\n", fd.file_blocks); in run_fuse_sideload()
376 fd.hashes.resize(fd.file_blocks); in run_fuse_sideload()