Searched refs:crash_base (Results 1 – 7 of 7) sorted by relevance
/arch/powerpc/kernel/ |
D | machine_kexec.c | 116 unsigned long long crash_size, crash_base; in reserve_crashkernel() local 121 &crash_size, &crash_base); in reserve_crashkernel() 123 crashk_res.start = crash_base; in reserve_crashkernel() 124 crashk_res.end = crash_base + crash_size - 1; in reserve_crashkernel() 157 crash_base = PAGE_ALIGN(crashk_res.start); in reserve_crashkernel() 158 if (crash_base != crashk_res.start) { in reserve_crashkernel() 161 crashk_res.start = crash_base; in reserve_crashkernel()
|
/arch/s390/kernel/ |
D | setup.c | 588 unsigned long long crash_base, crash_size; in reserve_crashkernel() local 593 &crash_base); in reserve_crashkernel() 595 crash_base = ALIGN(crash_base, KEXEC_CRASH_MEM_ALIGN); in reserve_crashkernel() 606 low = crash_base ?: OLDMEM_BASE; in reserve_crashkernel() 610 crash_base = low; in reserve_crashkernel() 614 high = crash_base ? crash_base + crash_size : ULONG_MAX; in reserve_crashkernel() 616 if (crash_base && crash_base < low) { in reserve_crashkernel() 621 low = crash_base ?: low; in reserve_crashkernel() 622 crash_base = memblock_find_in_range(low, high, crash_size, in reserve_crashkernel() 626 if (!crash_base) { in reserve_crashkernel() [all …]
|
/arch/arm64/mm/ |
D | init.c | 93 unsigned long long crash_base, crash_size; in reserve_crashkernel() local 97 &crash_size, &crash_base); in reserve_crashkernel() 104 if (crash_base == 0) { in reserve_crashkernel() 106 crash_base = memblock_find_in_range(0, ARCH_LOW_ADDRESS_LIMIT, in reserve_crashkernel() 108 if (crash_base == 0) { in reserve_crashkernel() 115 if (!memblock_is_region_memory(crash_base, crash_size)) { in reserve_crashkernel() 120 if (memblock_is_region_reserved(crash_base, crash_size)) { in reserve_crashkernel() 125 if (!IS_ALIGNED(crash_base, SZ_2M)) { in reserve_crashkernel() 130 memblock_reserve(crash_base, crash_size); in reserve_crashkernel() 133 crash_base, crash_base + crash_size, crash_size >> 20); in reserve_crashkernel() [all …]
|
/arch/sh/kernel/ |
D | machine_kexec.c | 157 unsigned long long crash_size, crash_base; in reserve_crashkernel() local 161 &crash_size, &crash_base); in reserve_crashkernel() 163 crashk_res.start = crash_base; in reserve_crashkernel() 164 crashk_res.end = crash_base + crash_size - 1; in reserve_crashkernel()
|
/arch/x86/kernel/ |
D | setup.c | 535 unsigned long long crash_size, crash_base, total_mem; in reserve_crashkernel() local 542 ret = parse_crashkernel(boot_command_line, total_mem, &crash_size, &crash_base); in reserve_crashkernel() 546 &crash_size, &crash_base); in reserve_crashkernel() 553 if (crash_base <= 0) { in reserve_crashkernel() 559 crash_base = memblock_find_in_range(CRASH_ALIGN, in reserve_crashkernel() 563 if (!crash_base) { in reserve_crashkernel() 571 start = memblock_find_in_range(crash_base, in reserve_crashkernel() 572 crash_base + crash_size, in reserve_crashkernel() 574 if (start != crash_base) { in reserve_crashkernel() 579 ret = memblock_reserve(crash_base, crash_size); in reserve_crashkernel() [all …]
|
/arch/arm/kernel/ |
D | setup.c | 988 unsigned long long crash_size, crash_base; in reserve_crashkernel() local 994 &crash_size, &crash_base); in reserve_crashkernel() 998 if (crash_base <= 0) { in reserve_crashkernel() 1003 crash_base = memblock_find_in_range(CRASH_ALIGN, crash_max, in reserve_crashkernel() 1005 if (!crash_base) { in reserve_crashkernel() 1012 start = memblock_find_in_range(crash_base, in reserve_crashkernel() 1013 crash_base + crash_size, in reserve_crashkernel() 1015 if (start != crash_base) { in reserve_crashkernel() 1021 ret = memblock_reserve(crash_base, crash_size); in reserve_crashkernel() 1024 (unsigned long)crash_base); in reserve_crashkernel() [all …]
|
/arch/mips/kernel/ |
D | setup.c | 783 unsigned long long crash_size, crash_base; in mips_parse_crashkernel() local 788 &crash_size, &crash_base); in mips_parse_crashkernel() 792 if (!memory_region_available(crash_base, crash_size)) { in mips_parse_crashkernel() 797 crashk_res.start = crash_base; in mips_parse_crashkernel() 798 crashk_res.end = crash_base + crash_size - 1; in mips_parse_crashkernel()
|