Searched refs:backed_block_len (Results 1 – 3 of 3) sorted by relevance
/system/core/libsparse/ |
D | sparse.cpp | 82 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() 220 chk.nr_blocks = (backed_block_len(bb) - 1) / s->block_size + 1; in sparse_file_foreach_chunk() 291 last_block = backed_block_block(bb) + DIV_ROUND_UP(backed_block_len(bb), to->block_size); in move_chunks_up_to_len()
|
D | backed_block.h | 43 uint64_t backed_block_len(struct backed_block* bb);
|
D | backed_block.cpp | 63 uint64_t backed_block_len(struct backed_block* bb) { in backed_block_len() function
|