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

/system/core/libsparse/
H A Dbacked_block.c60 struct backed_block *backed_block_iter_next(struct backed_block *bb) argument
62 return bb->next;
65 unsigned int backed_block_len(struct backed_block *bb) argument
67 return bb->len;
70 unsigned int backed_block_block(struct backed_block *bb) argument
72 return bb->block;
75 void *backed_block_data(struct backed_block *bb) argument
77 assert(bb->type == BACKED_BLOCK_DATA);
78 return bb->data.data;
81 const char *backed_block_filename(struct backed_block *bb) argument
87 backed_block_fd(struct backed_block *bb) argument
93 backed_block_file_offset(struct backed_block *bb) argument
103 backed_block_fill_val(struct backed_block *bb) argument
109 backed_block_type(struct backed_block *bb) argument
114 backed_block_destroy(struct backed_block *bb) argument
133 struct backed_block *bb = bbl->data_blocks; local
148 struct backed_block *bb; local
249 struct backed_block *bb; local
291 struct backed_block *bb = calloc(1, sizeof(struct backed_block)); local
309 struct backed_block *bb = calloc(1, sizeof(struct backed_block)); local
327 struct backed_block *bb = calloc(1, sizeof(struct backed_block)); local
346 struct backed_block *bb = calloc(1, sizeof(struct backed_block)); local
361 backed_block_split(struct backed_block_list *bbl, struct backed_block *bb, unsigned int max_len) argument
[all...]
H A Dsparse.c82 struct backed_block *bb; local
86 for (bb = backed_block_iter_new(s->backed_block_list); bb;
87 bb = backed_block_iter_next(bb)) {
88 if (backed_block_block(bb) > last_block) {
93 last_block = backed_block_block(bb) +
94 DIV_ROUND_UP(backed_block_len(bb), s->block_size);
104 struct backed_block *bb)
106 switch (backed_block_type(bb)) {
103 sparse_file_write_block(struct output_file *out, struct backed_block *bb) argument
127 struct backed_block *bb; local
229 struct backed_block *bb; local
280 struct backed_block *bb; local
[all...]

Completed in 35 milliseconds