Home
last modified time | relevance | path

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

/system/core/libsparse/
Dbacked_block.cpp230 static int queue_bb(struct backed_block_list* bbl, struct backed_block* new_bb) { in queue_bb() argument
234 bbl->data_blocks = new_bb; in queue_bb()
238 if (bbl->data_blocks->block > new_bb->block) { in queue_bb()
239 new_bb->next = bbl->data_blocks; in queue_bb()
240 bbl->data_blocks = new_bb; in queue_bb()
247 if (bbl->last_used && new_bb->block > bbl->last_used->block) in queue_bb()
251 bbl->last_used = new_bb; in queue_bb()
253 for (; bb->next && bb->next->block < new_bb->block; bb = bb->next) in queue_bb()
257 bb->next = new_bb; in queue_bb()
259 new_bb->next = bb->next; in queue_bb()
[all …]