Lines Matching defs:free

267 			out.Print("heap free: 0x%08lx", fAddress);
474 // walk the free list to see if this element is in use
582 // walk the free list to see if this element is in use
668 // not found, add a new entry, if there are free slots
717 // walk the free list to see if this element is in use
860 // validate the free pages list
867 panic("free page is not part of the page table\n");
870 panic("free page has invalid index\n");
873 panic("free page index does not lead to target page\n");
876 panic("free page entry has invalid prev link\n");
879 panic("free page marked as in use\n");
889 panic("free page count doesn't match free page list\n");
900 panic("free pages and used pages do not add up (%lu + %lu != %lu)\n",
979 // validate the free list
986 panic("free list entry out of page range\n");
989 panic("free list entry not on a element boundary\n");
1003 panic("more free slots than fit into the page\n");
1052 // add all pages up into the free pages list
1448 TRACE(("heap %p: no free pages to allocate %lu bytes\n", heap,
1454 // free pages available
1463 panic("got an in use page %p from the free pages list\n", page);
1476 // we have a page where we have a free slot
1543 // check if there is an aligned block in the free list or if a new
1623 TRACE(("free(): asked to free pointer %p\n", address));
1628 TRACE(("free(): page %p: bin_index %d, free_count %d\n", page,
1632 panic("free(): page %p: invalid bin_index %d\n", page, page->bin_index);
1642 // This block looks like it was freed already, walk the free list
1648 panic("free(): address %p already exists in page free "
1655 // the first 4 bytes are overwritten with the next free list pointer
1665 panic("free(): passed invalid pointer %p supposed to be in bin for "
1670 // add the address to the page free list
1686 // we might need to move back in the free pages list
1704 // large allocation, just return the pages to the page free list
1720 // return it to the free list
1874 // copy the old data and free the old allocation
2019 // free the entries
2021 free(entry);
2345 free(address);
2357 free(void *address)
2360 panic("free(): called with interrupts disabled\n");
2394 TRACE(("free(): freed huge allocation by deleting area %ld\n",
2400 panic("free(): free failed for address %p\n", address);
2457 // have to allocate/copy/free - TODO maybe resize the area instead?