Home
last modified time | relevance | path

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

/linux-6.6.21/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.6.21/arch/arm64/mm/
Dinit.c247 phys_addr_t phys_start = memblock_start_of_DRAM(); in max_zone_phys()
336 memstart_addr = round_down(memblock_start_of_DRAM(), in arm64_memblock_init()
393 if (WARN(base < memblock_start_of_DRAM() || in arm64_memblock_init()
394 base + size > memblock_start_of_DRAM() + in arm64_memblock_init()
445 min = PFN_UP(memblock_start_of_DRAM()); in bootmem_init()
/linux-6.6.21/arch/nios2/kernel/
Dsetup.c146 *min = PFN_UP(memblock_start_of_DRAM()); in find_limits()
154 memory_start = memblock_start_of_DRAM(); in setup_arch()
/linux-6.6.21/arch/mips/kernel/
Dsetup.c275 ramstart = memblock_start_of_DRAM(); in bootmem_init()
364 memblock_remove(memblock_start_of_DRAM(), in early_parse_mem()
365 memblock_end_of_DRAM() - memblock_start_of_DRAM()); in early_parse_mem()
/linux-6.6.21/arch/arm/mach-keystone/
Dkeystone.c109 mem_start = memblock_start_of_DRAM(); in keystone_pv_fixup()
/linux-6.6.21/arch/csky/kernel/
Dsetup.c41 min_low_pfn = PFN_UP(memblock_start_of_DRAM()); in csky_memblock_init()
/linux-6.6.21/arch/xtensa/mm/
Dinit.c55 min_low_pfn = PFN_UP(memblock_start_of_DRAM()); in bootmem_init()
/linux-6.6.21/arch/loongarch/kernel/
Dsetup.c202 memblock_remove(memblock_start_of_DRAM(), in early_parse_mem()
203 memblock_end_of_DRAM() - memblock_start_of_DRAM()); in early_parse_mem()
Dnuma.c365 phys_addr_t start = memblock_start_of_DRAM(); in fake_numa_init()
/linux-6.6.21/arch/arm64/kvm/
Dva_layout.c69 tag_lsb = fls64((u64)phys_to_virt(memblock_start_of_DRAM()) ^ in kvm_compute_layout()
/linux-6.6.21/arch/openrisc/kernel/
Dsetup.c55 memory_start = memblock_start_of_DRAM(); in setup_memory()
/linux-6.6.21/drivers/base/
Darch_numa.c423 phys_addr_t start = memblock_start_of_DRAM(); in dummy_numa_init()
/linux-6.6.21/arch/arm/mm/
Dinit.c78 *min = PFN_UP(memblock_start_of_DRAM()); in find_limits()
/linux-6.6.21/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.6.21/arch/riscv/mm/
Dinit.c227 phys_ram_base = memblock_start_of_DRAM() & PMD_MASK; in setup_bootmem()
1378 unsigned long search_start = memblock_start_of_DRAM(); in reserve_crashkernel()
1456 search_start = memblock_start_of_DRAM(); in reserve_crashkernel()
/linux-6.6.21/include/linux/
Dmemblock.h481 phys_addr_t memblock_start_of_DRAM(void);
/linux-6.6.21/mm/
Dmemblock.c1691 phys_addr_t __init_memblock memblock_start_of_DRAM(void) in memblock_start_of_DRAM() function
Dmm_init.c1810 start_pfn = PHYS_PFN(memblock_start_of_DRAM()); in free_area_init()