Searched refs:block_offset (Results 1 – 1 of 1) sorted by relevance
665 size_t block_offset; in storage_file_read() local710 block_offset = offset % block_size; in storage_file_read()711 len = (block_offset + bytes_left > block_size) in storage_file_read()712 ? block_size - block_offset in storage_file_read()721 memcpy(bufp, block_data + block_offset, len); in storage_file_read()739 size_t block_offset; in storage_create_gap() local744 block_offset = file->size % block_size; in storage_create_gap()746 if (block_offset) { in storage_create_gap()762 memset(block_data + block_offset, 0, block_size - block_offset); in storage_create_gap()768 __func__, file->size, block_offset); in storage_create_gap()[all …]