Lines Matching refs:first_heap

167 static heap_ptr first_heap, last_heap;  variable
602 for (heap = first_heap; heap != NIL_HEAP; heap = heap->next)
616 : first_heap->bloc_start);
653 : first_heap->bloc_start);
743 heap_ptr h = first_heap;
765 if (first_heap == last_heap)
774 if (first_heap->bloc_start < new_bloc_start)
795 if (h != first_heap)
799 first_heap->prev = NIL_HEAP;
800 first_heap->next = h->next;
801 first_heap->start = h->start;
802 first_heap->end = h->end;
803 first_heap->free = h->free;
804 first_heap->first_bloc = h->first_bloc;
805 first_heap->last_bloc = h->last_bloc;
806 first_heap->bloc_start = h->bloc_start;
808 if (first_heap->next)
809 first_heap->next->prev = first_heap;
811 last_heap = first_heap;
818 SIZE excess = (char *)first_heap->bloc_start
826 first_heap->bloc_start
827 = (POINTER) MEM_ROUNDUP ((char *)first_heap->bloc_start - excess);
829 relocate_blocs (first_bloc, first_heap, first_heap->bloc_start);
838 if ((char *)virtual_break_value + size < (char *)first_heap->start)
841 first_heap->start = (POINTER) ((char *)virtual_break_value + size);
848 : first_heap->bloc_start);
975 first_heap = last_heap = &heap_base; in r_alloc_init()
976 first_heap->next = first_heap->prev = NIL_HEAP; in r_alloc_init()
977 first_heap->start = first_heap->bloc_start in r_alloc_init()
985 first_heap->end = (POINTER) ROUNDUP (first_heap->start); in r_alloc_init()
993 (*real_morecore) (first_heap->end - first_heap->start); in r_alloc_init()
999 bzero (first_heap->start, first_heap->end - first_heap->start); in r_alloc_init()
1000 virtual_break_value = break_value = first_heap->bloc_start = first_heap->end; in r_alloc_init()
1016 assert (first_heap); in r_alloc_check()
1018 assert ((POINTER) first_heap < first_heap->start); in r_alloc_check()
1019 assert (first_heap->start <= virtual_break_value); in r_alloc_check()
1020 assert (virtual_break_value <= first_heap->end); in r_alloc_check()
1022 for (h = first_heap; h; h = h->next) in r_alloc_check()
1052 for (h = first_heap; h; h = h->next) in r_alloc_check()
1087 assert (first_heap->bloc_start == break_value); in r_alloc_check()