Searched refs:low_size (Results 1 – 6 of 6) sorted by relevance
/openbmc/u-boot/arch/x86/lib/ |
H A D | physmem.c | 165 phys_size_t low_size = min(max_addr + 1 - start, size); in arch_phys_memset() local 169 memset(start_ptr, c, low_size); in arch_phys_memset() 170 start += low_size; in arch_phys_memset() 171 size -= low_size; in arch_phys_memset()
|
/openbmc/linux/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()
|
/openbmc/linux/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()
|
/openbmc/linux/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() 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()
|
/openbmc/linux/arch/riscv/mm/ |
H A D | init.c | 1373 static int __init reserve_crashkernel_low(unsigned long long low_size) in reserve_crashkernel_low() argument 1377 low_base = memblock_phys_alloc_range(low_size, PMD_SIZE, 0, dma32_phys_limit); in reserve_crashkernel_low() 1379 pr_err("cannot allocate crashkernel low memory (size:0x%llx).\n", low_size); in reserve_crashkernel_low() 1384 low_base, low_base + low_size, low_size >> 20); in reserve_crashkernel_low() 1387 crashk_low_res.end = low_base + low_size - 1; in reserve_crashkernel_low()
|
/openbmc/linux/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()
|