Searched defs:max_len (Results 1 - 2 of 2) sorted by relevance

/system/core/libsparse/
H A Dbacked_block.c362 unsigned int max_len)
366 max_len = ALIGN_DOWN(max_len, bbl->block_size);
368 if (bb->len <= max_len) {
379 new_bb->len = bb->len - max_len;
380 new_bb->block = bb->block + max_len / bbl->block_size;
383 bb->len = max_len;
387 new_bb->data.data = (char *)bb->data.data + max_len;
390 new_bb->file.offset += max_len;
393 new_bb->fd.offset += max_len;
361 backed_block_split(struct backed_block_list *bbl, struct backed_block *bb, unsigned int max_len) argument
[all...]
H A Dsparse.c277 int sparse_file_resparse(struct sparse_file *in_s, unsigned int max_len, argument
294 bb = move_chunks_up_to_len(in_s, s, max_len);

Completed in 236 milliseconds