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

/illumos-gate/usr/src/lib/libresolv2/common/isc/
H A Dheap.c43 * Note: to make heap_parent and heap_left easy to compute, the first
47 #define heap_parent(i) ((i) >> 1) macro
109 for ( p = heap_parent(i);
111 i = p, p = heap_parent(i) ) {
/illumos-gate/usr/src/uts/common/os/
H A Dcyclic.c738 cyc_index_t heap_parent, heap_current = ndx; local
746 heap_parent = CYC_HEAP_PARENT(heap_current);
750 parent = heap[heap_parent];
762 heap[heap_parent] = current;
768 if (heap_parent == 0)
771 heap_current = heap_parent;
772 heap_parent = CYC_HEAP_PARENT(heap_current);

Completed in 61 milliseconds