Lines Matching refs:cnt
121 if (cpos >= heap->cnt) in adjust_lpt_heap()
126 if (cpos + 1 < heap->cnt) { in adjust_lpt_heap()
141 if (cpos >= heap->cnt) in adjust_lpt_heap()
171 if (heap->cnt >= heap->max_cnt) { in add_to_lpt_heap()
180 ubifs_assert(c, cpos < heap->cnt); in add_to_lpt_heap()
200 lprops->hpos = heap->cnt++; in add_to_lpt_heap()
221 ubifs_assert(c, hpos >= 0 && hpos < heap->cnt); in remove_from_lpt_heap()
223 heap->cnt -= 1; in remove_from_lpt_heap()
224 if (hpos < heap->cnt) { in remove_from_lpt_heap()
225 heap->arr[hpos] = heap->arr[heap->cnt]; in remove_from_lpt_heap()
762 if (heap->cnt == 0) in ubifs_fast_find_free()
930 for (i = 0; i < heap->cnt; i++) { in dbg_check_cats()
958 for (i = 0; i < heap->cnt; i++) { in dbg_check_heap()