Home
last modified time | relevance | path

Searched refs:memblock_reserve (Results 1 – 25 of 91) sorted by relevance

1234

/linux-6.1.9/tools/testing/memblock/tests/
Dalloc_api.c92 memblock_reserve(r1.base, r1.size); in alloc_top_down_disjoint_check()
137 memblock_reserve(memblock_end_of_DRAM() - total_size, r1_size); in alloc_top_down_before_check()
185 memblock_reserve(r1.base, r1.size); in alloc_top_down_after_check()
234 memblock_reserve(r1.base, r1.size); in alloc_top_down_second_fit_check()
235 memblock_reserve(r2.base, r2.size); in alloc_top_down_second_fit_check()
288 memblock_reserve(r1.base, r1.size); in alloc_in_between_generic_check()
289 memblock_reserve(r2.base, r2.size); in alloc_in_between_generic_check()
333 memblock_reserve(region_end + gap_size, region_size); 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()
[all …]
Dbasic_api.c467 memblock_reserve(r.base, r.size); in memblock_reserve_simple_check()
507 memblock_reserve(r1.base, r1.size); in memblock_reserve_disjoint_check()
508 memblock_reserve(r2.base, r2.size); in memblock_reserve_disjoint_check()
563 memblock_reserve(r1.base, r1.size); in memblock_reserve_overlap_top_check()
564 memblock_reserve(r2.base, r2.size); in memblock_reserve_overlap_top_check()
616 memblock_reserve(r1.base, r1.size); in memblock_reserve_overlap_bottom_check()
617 memblock_reserve(r2.base, r2.size); in memblock_reserve_overlap_bottom_check()
665 memblock_reserve(r1.base, r1.size); in memblock_reserve_within_check()
666 memblock_reserve(r2.base, r2.size); in memblock_reserve_within_check()
695 memblock_reserve(r.base, r.size); in memblock_reserve_twice_check()
[all …]
Dalloc_nid_api.c316 memblock_reserve(reserved_base, r1_size); in alloc_try_nid_min_reserved_generic_check()
366 memblock_reserve(max_addr, r1_size); in alloc_try_nid_max_reserved_generic_check()
428 memblock_reserve(r1.base, r1.size); in alloc_try_nid_top_down_reserved_with_space_check()
429 memblock_reserve(r2.base, r2.size); in alloc_try_nid_top_down_reserved_with_space_check()
491 memblock_reserve(r1.base, r1.size); in alloc_try_nid_reserved_full_merge_generic_check()
492 memblock_reserve(r2.base, r2.size); in alloc_try_nid_reserved_full_merge_generic_check()
555 memblock_reserve(r1.base, r1.size); in alloc_try_nid_top_down_reserved_no_space_check()
556 memblock_reserve(r2.base, r2.size); in alloc_try_nid_top_down_reserved_no_space_check()
620 memblock_reserve(r1.base, r1.size); in alloc_try_nid_reserved_all_generic_check()
621 memblock_reserve(r2.base, r2.size); in alloc_try_nid_reserved_all_generic_check()
[all …]
Dalloc_helpers_api.c166 memblock_reserve(min_addr, r2_size); in alloc_from_top_down_no_space_above_check()
202 memblock_reserve(start_addr + r1_size, MEM_SIZE - r1_size); in alloc_from_top_down_min_addr_cap_check()
291 memblock_reserve(min_addr - SMP_CACHE_BYTES, r2_size); in alloc_from_bottom_up_no_space_above_check()
/linux-6.1.9/arch/loongarch/kernel/
Dmem.c47 memblock_reserve(mem_start, mem_size); in memblock_init()
56 memblock_reserve(PHYS_OFFSET, 0x200000); in memblock_init()
59 memblock_reserve(__pa_symbol(&_text), in memblock_init()
/linux-6.1.9/arch/arc/mm/
Dinit.c69 memblock_reserve(base, size); in early_init_dt_add_memory_arch()
113 memblock_reserve(CONFIG_LINUX_LINK_BASE, in setup_arch_memory()
118 memblock_reserve(phys_initrd_start, phys_initrd_size); in setup_arch_memory()
/linux-6.1.9/arch/s390/kernel/
Dsetup.c611 memblock_reserve(crashk_res.start, resource_size(&crashk_res)); in setup_resources()
729 memblock_reserve(initrd_data.start, initrd_data.size); in reserve_initrd()
739 memblock_reserve(ipl_cert_list_addr, ipl_cert_list_size); in reserve_certificate_list()
748 memblock_reserve(start, size); in reserve_mem_detect_info()
812 memblock_reserve(0, STARTUP_NORMAL_OFFSET); in reserve_kernel()
813 memblock_reserve(OLDMEM_BASE, sizeof(unsigned long)); in reserve_kernel()
814 memblock_reserve(OLDMEM_SIZE, sizeof(unsigned long)); in reserve_kernel()
815 memblock_reserve(__amode31_base, __eamode31 - __samode31); in reserve_kernel()
816 memblock_reserve(__pa(sclp_early_sccb), EXT_SCCB_READ_SCP); in reserve_kernel()
817 memblock_reserve(__pa(_stext), _end - _stext); in reserve_kernel()
/linux-6.1.9/arch/xtensa/mm/
Dinit.c48 memblock_reserve(0, PHYS_OFFSET ? PHYS_OFFSET : 1); in bootmem_init()
191 memblock_reserve(start_at, mem_size); in parse_memmap_one()
195 memblock_reserve(mem_size, -mem_size); in parse_memmap_one()
/linux-6.1.9/arch/mips/loongson64/
Dnuma.c125 memblock_reserve(kernel_start_pfn << PAGE_SHIFT, in node_mem_init()
130 memblock_reserve((node_addrspace_offset | 0xfe000000), in node_mem_init()
134 memblock_reserve(0, PAGE_SIZE * start_pfn); in node_mem_init()
/linux-6.1.9/arch/mips/kernel/
Dsetup.c229 memblock_reserve(__pa(initrd_start), size); in finalize_initrd()
284 memblock_reserve(__pa_symbol(&_text), in bootmem_init()
296 memblock_reserve(PHYS_OFFSET, ramstart - PHYS_OFFSET); in bootmem_init()
405 memblock_reserve(start_at, mem_size); in early_parse_memmap()
442 memblock_reserve(elfcorehdr_addr, elfcorehdr_size); in mips_reserve_vmcore()
688 memblock_reserve(__pa_symbol(&__nosave_begin), in arch_mem_init()
/linux-6.1.9/arch/x86/kernel/
Dsetup.c226 memblock_reserve(__pa_symbol(_brk_start), in reserve_brk()
299 memblock_reserve(ramdisk_image, ramdisk_end - ramdisk_image); in early_reserve_initrd()
352 memblock_reserve(data->addr, data->size); in add_early_ima_buffer()
456 memblock_reserve(pa_data, sizeof(*data) + data->len); in memblock_x86_reserve_range_setup_data()
470 memblock_reserve(indirect->addr, indirect->len); in memblock_x86_reserve_range_setup_data()
725 if (memblock_reserve(bad_pages[i], PAGE_SIZE)) in trim_snb_memory()
783 memblock_reserve(__pa_symbol(_text), in early_reserve_memory()
797 memblock_reserve(0, SZ_64K); in early_reserve_memory()
Debda.c97 memblock_reserve(bios_start, 0x100000 - bios_start); in reserve_bios_regions()
/linux-6.1.9/drivers/firmware/efi/
Dtpm.c63 memblock_reserve(efi.tpm_log, tbl_size); in efi_tpm_eventlog_init()
100 memblock_reserve(efi.tpm_final_log, in efi_tpm_eventlog_init()
Defi-init.c179 memblock_reserve(paddr, size); in reserve_regions()
222 memblock_reserve(data.phys_map & PAGE_MASK, in efi_init()
/linux-6.1.9/arch/nios2/kernel/
Dsetup.c166 memblock_reserve(__pa_symbol(_stext), _end - _stext); in setup_arch()
169 memblock_reserve(virt_to_phys((void *)initrd_start), in setup_arch()
/linux-6.1.9/arch/mips/fw/arc/
Dmemory.c157 memblock_reserve(base, size); in prom_meminit()
160 memblock_reserve(base, size); in prom_meminit()
/linux-6.1.9/arch/arm/mach-s3c/
Dmach-rx3715.c185 memblock_reserve(0x30003000, 0x1000); in rx3715_reserve()
186 memblock_reserve(0x30081000, 0x1000); in rx3715_reserve()
/linux-6.1.9/arch/m68k/kernel/
Dsetup_no.c146 memblock_reserve(_rambase, memory_start - _rambase); in setup_arch()
163 memblock_reserve(initrd_start, initrd_end - initrd_start); in setup_arch()
/linux-6.1.9/arch/arm/mm/
Dnommu.c97 memblock_reserve(vectors_base, 2 * PAGE_SIZE); in arm_mm_memblock_reserve()
108 memblock_reserve(0, 1); in arm_mm_memblock_reserve()
/linux-6.1.9/arch/powerpc/kernel/
Dprom.c637 memblock_reserve(base, size); in early_reserve_mem_dt()
655 memblock_reserve(ALIGN_DOWN(__pa(initrd_start), PAGE_SIZE), in early_reserve_mem()
680 memblock_reserve(base_32, size_32); in early_reserve_mem()
807 memblock_reserve(PHYSICAL_START, __pa(_end) - PHYSICAL_START); in early_init_devtree()
810 memblock_reserve(MEMORY_START, 0x8000); in early_init_devtree()
/linux-6.1.9/arch/microblaze/mm/
Dinit.c231 memblock_reserve(kstart, ksize); in mmu_init()
238 memblock_reserve(__virt_to_phys(initrd_start), size); in mmu_init()
/linux-6.1.9/arch/hexagon/mm/
Dinit.c162 memblock_reserve(PHYS_OFFSET, in setup_arch_memory()
170 memblock_reserve(PFN_PHYS(max_low_pfn), DMA_RESERVED_BYTES); in setup_arch_memory()
/linux-6.1.9/drivers/firmware/
Discsi_ibft_find.c85 memblock_reserve(ibft_phys_addr, PAGE_ALIGN(len)); in reserve_ibft_region()
/linux-6.1.9/arch/arm/mach-versatile/
Dintegrator.c93 memblock_reserve(PHYS_OFFSET, __pa(swapper_pg_dir) - PHYS_OFFSET); in integrator_reserve()
/linux-6.1.9/tools/testing/memblock/
DTODO4 1. Add tests trying to memblock_add() or memblock_reserve() 129th region.

1234