Lines Matching refs:oldSize
779 const addr_t oldSize = area->Size(); in cut_area() local
793 addressSpace->ShrinkAreaTail(area, oldSize, allocationFlags); in cut_area()
842 size_t oldBytes = area_page_protections_size(oldSize); in cut_area()
843 ssize_t pagesShifted = (oldSize - area->Size()) / B_PAGE_SIZE; in cut_area()
903 addressSpace->ShrinkAreaTail(area, oldSize, allocationFlags); in cut_area()
923 addressSpace->ShrinkAreaTail(area, oldSize, allocationFlags); in cut_area()
958 cache->Resize(cache->virtual_base + oldSize, priority); in cut_area()
975 addressSpace->ShrinkAreaTail(area, oldSize, allocationFlags); in cut_area()
990 addressSpace->ShrinkAreaTail(area, oldSize, allocationFlags); in cut_area()
1009 const size_t oldBytes = area_page_protections_size(oldSize); in cut_area()
4848 size_t oldSize; in vm_resize_area() local
4872 oldSize = area->Size(); in vm_resize_area()
4873 if (newSize == oldSize) in vm_resize_area()
4879 if (oldSize < newSize) { in vm_resize_area()
4897 current->Base() + newSize, oldSize - newSize, &locker, in vm_resize_area()
4913 if (oldSize < newSize) { in vm_resize_area()
4929 if (newSize < oldSize) { in vm_resize_area()
4934 oldSize - newSize); in vm_resize_area()
4951 if (oldSize < newSize) { in vm_resize_area()
4953 uint32 offset = area_page_protections_size(oldSize); in vm_resize_area()
4958 if ((oldSize / B_PAGE_SIZE) % 2 != 0) { in vm_resize_area()
4968 if (status == B_OK && newSize < oldSize) in vm_resize_area()
4976 if (current->address_space->ResizeArea(current, oldSize, in vm_resize_area()
4983 cache->Resize(cache->virtual_base + oldSize, priority); in vm_resize_area()