Lines Matching refs:heap
972 maximum heap size and its alignment. Going above 512k (i.e., 1M
1043 both can span the entire heap at will.
1245 member of the per-heap header heap_info (see arena.c).
1266 originally came from a dumped heap via malloc_set_state in
1464 dumped heap chunks. */
2108 /* address is outside main heap */
2628 heap_info *old_heap, *heap;
2631 /* First try to extend the current heap. */
2641 else if ((heap = new_heap (nb + (MINSIZE + sizeof (*heap)), mp_.top_pad)))
2643 /* Use a newly allocated heap. */
2644 heap->ar_ptr = av;
2645 heap->prev = old_heap;
2646 av->system_mem += heap->size;
2648 top (av) = chunk_at_offset (heap, sizeof (*heap));
2649 set_head (top (av), (heap->size - sizeof (*heap)) | PREV_INUSE);
3217 heap for coalescing. */
3667 heap_info *heap = heap_for_ptr (oldtop);
3668 if (oldtopsize < (char *) heap + heap->mprotect_size - (char *) oldtop)
3669 oldtopsize = (char *) heap + heap->mprotect_size - (char *) oldtop;
4684 large, because the corresponding heap might go away. */
4685 heap_info *heap = heap_for_ptr(top(av));
4687 assert(heap->ar_ptr == av);
4688 heap_trim(heap, mp_.top_pad);
5579 -- in this case sbrk cannot contiguously expand the heap, but mmap
5732 fprintf (fp, "<heap nr=\"%d\">\n<sizes>\n", n++);
5822 heap_info *heap = heap_for_ptr (top (ar_ptr));
5825 heap_size += heap->size;
5826 heap_mprotect_size += heap->mprotect_size;
5827 heap = heap->prev;
5830 while (heap != NULL);
5884 fputs ("</heap>\n", fp);