Lines Matching refs:heap
45 struct ubifs_lpt_heap *heap; in valuable() local
51 heap = &c->lpt_heap[cat - 1]; in valuable()
52 if (heap->cnt < heap->max_cnt) in valuable()
129 struct ubifs_lpt_heap *heap; in scan_for_dirty() local
134 heap = &c->lpt_heap[LPROPS_FREE - 1]; in scan_for_dirty()
135 for (i = 0; i < heap->cnt; i++) { in scan_for_dirty()
136 lprops = heap->arr[i]; in scan_for_dirty()
226 struct ubifs_lpt_heap *heap, *idx_heap; in ubifs_find_dirty_leb() local
272 heap = &c->lpt_heap[LPROPS_DIRTY - 1]; in ubifs_find_dirty_leb()
292 if (heap->cnt) { in ubifs_find_dirty_leb()
293 lp = heap->arr[0]; in ubifs_find_dirty_leb()
400 struct ubifs_lpt_heap *heap; in do_find_free_space() local
420 heap = &c->lpt_heap[LPROPS_DIRTY - 1]; in do_find_free_space()
421 for (i = 0; i < heap->cnt; i++) { in do_find_free_space()
422 lprops = heap->arr[i]; in do_find_free_space()
819 struct ubifs_lpt_heap *heap; in find_dirty_idx_leb() local
825 heap = &c->lpt_heap[LPROPS_DIRTY_IDX - 1]; in find_dirty_idx_leb()
826 for (i = 0; i < heap->cnt; i++) { in find_dirty_idx_leb()
827 lprops = heap->arr[i]; in find_dirty_idx_leb()