Home
last modified time | relevance | path

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

1234

/openbmc/linux/tools/testing/memblock/tests/
H A Dalloc_api.c92 memblock_reserve(r1.base, r1.size); in alloc_top_down_disjoint_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()
358 memblock_reserve(memblock_start_of_DRAM(), MEM_SIZE); in alloc_all_reserved_generic_check()
569 memblock_reserve(r1.base, r1.size); in alloc_bottom_up_disjoint_check()
658 memblock_reserve(r1.base, r1.size); in alloc_bottom_up_after_check()
708 memblock_reserve(r1.base, r1.size); in alloc_bottom_up_second_fit_check()
[all …]
H A Dbasic_api.c560 memblock_reserve(r.base, r.size); in memblock_reserve_simple_check()
600 memblock_reserve(r1.base, r1.size); in memblock_reserve_disjoint_check()
601 memblock_reserve(r2.base, r2.size); in memblock_reserve_disjoint_check()
656 memblock_reserve(r1.base, r1.size); in memblock_reserve_overlap_top_check()
657 memblock_reserve(r2.base, r2.size); in memblock_reserve_overlap_top_check()
709 memblock_reserve(r1.base, r1.size); in memblock_reserve_overlap_bottom_check()
710 memblock_reserve(r2.base, r2.size); in memblock_reserve_overlap_bottom_check()
788 memblock_reserve(r.base, r.size); in memblock_reserve_twice_check()
789 memblock_reserve(r.base, r.size); in memblock_reserve_twice_check()
882 memblock_reserve(r.base, r.size); in memblock_reserve_near_max_check()
[all …]
H A Dalloc_nid_api.c377 memblock_reserve(max_addr, r1_size); in alloc_nid_max_reserved_generic_check()
439 memblock_reserve(r1.base, r1.size); in alloc_nid_top_down_reserved_with_space_check()
440 memblock_reserve(r2.base, r2.size); in alloc_nid_top_down_reserved_with_space_check()
502 memblock_reserve(r1.base, r1.size); in alloc_nid_reserved_full_merge_generic_check()
503 memblock_reserve(r2.base, r2.size); in alloc_nid_reserved_full_merge_generic_check()
566 memblock_reserve(r1.base, r1.size); in alloc_nid_top_down_reserved_no_space_check()
567 memblock_reserve(r2.base, r2.size); in alloc_nid_top_down_reserved_no_space_check()
631 memblock_reserve(r1.base, r1.size); in alloc_nid_reserved_all_generic_check()
632 memblock_reserve(r2.base, r2.size); in alloc_nid_reserved_all_generic_check()
912 memblock_reserve(r1.base, r1.size); in alloc_nid_bottom_up_reserved_with_space_check()
[all …]
H A Dalloc_exact_nid_api.c100 memblock_reserve(r1.base, r1.size); in alloc_exact_nid_top_down_numa_part_reserved_check()
371 memblock_reserve(r1.base, r1.size); in alloc_exact_nid_bottom_up_numa_part_reserved_check()
634 memblock_reserve(req_node->base, req_node->size); in alloc_exact_nid_numa_node_reserved_generic_check()
682 memblock_reserve(r1.base, r1.size); in alloc_exact_nid_numa_part_reserved_fail_generic_check()
864 memblock_reserve(r1.base, r1.size); in alloc_exact_nid_numa_reserved_full_merge_generic_check()
865 memblock_reserve(r2.base, r2.size); in alloc_exact_nid_numa_reserved_full_merge_generic_check()
933 memblock_reserve(r1.base, r1.size); in alloc_exact_nid_numa_split_all_reserved_generic_check()
934 memblock_reserve(r2.base, r2.size); in alloc_exact_nid_numa_split_all_reserved_generic_check()
H A 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()
/openbmc/linux/arch/loongarch/kernel/
H A Dmem.c47 memblock_reserve(mem_start, mem_size); in memblock_init()
55 memblock_reserve(PHYS_OFFSET, 0x200000); in memblock_init()
58 memblock_reserve(__pa_symbol(&_text), in memblock_init()
/openbmc/linux/arch/s390/kernel/
H A Dsetup.c568 memblock_reserve(crashk_res.start, resource_size(&crashk_res)); in setup_resources()
615 memblock_reserve(start, end - start); in reserve_pgtables()
698 memblock_reserve(addr, size); in reserve_initrd()
707 memblock_reserve(ipl_cert_list_addr, ipl_cert_list_size); in reserve_certificate_list()
715 memblock_reserve(addr, size); in reserve_physmem_info()
748 memblock_reserve(0, STARTUP_NORMAL_OFFSET); in reserve_kernel()
749 memblock_reserve(OLDMEM_BASE, sizeof(unsigned long)); in reserve_kernel()
750 memblock_reserve(OLDMEM_SIZE, sizeof(unsigned long)); in reserve_kernel()
751 memblock_reserve(physmem_info.reserved[RR_AMODE31].start, __eamode31 - __samode31); in reserve_kernel()
752 memblock_reserve(__pa(sclp_early_sccb), EXT_SCCB_READ_SCP); in reserve_kernel()
[all …]
/openbmc/linux/arch/arc/mm/
H A Dinit.c70 memblock_reserve(base, size); in early_init_dt_add_memory_arch()
109 memblock_reserve(CONFIG_LINUX_LINK_BASE, in setup_arch_memory()
114 memblock_reserve(phys_initrd_start, phys_initrd_size); in setup_arch_memory()
/openbmc/linux/arch/xtensa/mm/
H A 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()
/openbmc/linux/arch/mips/loongson64/
H A 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()
H A Dinit.c91 memblock_reserve(mem_start, mem_size); in szmem()
104 memblock_reserve(virt_to_phys((void *)loongson_sysconf.vgabios_addr), in szmem()
/openbmc/linux/drivers/firmware/efi/
H A 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()
H A Defi-init.c198 memblock_reserve(paddr, size); in reserve_regions()
241 memblock_reserve(data.phys_map & PAGE_MASK, in efi_init()
/openbmc/linux/arch/mips/kernel/
H A Dsetup.c232 memblock_reserve(__pa(initrd_start), size); in finalize_initrd()
287 memblock_reserve(__pa_symbol(&_text), in bootmem_init()
299 memblock_reserve(PHYS_OFFSET, ramstart - PHYS_OFFSET); in bootmem_init()
408 memblock_reserve(start_at, mem_size); in early_parse_memmap()
445 memblock_reserve(elfcorehdr_addr, elfcorehdr_size); in mips_reserve_vmcore()
691 memblock_reserve(__pa_symbol(&__nosave_begin), in arch_mem_init()
/openbmc/linux/arch/nios2/kernel/
H A Dsetup.c166 memblock_reserve(__pa_symbol(_stext), _end - _stext); in setup_arch()
169 memblock_reserve(virt_to_phys((void *)initrd_start), in setup_arch()
/openbmc/linux/arch/x86/kernel/
H A Dsetup.c221 memblock_reserve(__pa_symbol(_brk_start), in reserve_brk()
294 memblock_reserve(ramdisk_image, ramdisk_end - ramdisk_image); in early_reserve_initrd()
347 memblock_reserve(data->addr, data->size); in add_early_ima_buffer()
447 memblock_reserve(pa_data, sizeof(*data) + data->len); in memblock_x86_reserve_range_setup_data()
461 memblock_reserve(indirect->addr, indirect->len); in memblock_x86_reserve_range_setup_data()
716 if (memblock_reserve(bad_pages[i], PAGE_SIZE)) in trim_snb_memory()
774 memblock_reserve(__pa_symbol(_text), in early_reserve_memory()
788 memblock_reserve(0, SZ_64K); in early_reserve_memory()
H A Debda.c97 memblock_reserve(bios_start, 0x100000 - bios_start); in reserve_bios_regions()
/openbmc/linux/arch/mips/fw/arc/
H A Dmemory.c157 memblock_reserve(base, size); in prom_meminit()
160 memblock_reserve(base, size); in prom_meminit()
/openbmc/linux/arch/m68k/kernel/
H A Dsetup_no.c145 memblock_reserve(_rambase, memory_start - _rambase); in setup_arch()
162 memblock_reserve(initrd_start, initrd_end - initrd_start); in setup_arch()
/openbmc/linux/arch/arm/mm/
H A Dnommu.c98 memblock_reserve(vectors_base, 2 * PAGE_SIZE); in arm_mm_memblock_reserve()
109 memblock_reserve(0, 1); in arm_mm_memblock_reserve()
/openbmc/linux/arch/microblaze/mm/
H A Dinit.c226 memblock_reserve(kstart, ksize); in mmu_init()
233 memblock_reserve(__virt_to_phys(initrd_start), size); in mmu_init()
/openbmc/linux/arch/powerpc/kernel/
H A Dprom.c662 memblock_reserve(base, size); in early_reserve_mem_dt()
680 memblock_reserve(ALIGN_DOWN(__pa(initrd_start), PAGE_SIZE), in early_reserve_mem()
705 memblock_reserve(base_32, size_32); in early_reserve_mem()
831 memblock_reserve(PHYSICAL_START, __pa(_end) - PHYSICAL_START); in early_init_devtree()
834 memblock_reserve(MEMORY_START, 0x8000); in early_init_devtree()
/openbmc/linux/arch/hexagon/mm/
H A 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()
/openbmc/linux/arch/arm/mach-versatile/
H A Dintegrator.c93 memblock_reserve(PHYS_OFFSET, __pa(swapper_pg_dir) - PHYS_OFFSET); in integrator_reserve()
/openbmc/linux/drivers/firmware/
H A Discsi_ibft_find.c90 memblock_reserve(ibft_phys_addr, PAGE_ALIGN(len)); in reserve_ibft_region()

1234