Home
last modified time | relevance | path

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

/bootable/recovery/
Dfuse_sideload.c338 uint32_t block_offset = offset - (block * fd->block_size); in handle_read() local
340 if (size + block_offset <= fd->block_size) { in handle_read()
343 vec[1].iov_base = fd->block_data + block_offset; in handle_read()
349 memcpy(fd->extra_block, fd->block_data + block_offset, in handle_read()
350 fd->block_size - block_offset); in handle_read()
352 vec[1].iov_len = fd->block_size - block_offset; in handle_read()