Lines Matching refs:heap

745 	cyc_index_t *heap;  in cyclic_upheap()  local
752 heap = cpu->cyp_heap; in cyclic_upheap()
757 current = heap[heap_current]; in cyclic_upheap()
758 parent = heap[heap_parent]; in cyclic_upheap()
770 heap[heap_parent] = current; in cyclic_upheap()
771 heap[heap_current] = parent; in cyclic_upheap()
788 cyc_index_t *heap = cpu->cyp_heap; in cyclic_downheap() local
802 left = heap[heap_left]; in cyclic_downheap()
803 me = heap[heap_me]; in cyclic_downheap()
814 right = heap[heap_right]; in cyclic_downheap()
834 heap[heap_right] = me; in cyclic_downheap()
835 heap[heap_me] = right; in cyclic_downheap()
853 heap[heap_left] = me; in cyclic_downheap()
854 heap[heap_me] = left; in cyclic_downheap()
953 cyc_index_t *heap = cpu->cyp_heap; in cyclic_fire() local
971 cyc_index_t ndx = heap[0]; in cyclic_fire()
1771 cyc_index_t *heap, last; in cyclic_remove_xcall() local
1783 heap = cpu->cyp_heap; in cyclic_remove_xcall()
1829 if (heap[i] == ndx) in cyclic_remove_xcall()
1857 root = heap[0]; in cyclic_remove_xcall()
1865 heap[i] = (last = heap[nelems]); in cyclic_remove_xcall()
1866 heap[nelems] = ndx; in cyclic_remove_xcall()
1878 if (heap[i] == last) { in cyclic_remove_xcall()
1882 ASSERT(heap[0] == root); in cyclic_remove_xcall()
1891 cyclic = &cpu->cyp_cyclics[heap[0]]; in cyclic_remove_xcall()
1970 cyc_index_t *heap; in cyclic_reprogram_cyclic() local
1981 heap = cpu->cyp_heap; in cyclic_reprogram_cyclic()
1990 if (heap[i] == ndx) in cyclic_reprogram_cyclic()
2028 cyclic = &cpu->cyp_cyclics[heap[0]]; in cyclic_reprogram_cyclic()