Searched refs:low_size (Results 1 - 7 of 7) sorted by relevance
/kernel/linux/linux-6.6/arch/arm64/mm/ |
H A D | init.c | 103 static int __init reserve_crashkernel_low(unsigned long long low_size) in reserve_crashkernel_low() argument 107 low_base = memblock_phys_alloc_range(low_size, CRASH_ALIGN, 0, CRASH_ADDR_LOW_MAX); in reserve_crashkernel_low() 109 pr_err("cannot allocate crashkernel low memory (size:0x%llx).\n", low_size); in reserve_crashkernel_low() 114 low_base, low_base + low_size, low_size >> 20); in reserve_crashkernel_low() 117 crashk_low_res.end = low_base + low_size - 1; in reserve_crashkernel_low()
|
/kernel/linux/linux-5.10/arch/x86/kernel/ |
H A D | setup.c | 440 unsigned long long base, low_base = 0, low_size = 0; in reserve_crashkernel_low() local 447 ret = parse_crashkernel_low(boot_command_line, low_mem_limit, &low_size, &base); in reserve_crashkernel_low() 458 low_size = max(swiotlb_size_or_default() + (8UL << 20), 256UL << 20); in reserve_crashkernel_low() 461 if (!low_size) in reserve_crashkernel_low() 465 low_base = memblock_phys_alloc_range(low_size, CRASH_ALIGN, 0, CRASH_ADDR_LOW_MAX); in reserve_crashkernel_low() 468 (unsigned long)(low_size >> 20)); in reserve_crashkernel_low() 473 (unsigned long)(low_size >> 20), in reserve_crashkernel_low() 478 crashk_low_res.end = low_base + low_size - 1; in reserve_crashkernel_low()
|
/kernel/linux/linux-6.6/arch/x86/kernel/ |
H A D | setup.c | 500 unsigned long long base, low_base = 0, low_size = 0; in reserve_crashkernel_low() local 507 ret = parse_crashkernel_low(boot_command_line, low_mem_limit, &low_size, &base); in reserve_crashkernel_low() 518 low_size = max(swiotlb_size_or_default() + (8UL << 20), 256UL << 20); in reserve_crashkernel_low() 521 if (!low_size) in reserve_crashkernel_low() 525 low_base = memblock_phys_alloc_range(low_size, CRASH_ALIGN, 0, CRASH_ADDR_LOW_MAX); in reserve_crashkernel_low() 528 (unsigned long)(low_size >> 20)); in reserve_crashkernel_low() 533 (unsigned long)(low_size >> 20), in reserve_crashkernel_low() 538 crashk_low_res.end = low_base + low_size - 1; in reserve_crashkernel_low()
|
/kernel/linux/linux-6.6/kernel/ |
H A D | kexec_core.c | 1147 unsigned long old_size, low_size; in crash_shrink_memory() local 1157 low_size = crash_resource_size(&crashk_low_res); in crash_shrink_memory() 1158 old_size = crash_resource_size(&crashk_res) + low_size; in crash_shrink_memory() 1166 * (low_size > new_size) implies that low_size is greater than zero. in crash_shrink_memory() 1167 * This also means that if low_size is zero, the else branch is taken. in crash_shrink_memory() 1169 * If low_size is greater than 0, (low_size > new_size) indicates that in crash_shrink_memory() 1173 if (low_size > new_size) { in crash_shrink_memory() 1180 ret = __crash_shrink_memory(&crashk_res, new_size - low_size); in crash_shrink_memory() [all...] |
/kernel/linux/linux-6.6/arch/riscv/mm/ |
H A D | init.c | 1347 static int __init reserve_crashkernel_low(unsigned long long low_size) in reserve_crashkernel_low() argument 1351 low_base = memblock_phys_alloc_range(low_size, PMD_SIZE, 0, dma32_phys_limit); in reserve_crashkernel_low() 1353 pr_err("cannot allocate crashkernel low memory (size:0x%llx).\n", low_size); in reserve_crashkernel_low() 1358 low_base, low_base + low_size, low_size >> 20); in reserve_crashkernel_low() 1361 crashk_low_res.end = low_base + low_size - 1; in reserve_crashkernel_low()
|
/kernel/linux/linux-5.10/drivers/pci/controller/ |
H A D | pci-hyperv.c | 1741 resource_size_t low_size = 0; in prepopulate_bars() local 1753 low_size = 1ULL << (63 - __builtin_clzll(hbus->low_mmio_space)); in prepopulate_bars() 1813 if (low_size != bar_size) in prepopulate_bars() 1822 if (high_size <= 1 && low_size <= 1) { in prepopulate_bars() 1834 low_size >>= 1; in prepopulate_bars() 1835 } while (high_size || low_size); in prepopulate_bars()
|
/kernel/linux/linux-6.6/drivers/pci/controller/ |
H A D | pci-hyperv.c | 2211 resource_size_t low_size = 0; in prepopulate_bars() local 2223 low_size = 1ULL << (63 - __builtin_clzll(hbus->low_mmio_space)); in prepopulate_bars() 2283 if (low_size != bar_size) in prepopulate_bars() 2292 if (high_size <= 1 && low_size <= 1) { in prepopulate_bars() 2309 low_size >>= 1; in prepopulate_bars() 2310 } while (high_size || low_size); in prepopulate_bars()
|
Completed in 17 milliseconds