Home
last modified time | relevance | path

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

1234

/linux-6.6.21/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.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()
758 memblock_reserve(r1.base, r1.size); in memblock_reserve_within_check()
759 memblock_reserve(r2.base, r2.size); in memblock_reserve_within_check()
788 memblock_reserve(r.base, r.size); in memblock_reserve_twice_check()
[all …]
Dalloc_nid_api.c327 memblock_reserve(reserved_base, r1_size); in alloc_nid_min_reserved_generic_check()
377 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()
[all …]
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()
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.6.21/arch/loongarch/kernel/ !
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()
/linux-6.6.21/arch/s390/kernel/ !
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 …]
/linux-6.6.21/arch/arc/mm/ !
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()
/linux-6.6.21/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.6.21/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()
Dinit.c91 memblock_reserve(mem_start, mem_size); in szmem()
104 memblock_reserve(virt_to_phys((void *)loongson_sysconf.vgabios_addr), in szmem()
/linux-6.6.21/arch/mips/kernel/ !
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()
/linux-6.6.21/arch/x86/kernel/ !
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()
Debda.c97 memblock_reserve(bios_start, 0x100000 - bios_start); in reserve_bios_regions()
/linux-6.6.21/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.c198 memblock_reserve(paddr, size); in reserve_regions()
241 memblock_reserve(data.phys_map & PAGE_MASK, in efi_init()
/linux-6.6.21/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.6.21/arch/mips/fw/arc/ !
Dmemory.c157 memblock_reserve(base, size); in prom_meminit()
160 memblock_reserve(base, size); in prom_meminit()
/linux-6.6.21/arch/m68k/kernel/ !
Dsetup_no.c145 memblock_reserve(_rambase, memory_start - _rambase); in setup_arch()
162 memblock_reserve(initrd_start, initrd_end - initrd_start); in setup_arch()
/linux-6.6.21/arch/arm/mm/ !
Dnommu.c98 memblock_reserve(vectors_base, 2 * PAGE_SIZE); in arm_mm_memblock_reserve()
109 memblock_reserve(0, 1); in arm_mm_memblock_reserve()
/linux-6.6.21/arch/powerpc/kernel/ !
Dprom.c643 memblock_reserve(base, size); in early_reserve_mem_dt()
661 memblock_reserve(ALIGN_DOWN(__pa(initrd_start), PAGE_SIZE), in early_reserve_mem()
686 memblock_reserve(base_32, size_32); in early_reserve_mem()
812 memblock_reserve(PHYSICAL_START, __pa(_end) - PHYSICAL_START); in early_init_devtree()
815 memblock_reserve(MEMORY_START, 0x8000); in early_init_devtree()
/linux-6.6.21/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.6.21/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.6.21/arch/arm/mach-versatile/ !
Dintegrator.c93 memblock_reserve(PHYS_OFFSET, __pa(swapper_pg_dir) - PHYS_OFFSET); in integrator_reserve()
/linux-6.6.21/drivers/firmware/ !
Discsi_ibft_find.c90 memblock_reserve(ibft_phys_addr, PAGE_ALIGN(len)); in reserve_ibft_region()

1234