Home
last modified time | relevance | path

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

/system/core/libsparse/
Dsparse.cpp77 if (backed_block_block(bb) > last_block) { in sparse_count_chunks()
82 last_block = backed_block_block(bb) + DIV_ROUND_UP(backed_block_len(bb), s->block_size); in sparse_count_chunks()
121 if (backed_block_block(bb) > last_block) { in write_all_blocks()
122 unsigned int blocks = backed_block_block(bb) - last_block; in write_all_blocks()
127 last_block = backed_block_block(bb) + DIV_ROUND_UP(backed_block_len(bb), s->block_size); in write_all_blocks()
219 chk.block = backed_block_block(bb); in sparse_file_foreach_chunk()
290 if (backed_block_block(bb) > last_block) count += sizeof(chunk_header_t); in move_chunks_up_to_len()
291 last_block = backed_block_block(bb) + DIV_ROUND_UP(backed_block_len(bb), to->block_size); in move_chunks_up_to_len()
Dbacked_block.h44 unsigned int backed_block_block(struct backed_block* bb);
Dbacked_block.cpp67 unsigned int backed_block_block(struct backed_block* bb) { in backed_block_block() function