Home
last modified time | relevance | path

Searched refs:heap_parent (Results 1 – 2 of 2) sorted by relevance

/titanic_50/usr/src/lib/libresolv2/common/isc/
H A Dheap.c47 #define heap_parent(i) ((i) >> 1) macro
109 for ( p = heap_parent(i); in float_up()
111 i = p, p = heap_parent(i) ) { in float_up()
/titanic_50/usr/src/uts/common/os/
H A Dcyclic.c738 cyc_index_t heap_parent, heap_current = ndx; in cyclic_upheap() local
746 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()