Lines Matching refs:crash_base
624 unsigned long long crash_base, crash_size; in reserve_crashkernel() local
629 &crash_base); in reserve_crashkernel()
631 crash_base = ALIGN(crash_base, KEXEC_CRASH_MEM_ALIGN); in reserve_crashkernel()
642 low = crash_base ?: oldmem_data.start; in reserve_crashkernel()
646 crash_base = low; in reserve_crashkernel()
650 high = crash_base ? crash_base + crash_size : ULONG_MAX; in reserve_crashkernel()
652 if (crash_base && crash_base < low) { in reserve_crashkernel()
657 low = crash_base ?: low; in reserve_crashkernel()
658 crash_base = memblock_phys_alloc_range(crash_size, in reserve_crashkernel()
663 if (!crash_base) { in reserve_crashkernel()
670 memblock_phys_free(crash_base, crash_size); in reserve_crashkernel()
675 diag10_range(PFN_DOWN(crash_base), PFN_DOWN(crash_size)); in reserve_crashkernel()
676 crashk_res.start = crash_base; in reserve_crashkernel()
677 crashk_res.end = crash_base + crash_size - 1; in reserve_crashkernel()
678 memblock_remove(crash_base, crash_size); in reserve_crashkernel()
681 crash_size >> 20, crash_base >> 20, in reserve_crashkernel()
683 os_info_crashkernel_add(crash_base, crash_size); in reserve_crashkernel()