Home
last modified time | relevance | path

Searched refs:memblock_start_of_DRAM (Results 1 – 23 of 23) sorted by relevance

/linux-6.12.1/tools/testing/memblock/tests/
Dalloc_api.c284 r2.base = memblock_start_of_DRAM() + gap_size; in alloc_in_between_generic_check()
330 region_end = memblock_start_of_DRAM(); in alloc_small_gaps_generic_check()
358 memblock_reserve(memblock_start_of_DRAM(), MEM_SIZE); in alloc_all_reserved_generic_check()
392 memblock_reserve(memblock_start_of_DRAM(), reserved_size); in alloc_no_space_generic_check()
425 memblock_reserve(memblock_start_of_DRAM(), reserved_size); in alloc_limited_space_generic_check()
433 ASSERT_EQ(rgn->base, memblock_start_of_DRAM()); in alloc_limited_space_generic_check()
521 ASSERT_EQ(rgn->base, memblock_start_of_DRAM()); in alloc_bottom_up_simple_check()
563 r1.base = memblock_start_of_DRAM() + SZ_2; in alloc_bottom_up_disjoint_check()
567 expected_start = memblock_start_of_DRAM() + alignment; in alloc_bottom_up_disjoint_check()
611 memblock_reserve(memblock_start_of_DRAM() + r1_size, r2_size); in alloc_bottom_up_before_check()
[all …]
Dalloc_helpers_api.c199 start_addr = (phys_addr_t)memblock_start_of_DRAM(); in alloc_from_top_down_min_addr_cap_check()
251 ASSERT_EQ(rgn->base, memblock_start_of_DRAM()); in alloc_from_bottom_up_high_addr_check()
287 min_addr = memblock_start_of_DRAM() + SZ_128; in alloc_from_bottom_up_no_space_above_check()
296 ASSERT_EQ(rgn->base, memblock_start_of_DRAM()); in alloc_from_bottom_up_no_space_above_check()
323 start_addr = (phys_addr_t)memblock_start_of_DRAM(); in alloc_from_bottom_up_min_addr_cap_check()
Dalloc_nid_api.c76 min_addr = memblock_start_of_DRAM() + SMP_CACHE_BYTES * 2; in alloc_nid_top_down_simple_check()
129 min_addr = memblock_start_of_DRAM() + SMP_CACHE_BYTES * 2; in alloc_nid_top_down_end_misaligned_check()
179 min_addr = memblock_start_of_DRAM() + SMP_CACHE_BYTES; in alloc_nid_exact_address_generic_check()
230 min_addr = memblock_start_of_DRAM() + SZ_512; in alloc_nid_top_down_narrow_range_check()
281 min_addr = memblock_start_of_DRAM(); in alloc_nid_low_max_generic_check()
626 r2.base = memblock_start_of_DRAM(); in alloc_nid_reserved_all_generic_check()
698 min_addr = memblock_start_of_DRAM() - SZ_256; in alloc_nid_top_down_cap_min_check()
745 min_addr = memblock_start_of_DRAM() + SMP_CACHE_BYTES * 2; in alloc_nid_bottom_up_simple_check()
798 min_addr = memblock_start_of_DRAM() + misalign; in alloc_nid_bottom_up_start_misaligned_check()
849 min_addr = memblock_start_of_DRAM() + SZ_512; in alloc_nid_bottom_up_narrow_range_check()
[all …]
Dalloc_exact_nid_api.c42 min_addr = memblock_start_of_DRAM(); in alloc_exact_nid_top_down_numa_simple_check()
97 min_addr = memblock_start_of_DRAM(); in alloc_exact_nid_top_down_numa_part_reserved_check()
311 min_addr = memblock_start_of_DRAM(); in alloc_exact_nid_bottom_up_numa_simple_check()
367 min_addr = memblock_start_of_DRAM(); in alloc_exact_nid_bottom_up_numa_part_reserved_check()
590 min_addr = memblock_start_of_DRAM(); in alloc_exact_nid_numa_small_node_generic_check()
631 min_addr = memblock_start_of_DRAM(); in alloc_exact_nid_numa_node_reserved_generic_check()
679 min_addr = memblock_start_of_DRAM(); in alloc_exact_nid_numa_part_reserved_fail_generic_check()
803 min_addr = memblock_start_of_DRAM(); in alloc_exact_nid_numa_large_region_generic_check()
928 r1.base = memblock_start_of_DRAM(); in alloc_exact_nid_numa_split_all_reserved_generic_check()
/linux-6.12.1/arch/arm64/mm/
Dinit.c125 if (memblock_start_of_DRAM() < U32_MAX) in max_zone_phys()
211 memstart_addr = round_down(memblock_start_of_DRAM(), in arm64_memblock_init()
268 if (WARN(base < memblock_start_of_DRAM() || in arm64_memblock_init()
269 base + size > memblock_start_of_DRAM() + in arm64_memblock_init()
320 min = PFN_UP(memblock_start_of_DRAM()); in bootmem_init()
/linux-6.12.1/arch/nios2/kernel/
Dsetup.c141 *min = PFN_UP(memblock_start_of_DRAM()); in find_limits()
149 memory_start = memblock_start_of_DRAM(); in setup_arch()
/linux-6.12.1/drivers/base/
Darch_numa.c269 phys_addr_t start = memblock_start_of_DRAM(); in dummy_numa_init()
349 return memblock_start_of_DRAM() + SZ_4G; in numa_emu_dma_end()
/linux-6.12.1/arch/mips/kernel/
Dsetup.c271 ramstart = memblock_start_of_DRAM(); in bootmem_init()
360 memblock_remove(memblock_start_of_DRAM(), in early_parse_mem()
361 memblock_end_of_DRAM() - memblock_start_of_DRAM()); in early_parse_mem()
/linux-6.12.1/arch/csky/kernel/
Dsetup.c29 min_low_pfn = PFN_UP(memblock_start_of_DRAM()); in csky_memblock_init()
/linux-6.12.1/arch/arm/mach-keystone/
Dkeystone.c109 mem_start = memblock_start_of_DRAM(); in keystone_pv_fixup()
/linux-6.12.1/arch/mips/bmips/
Dsetup.c232 if (addr >= (u32)memblock_start_of_DRAM() && in device_tree_init()
/linux-6.12.1/arch/loongarch/kernel/
Dsetup.c201 memblock_remove(memblock_start_of_DRAM(), in early_parse_mem()
202 memblock_end_of_DRAM() - memblock_start_of_DRAM()); in early_parse_mem()
Dnuma.c318 phys_addr_t start = memblock_start_of_DRAM(); in fake_numa_init()
/linux-6.12.1/arch/xtensa/mm/
Dinit.c55 min_low_pfn = PFN_UP(memblock_start_of_DRAM()); in bootmem_init()
/linux-6.12.1/arch/arm64/kvm/
Dva_layout.c69 tag_lsb = fls64((u64)phys_to_virt(memblock_start_of_DRAM()) ^ in kvm_compute_layout()
/linux-6.12.1/arch/openrisc/kernel/
Dsetup.c55 memory_start = memblock_start_of_DRAM(); in setup_memory()
/linux-6.12.1/arch/arm/kernel/
Dsetup.c840 memblock_remove(memblock_start_of_DRAM(), in early_mem()
841 memblock_end_of_DRAM() - memblock_start_of_DRAM()); in early_mem()
/linux-6.12.1/arch/arm/mm/
Dinit.c79 *min = PFN_UP(memblock_start_of_DRAM()); in find_limits()
/linux-6.12.1/include/linux/
Dmemblock.h471 phys_addr_t memblock_start_of_DRAM(void);
/linux-6.12.1/mm/
Dnuma_memblks.c215 const u64 low = memblock_start_of_DRAM(); in numa_cleanup_meminfo()
Dmemblock.c1752 phys_addr_t __init_memblock memblock_start_of_DRAM(void) in memblock_start_of_DRAM() function
Dmm_init.c1769 start_pfn = PHYS_PFN(memblock_start_of_DRAM()); in free_area_init()
/linux-6.12.1/arch/riscv/mm/
Dinit.c244 phys_ram_base = memblock_start_of_DRAM() & PMD_MASK; in setup_bootmem()