Lines Matching refs:area
73 // find the heap area
78 "area not found! Base address: %p\n", find_thread(NULL),
207 // There was no chunk, let's see if the area is large enough
217 SERIAL_PRINT(("HEAP-%" B_PRId32 ": heap area large enough for %ld\n",
219 // the area is large enough already
224 // We need to grow the area
226 SERIAL_PRINT(("HEAP-%" B_PRId32 ": need to resize heap area to %ld "
231 // Either the system is out of memory or another area is in the way and
234 // splits the heap area in two, the first one retaining the original
235 // area ID. In either case, if there's still memory, it is a good idea
236 // to try and allocate a new area.
247 // First try at the location directly after the current heap area, if
250 area_id area = -1;
255 area = create_area("heap", &base, B_EXACT_ADDRESS, newHeapSize,
258 if (area == B_NO_MEMORY) {
264 // If we don't have an area yet, try again with a free location
266 if (area < 0) {
268 area = create_area("heap", &base, B_RANDOMIZED_BASE_ADDRESS,
272 if (area < 0) {
277 // We have a new area, so make it the new heap area.
278 sHeapArea = area;