Lines Matching refs:oldSize
705 const addr_t oldSize = area->Size();
719 addressSpace->ShrinkAreaTail(area, oldSize, allocationFlags);
763 size_t oldBytes = area_page_protections_size(oldSize);
764 ssize_t pagesShifted = (oldSize - area->Size()) / B_PAGE_SIZE;
816 addressSpace->ShrinkAreaTail(area, oldSize, allocationFlags);
835 addressSpace->ShrinkAreaTail(area, oldSize, allocationFlags);
868 cache->Resize(cache->virtual_base + oldSize, priority);
885 addressSpace->ShrinkAreaTail(area, oldSize, allocationFlags);
901 addressSpace->ShrinkAreaTail(area, oldSize, allocationFlags);
919 size_t oldBytes = area_page_protections_size(oldSize);
5342 size_t oldSize;
5366 oldSize = area->Size();
5367 if (newSize == oldSize)
5373 if (oldSize < newSize) {
5391 current->Base() + newSize, oldSize - newSize, &locker,
5407 if (oldSize < newSize) {
5423 if (newSize < oldSize) {
5428 oldSize - newSize);
5445 if (oldSize < newSize) {
5447 uint32 offset = area_page_protections_size(oldSize);
5452 if ((oldSize / B_PAGE_SIZE) % 2 != 0) {
5462 if (status == B_OK && newSize < oldSize)
5470 if (current->address_space->ResizeArea(current, oldSize,
5477 cache->Resize(cache->virtual_base + oldSize, priority);