Home
last modified time | relevance | path

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

/system/core/libsparse/
Dbacked_block.c247 static int queue_bb(struct backed_block_list *bbl, struct backed_block *new_bb) in queue_bb() argument
252 bbl->data_blocks = new_bb; in queue_bb()
256 if (bbl->data_blocks->block > new_bb->block) { in queue_bb()
257 new_bb->next = bbl->data_blocks; in queue_bb()
258 bbl->data_blocks = new_bb; in queue_bb()
265 if (bbl->last_used && new_bb->block > bbl->last_used->block) in queue_bb()
269 bbl->last_used = new_bb; in queue_bb()
271 for (; bb->next && bb->next->block < new_bb->block; bb = bb->next) in queue_bb()
275 bb->next = new_bb; in queue_bb()
277 new_bb->next = bb->next; in queue_bb()
[all …]