Searched refs:chk (Results 1 – 1 of 1) sorted by relevance
/system/core/libsparse/ |
D | sparse.cpp | 194 struct chunk_data* chk = reinterpret_cast<chunk_data*>(priv); in foreach_chunk_write() local 196 return chk->write(chk->priv, data, len, chk->block, chk->nr_blocks); in foreach_chunk_write() 205 struct chunk_data chk; in sparse_file_foreach_chunk() local 209 chk.priv = priv; in sparse_file_foreach_chunk() 210 chk.write = write; in sparse_file_foreach_chunk() 211 chk.block = chk.nr_blocks = 0; in sparse_file_foreach_chunk() 213 out = output_file_open_callback(foreach_chunk_write, &chk, s->block_size, s->len, false, sparse, in sparse_file_foreach_chunk() 219 chk.block = backed_block_block(bb); in sparse_file_foreach_chunk() 220 chk.nr_blocks = (backed_block_len(bb) - 1) / s->block_size + 1; in sparse_file_foreach_chunk()
|