HomeSort by relevance Sort by last modified time
    Searched refs:backed_block_list (Results 1 - 4 of 4) sorted by null

  /system/core/libsparse/
sparse_file.h 27 struct backed_block_list *backed_block_list; member in struct:sparse_file
backed_block.h 22 struct backed_block_list;
32 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);
57 struct backed_block_list *backed_block_list_new(unsigned int block_size);
58 void backed_block_list_destroy(struct backed_block_list *bbl)
    [all...]
sparse.c 37 s->backed_block_list = backed_block_list_new(block_size);
38 if (!s->backed_block_list) {
51 backed_block_list_destroy(s->backed_block_list);
58 return backed_block_add_data(s->backed_block_list, data, len, block);
64 return backed_block_add_fill(s->backed_block_list, fill_val, len, block);
71 return backed_block_add_file(s->backed_block_list, filename, file_offset,
78 return backed_block_add_fd(s->backed_block_list, fd, file_offset,
87 for (bb = backed_block_iter_new(s->backed_block_list); bb;
139 for (bb = backed_block_iter_new(s->backed_block_list); bb;
253 start = backed_block_iter_new(from->backed_block_list);
    [all...]
backed_block.c 49 struct backed_block_list { struct
55 struct backed_block *backed_block_iter_new(struct backed_block_list *bbl)
123 struct backed_block_list *backed_block_list_new(unsigned int block_size)
125 struct backed_block_list *b = calloc(sizeof(struct backed_block_list), 1);
130 void backed_block_list_destroy(struct backed_block_list *bbl)
144 void backed_block_list_move(struct backed_block_list *from,
145 struct backed_block_list *to, struct backed_block *start,
191 static int merge_bb(struct backed_block_list *bbl,
248 static int queue_bb(struct backed_block_list *bbl, struct backed_block *new_bb
    [all...]

Completed in 4933 milliseconds