Home
last modified time | relevance | path

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

/system/core/libsparse/
Dsparse.cpp82 last_block = backed_block_block(bb) + DIV_ROUND_UP(backed_block_len(bb), s->block_size); in sparse_count_chunks()
96 ret = write_data_chunk(out, backed_block_len(bb), backed_block_data(bb)); in sparse_file_write_block()
99 ret = write_file_chunk(out, backed_block_len(bb), backed_block_filename(bb), in sparse_file_write_block()
103 ret = write_fd_chunk(out, backed_block_len(bb), backed_block_fd(bb), in sparse_file_write_block()
107 ret = write_fill_chunk(out, backed_block_len(bb), backed_block_fill_val(bb)); in sparse_file_write_block()
127 last_block = backed_block_block(bb) + DIV_ROUND_UP(backed_block_len(bb), s->block_size); in write_all_blocks()
208 chk.nr_blocks = (backed_block_len(bb) - 1) / s->block_size + 1; in sparse_file_foreach_chunk()
279 last_block = backed_block_block(bb) + DIV_ROUND_UP(backed_block_len(bb), to->block_size); in move_chunks_up_to_len()
Dbacked_block.h43 unsigned int backed_block_len(struct backed_block* bb);
Dbacked_block.cpp63 unsigned int backed_block_len(struct backed_block* bb) { in backed_block_len() function