Searched refs:heap_parent (Results 1 – 2 of 2) sorted by relevance
47 #define heap_parent(i) ((i) >> 1) macro109 for ( p = heap_parent(i); in float_up()111 i = p, p = heap_parent(i) ) { in float_up()
738 cyc_index_t heap_parent, heap_current = ndx; in cyclic_upheap() local746 heap_parent = CYC_HEAP_PARENT(heap_current); in cyclic_upheap()750 parent = heap[heap_parent]; in cyclic_upheap()762 heap[heap_parent] = current; in cyclic_upheap()768 if (heap_parent == 0) in cyclic_upheap()771 heap_current = heap_parent; in cyclic_upheap()772 heap_parent = CYC_HEAP_PARENT(heap_current); in cyclic_upheap()