Lines Matching refs:ppos
73 int ppos = (hpos - 1) / 2; in move_up_lpt_heap() local
75 val2 = get_heap_comp_val(heap->arr[ppos], cat); in move_up_lpt_heap()
79 heap->arr[ppos]->hpos = hpos; in move_up_lpt_heap()
80 heap->arr[hpos] = heap->arr[ppos]; in move_up_lpt_heap()
81 heap->arr[ppos] = lprops; in move_up_lpt_heap()
82 lprops->hpos = ppos; in move_up_lpt_heap()
83 hpos = ppos; in move_up_lpt_heap()
107 int ppos = (hpos - 1) / 2; in adjust_lpt_heap() local
109 val2 = get_heap_comp_val(heap->arr[ppos], cat); in adjust_lpt_heap()
113 heap->arr[ppos]->hpos = hpos; in adjust_lpt_heap()
114 heap->arr[hpos] = heap->arr[ppos]; in adjust_lpt_heap()
115 heap->arr[ppos] = lprops; in adjust_lpt_heap()
116 lprops->hpos = ppos; in adjust_lpt_heap()
117 hpos = ppos; in adjust_lpt_heap()
120 ppos = (hpos - 1) / 2; in adjust_lpt_heap()
121 val2 = get_heap_comp_val(heap->arr[ppos], cat); in adjust_lpt_heap()