Lines Matching refs:heap
808 struct ubifs_lpt_heap *heap; in populate_lsave() local
835 heap = &c->lpt_heap[LPROPS_DIRTY_IDX - 1]; in populate_lsave()
836 for (i = 0; i < heap->cnt; i++) { in populate_lsave()
837 c->lsave[cnt++] = heap->arr[i]->lnum; in populate_lsave()
841 heap = &c->lpt_heap[LPROPS_DIRTY - 1]; in populate_lsave()
842 for (i = 0; i < heap->cnt; i++) { in populate_lsave()
843 c->lsave[cnt++] = heap->arr[i]->lnum; in populate_lsave()
847 heap = &c->lpt_heap[LPROPS_FREE - 1]; in populate_lsave()
848 for (i = 0; i < heap->cnt; i++) { in populate_lsave()
849 c->lsave[cnt++] = heap->arr[i]->lnum; in populate_lsave()
2008 struct ubifs_lpt_heap *heap; in dbg_populate_lsave() local
2026 heap = &c->lpt_heap[LPROPS_DIRTY_IDX - 1]; in dbg_populate_lsave()
2027 for (i = 0; i < heap->cnt; i++) in dbg_populate_lsave()
2028 c->lsave[prandom_u32() % c->lsave_cnt] = heap->arr[i]->lnum; in dbg_populate_lsave()
2029 heap = &c->lpt_heap[LPROPS_DIRTY - 1]; in dbg_populate_lsave()
2030 for (i = 0; i < heap->cnt; i++) in dbg_populate_lsave()
2031 c->lsave[prandom_u32() % c->lsave_cnt] = heap->arr[i]->lnum; in dbg_populate_lsave()
2032 heap = &c->lpt_heap[LPROPS_FREE - 1]; in dbg_populate_lsave()
2033 for (i = 0; i < heap->cnt; i++) in dbg_populate_lsave()
2034 c->lsave[prandom_u32() % c->lsave_cnt] = heap->arr[i]->lnum; in dbg_populate_lsave()