Home
last modified time | relevance | path

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

/bootable/recovery/fuse_sideload/
Dfuse_sideload.cpp315 uint32_t block_offset = offset - (block * fd->block_size); in handle_read() local
318 if (size + block_offset <= fd->block_size) { in handle_read()
321 vec[1].iov_base = fd->block_data + block_offset; in handle_read()
327 memcpy(fd->extra_block, fd->block_data + block_offset, fd->block_size - block_offset); in handle_read()
329 vec[1].iov_len = fd->block_size - block_offset; in handle_read()