Lines Matching refs:Base

201 			*_address = (void*)area->Base();
228 addr_t newEnd = area->Base() + (newSize - 1);
233 if (next->Base() > newEnd)
241 && (uint64)next->cache_offset <= (uint64)area->Base()
242 && next->Base() + (next->Size() - 1) >= newEnd;
252 addr_t newEnd = area->Base() + (newSize - 1);
254 if (next != NULL && next->Base() <= newEnd) {
256 || (uint64)next->cache_offset > (uint64)area->Base()
257 || next->Base() + (next->Size() - 1) < newEnd) {
264 addr_t offset = area->Base() + newSize - next->Base();
290 area->SetBase(area->Base() + oldSize - size);
335 area->cache_offset = area->Base();
362 && area->Base() + area->Size() - 1 <= endAddress;) {
401 kprintf("base_addr = 0x%lx ", area->Base());
468 if (start == reserved->Base()) {
479 reserved->SetBase(reserved->Base() + size);
482 } else if (start + size == reserved->Base() + reserved->Size()) {
485 reserved->SetSize(start - reserved->Base());
499 reserved->Base() + reserved->Size() - start - size);
502 reserved->SetSize(start - reserved->Base());
592 ? end : std::min(next->Base() - 1, end);
610 while (next != NULL && next->Base() + next->Size() - 1 <= end) {
611 addr_t alignedBase = align_address(last->Base() + last->Size(),
613 addr_t nextBase = std::min(end, next->Base() - 1);
615 if (is_valid_spot(last->Base() + (last->Size() - 1),
635 addr_t alignedBase = align_address(last->Base() + last->Size(),
638 if (next == NULL && is_valid_spot(last->Base() + (last->Size() - 1),
678 } else if (next->Base() + size - 1 > end)
683 addr_t alignedBase = align_address(next->Base(), alignment);
684 if (next->Base() == alignedBase && next->Size() == size) {
697 && alignedBase == next->Base()
700 next->Base() + next->Size() - size, end);
702 alignedBase = _RandomizeAddress(next->Base(),
705 addr_t offset = alignedBase - next->Base();
711 next->SetBase(next->Base() + offset + size);
717 if (is_valid_spot(next->Base(), alignedBase, size,
718 std::min(next->Base() + next->Size() - 1, end))) {
724 addr_t alignedNextBase = align_address(next->Base(),
727 addr_t startRange = next->Base() + next->Size();
733 = std::min(next->Base() + next->Size() - size,
739 next->Base() + next->Size() - size, alignment);
743 next->SetSize(alignedBase - next->Base());
757 if ((last == NULL || last->Base() + (last->Size() - 1) < start)
758 && (next == NULL || next->Base() > start + (size - 1))) {
772 fNextInsertHint = area->Base() + size;