Home
last modified time | relevance | path

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

/system/core/libsparse/
Dbacked_block.c248 static int queue_bb(struct backed_block_list *bbl, struct backed_block *new_bb) in queue_bb() argument
253 bbl->data_blocks = new_bb; in queue_bb()
257 if (bbl->data_blocks->block > new_bb->block) { in queue_bb()
258 new_bb->next = bbl->data_blocks; in queue_bb()
259 bbl->data_blocks = new_bb; in queue_bb()
266 if (bbl->last_used && new_bb->block > bbl->last_used->block) in queue_bb()
270 bbl->last_used = new_bb; in queue_bb()
272 for (; bb->next && bb->next->block < new_bb->block; bb = bb->next) in queue_bb()
276 bb->next = new_bb; in queue_bb()
278 new_bb->next = bb->next; in queue_bb()
[all …]