Searched refs:crash_base (Results 1 – 5 of 5) sorted by relevance
/arch/s390/kernel/ |
D | setup.c | 613 unsigned long crash_base; in find_crash_base() local 632 crash_base = (chunk->addr + chunk->size) - crash_size; in find_crash_base() 633 if (crash_base < crash_size) in find_crash_base() 635 if (crash_base < ZFCPDUMP_HSA_SIZE_MAX) in find_crash_base() 637 if (crash_base < (unsigned long) INITRD_START + INITRD_SIZE) in find_crash_base() 639 return crash_base; in find_crash_base() 648 static int __init verify_crash_base(unsigned long crash_base, in verify_crash_base() argument 659 if (crash_size > crash_base) { in verify_crash_base() 674 if (crash_base < chunk->addr) in verify_crash_base() 676 if (crash_base >= chunk->addr + chunk->size) in verify_crash_base() [all …]
|
/arch/powerpc/kernel/ |
D | machine_kexec.c | 104 unsigned long long crash_size, crash_base; in reserve_crashkernel() local 109 &crash_size, &crash_base); in reserve_crashkernel() 111 crashk_res.start = crash_base; in reserve_crashkernel() 112 crashk_res.end = crash_base + crash_size - 1; in reserve_crashkernel() 145 crash_base = PAGE_ALIGN(crashk_res.start); in reserve_crashkernel() 146 if (crash_base != crashk_res.start) { in reserve_crashkernel() 149 crashk_res.start = crash_base; in reserve_crashkernel()
|
/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 | 526 unsigned long long crash_size, crash_base; in reserve_crashkernel() local 532 &crash_size, &crash_base); in reserve_crashkernel() 537 if (crash_base <= 0) { in reserve_crashkernel() 543 crash_base = memblock_find_in_range(alignment, in reserve_crashkernel() 546 if (!crash_base) { in reserve_crashkernel() 553 start = memblock_find_in_range(crash_base, in reserve_crashkernel() 554 crash_base + crash_size, crash_size, 1<<20); in reserve_crashkernel() 555 if (start != crash_base) { in reserve_crashkernel() 560 memblock_reserve(crash_base, crash_size); in reserve_crashkernel() 565 (unsigned long)(crash_base >> 20), in reserve_crashkernel() [all …]
|
/arch/arm/kernel/ |
D | setup.c | 821 unsigned long long crash_size, crash_base; in reserve_crashkernel() local 827 &crash_size, &crash_base); in reserve_crashkernel() 831 ret = reserve_bootmem(crash_base, crash_size, BOOTMEM_EXCLUSIVE); in reserve_crashkernel() 834 "memory is in use (0x%lx)\n", (unsigned long)crash_base); in reserve_crashkernel() 841 (unsigned long)(crash_base >> 20), in reserve_crashkernel() 844 crashk_res.start = crash_base; in reserve_crashkernel() 845 crashk_res.end = crash_base + crash_size - 1; in reserve_crashkernel()
|