Home
last modified time | relevance | path

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

/system/core/libsparse/
Dsparse.cpp182 struct chunk_data* chk = reinterpret_cast<chunk_data*>(priv); in foreach_chunk_write() local
184 return chk->write(chk->priv, data, len, chk->block, chk->nr_blocks); in foreach_chunk_write()
193 struct chunk_data chk; in sparse_file_foreach_chunk() local
197 chk.priv = priv; in sparse_file_foreach_chunk()
198 chk.write = write; in sparse_file_foreach_chunk()
199 chk.block = chk.nr_blocks = 0; in sparse_file_foreach_chunk()
201 out = output_file_open_callback(foreach_chunk_write, &chk, s->block_size, s->len, false, sparse, in sparse_file_foreach_chunk()
207 chk.block = backed_block_block(bb); in sparse_file_foreach_chunk()
208 chk.nr_blocks = (backed_block_len(bb) - 1) / s->block_size + 1; in sparse_file_foreach_chunk()