Lines Matching refs:ppos
66 int ppos = (hpos - 1) / 2; in move_up_lpt_heap() local
68 val2 = get_heap_comp_val(heap->arr[ppos], cat); in move_up_lpt_heap()
72 heap->arr[ppos]->hpos = hpos; in move_up_lpt_heap()
73 heap->arr[hpos] = heap->arr[ppos]; in move_up_lpt_heap()
74 heap->arr[ppos] = lprops; in move_up_lpt_heap()
75 lprops->hpos = ppos; in move_up_lpt_heap()
76 hpos = ppos; in move_up_lpt_heap()
100 int ppos = (hpos - 1) / 2; in adjust_lpt_heap() local
102 val2 = get_heap_comp_val(heap->arr[ppos], cat); in adjust_lpt_heap()
106 heap->arr[ppos]->hpos = hpos; in adjust_lpt_heap()
107 heap->arr[hpos] = heap->arr[ppos]; in adjust_lpt_heap()
108 heap->arr[ppos] = lprops; in adjust_lpt_heap()
109 lprops->hpos = ppos; in adjust_lpt_heap()
110 hpos = ppos; in adjust_lpt_heap()
113 ppos = (hpos - 1) / 2; in adjust_lpt_heap()
114 val2 = get_heap_comp_val(heap->arr[ppos], cat); in adjust_lpt_heap()