Home
last modified time | relevance | path

Searched refs:bbl (Results 1 – 2 of 2) sorted by relevance

/system/core/libsparse/
Dbacked_block.c55 struct backed_block *backed_block_iter_new(struct backed_block_list *bbl) in backed_block_iter_new() argument
57 return bbl->data_blocks; in backed_block_iter_new()
130 void backed_block_list_destroy(struct backed_block_list *bbl) in backed_block_list_destroy() argument
132 if (bbl->data_blocks) { in backed_block_list_destroy()
133 struct backed_block *bb = bbl->data_blocks; in backed_block_list_destroy()
141 free(bbl); in backed_block_list_destroy()
191 static int merge_bb(struct backed_block_list *bbl, in merge_bb() argument
209 block_len = a->len / bbl->block_size; /* rounds down */ in merge_bb()
247 static int queue_bb(struct backed_block_list *bbl, struct backed_block *new_bb) in queue_bb() argument
251 if (bbl->data_blocks == NULL) { in queue_bb()
[all …]
Dbacked_block.h32 int backed_block_add_data(struct backed_block_list *bbl, void *data,
34 int backed_block_add_fill(struct backed_block_list *bbl, unsigned int fill_val,
36 int backed_block_add_file(struct backed_block_list *bbl, const char *filename,
38 int backed_block_add_fd(struct backed_block_list *bbl, int fd,
41 struct backed_block *backed_block_iter_new(struct backed_block_list *bbl);
51 int backed_block_split(struct backed_block_list *bbl, struct backed_block *bb,
54 struct backed_block *backed_block_iter_new(struct backed_block_list *bbl);
58 void backed_block_list_destroy(struct backed_block_list *bbl);