Lines Matching refs:heap

737 	cyc_index_t *heap;  in cyclic_upheap()  local
744 heap = cpu->cyp_heap; in cyclic_upheap()
749 current = heap[heap_current]; in cyclic_upheap()
750 parent = heap[heap_parent]; in cyclic_upheap()
762 heap[heap_parent] = current; in cyclic_upheap()
763 heap[heap_current] = parent; in cyclic_upheap()
780 cyc_index_t *heap = cpu->cyp_heap; in cyclic_downheap() local
794 left = heap[heap_left]; in cyclic_downheap()
795 me = heap[heap_me]; in cyclic_downheap()
806 right = heap[heap_right]; in cyclic_downheap()
826 heap[heap_right] = me; in cyclic_downheap()
827 heap[heap_me] = right; in cyclic_downheap()
845 heap[heap_left] = me; in cyclic_downheap()
846 heap[heap_me] = left; in cyclic_downheap()
945 cyc_index_t *heap = cpu->cyp_heap; in cyclic_fire() local
963 cyc_index_t ndx = heap[0]; in cyclic_fire()
1763 cyc_index_t *heap, last; in cyclic_remove_xcall() local
1775 heap = cpu->cyp_heap; in cyclic_remove_xcall()
1821 if (heap[i] == ndx) in cyclic_remove_xcall()
1849 root = heap[0]; in cyclic_remove_xcall()
1857 heap[i] = (last = heap[nelems]); in cyclic_remove_xcall()
1858 heap[nelems] = ndx; in cyclic_remove_xcall()
1870 if (heap[i] == last) { in cyclic_remove_xcall()
1874 ASSERT(heap[0] == root); in cyclic_remove_xcall()
1883 cyclic = &cpu->cyp_cyclics[heap[0]]; in cyclic_remove_xcall()
1961 cyc_index_t *heap; in cyclic_reprogram_cyclic() local
1972 heap = cpu->cyp_heap; in cyclic_reprogram_cyclic()
1981 if (heap[i] == ndx) in cyclic_reprogram_cyclic()
2005 cyclic = &cpu->cyp_cyclics[heap[0]]; in cyclic_reprogram_cyclic()