Home
last modified time | relevance | path

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

/linux-5.19.10/arch/arm64/kvm/
Dpkvm.c15 static struct memblock_region *hyp_memory = kvm_nvhe_sym(hyp_memory);
23 const struct memblock_region *r1 = p1; in cmp_hyp_memblock()
24 const struct memblock_region *r2 = p2; in cmp_hyp_memblock()
33 sizeof(struct memblock_region), in sort_memblock_regions()
40 struct memblock_region *reg; in register_memblock_regions()
/linux-5.19.10/include/linux/
Dmemblock.h59 struct memblock_region { struct
80 struct memblock_region *regions; argument
248 static inline bool memblock_is_hotpluggable(struct memblock_region *m) in memblock_is_hotpluggable()
253 static inline bool memblock_is_mirror(struct memblock_region *m) in memblock_is_mirror()
258 static inline bool memblock_is_nomap(struct memblock_region *m) in memblock_is_nomap()
263 static inline bool memblock_is_driver_managed(struct memblock_region *m) in memblock_is_driver_managed()
368 static inline void memblock_set_region_node(struct memblock_region *r, int nid) in memblock_set_region_node()
373 static inline int memblock_get_region_node(const struct memblock_region *r) in memblock_get_region_node()
378 static inline void memblock_set_region_node(struct memblock_region *r, int nid) in memblock_set_region_node()
382 static inline int memblock_get_region_node(const struct memblock_region *r) in memblock_get_region_node()
[all …]
/linux-5.19.10/tools/testing/memblock/tests/
Dalloc_api.c10 struct memblock_region *rgn = &memblock.reserved.regions[0]; in alloc_top_down_simple_check()
53 struct memblock_region *rgn1 = &memblock.reserved.regions[1]; in alloc_top_down_disjoint_check()
54 struct memblock_region *rgn2 = &memblock.reserved.regions[0]; in alloc_top_down_disjoint_check()
101 struct memblock_region *rgn = &memblock.reserved.regions[0]; in alloc_top_down_before_check()
140 struct memblock_region *rgn = &memblock.reserved.regions[0]; in alloc_top_down_after_check()
185 struct memblock_region *rgn = &memblock.reserved.regions[0]; in alloc_top_down_second_fit_check()
230 struct memblock_region *rgn = &memblock.reserved.regions[0]; in alloc_in_between_generic_check()
369 struct memblock_region *rgn = &memblock.reserved.regions[0]; in alloc_limited_space_generic_check()
399 struct memblock_region *rgn = &memblock.reserved.regions[0]; in alloc_no_memory_generic_check()
421 struct memblock_region *rgn = &memblock.reserved.regions[0]; in alloc_bottom_up_simple_check()
[all …]
Dalloc_nid_api.c20 struct memblock_region *rgn = &memblock.reserved.regions[0]; in alloc_try_nid_top_down_simple_check()
71 struct memblock_region *rgn = &memblock.reserved.regions[0]; in alloc_try_nid_top_down_end_misaligned_check()
121 struct memblock_region *rgn = &memblock.reserved.regions[0]; in alloc_try_nid_exact_address_generic_check()
172 struct memblock_region *rgn = &memblock.reserved.regions[0]; in alloc_try_nid_top_down_narrow_range_check()
258 struct memblock_region *rgn = &memblock.reserved.regions[0]; in alloc_try_nid_min_reserved_generic_check()
309 struct memblock_region *rgn = &memblock.reserved.regions[0]; in alloc_try_nid_max_reserved_generic_check()
361 struct memblock_region *rgn1 = &memblock.reserved.regions[1]; in alloc_try_nid_top_down_reserved_with_space_check()
362 struct memblock_region *rgn2 = &memblock.reserved.regions[0]; in alloc_try_nid_top_down_reserved_with_space_check()
425 struct memblock_region *rgn = &memblock.reserved.regions[0]; in alloc_try_nid_reserved_full_merge_generic_check()
486 struct memblock_region *rgn1 = &memblock.reserved.regions[1]; in alloc_try_nid_top_down_reserved_no_space_check()
[all …]
Dbasic_api.c34 struct memblock_region *rgn; in memblock_add_simple_check()
63 struct memblock_region *rgn; in memblock_add_node_simple_check()
102 struct memblock_region *rgn1, *rgn2; in memblock_add_disjoint_check()
151 struct memblock_region *rgn; in memblock_add_overlap_top_check()
199 struct memblock_region *rgn; in memblock_add_overlap_bottom_check()
245 struct memblock_region *rgn; in memblock_add_within_check()
314 struct memblock_region *rgn; in memblock_reserve_simple_check()
345 struct memblock_region *rgn1, *rgn2; in memblock_reserve_disjoint_check()
395 struct memblock_region *rgn; in memblock_reserve_overlap_top_check()
444 struct memblock_region *rgn; in memblock_reserve_overlap_bottom_check()
[all …]
Dalloc_helpers_api.c20 struct memblock_region *rgn = &memblock.reserved.regions[0]; in alloc_from_simple_generic_check()
63 struct memblock_region *rgn = &memblock.reserved.regions[0]; in alloc_from_misaligned_generic_check()
110 struct memblock_region *rgn = &memblock.reserved.regions[0]; in alloc_from_top_down_high_addr_check()
151 struct memblock_region *rgn = &memblock.reserved.regions[0]; in alloc_from_top_down_no_space_above_check()
186 struct memblock_region *rgn = &memblock.reserved.regions[0]; in alloc_from_top_down_min_addr_cap_check()
230 struct memblock_region *rgn = &memblock.reserved.regions[0]; in alloc_from_bottom_up_high_addr_check()
270 struct memblock_region *rgn = &memblock.reserved.regions[0]; in alloc_from_bottom_up_no_space_above_check()
304 struct memblock_region *rgn = &memblock.reserved.regions[0]; in alloc_from_bottom_up_min_addr_cap_check()
Dcommon.c13 memblock.memory.cnt * sizeof(struct memblock_region)); in reset_memblock_regions()
19 memblock.reserved.cnt * sizeof(struct memblock_region)); in reset_memblock_regions()
/linux-5.19.10/mm/
Dmemblock.c105 static struct memblock_region memblock_memory_init_regions[INIT_MEMBLOCK_REGIONS] __initdata_memblo…
106 static struct memblock_region memblock_reserved_init_regions[INIT_MEMBLOCK_RESERVED_REGIONS] __init…
108 static struct memblock_region memblock_physmem_init_regions[INIT_PHYSMEM_REGIONS];
367 size = PAGE_ALIGN(sizeof(struct memblock_region) * in memblock_discard()
377 size = PAGE_ALIGN(sizeof(struct memblock_region) * in memblock_discard()
408 struct memblock_region *new_array, *old_array; in memblock_double_array()
421 old_size = type->max * sizeof(struct memblock_region); in memblock_double_array()
508 struct memblock_region *this = &type->regions[i]; in memblock_merge_regions()
509 struct memblock_region *next = &type->regions[i + 1]; in memblock_merge_regions()
545 struct memblock_region *rgn = &type->regions[idx]; in memblock_insert_region()
[all …]
Dpage_alloc.c6536 static struct memblock_region *r; in overlap_memmap_init()
7336 struct memblock_region *r; in zone_absent_pages_in_node()
7864 struct memblock_region *r; in find_zone_movable_pfns_for_nodes()
/linux-5.19.10/arch/arm64/include/asm/
Dkvm_pkvm.h14 extern struct memblock_region kvm_nvhe_sym(hyp_memory)[];
36 struct memblock_region *reg = &kvm_nvhe_sym(hyp_memory)[i]; in __hyp_pgtable_total_pages()
/linux-5.19.10/arch/powerpc/platforms/embedded6xx/
Dwii.c59 struct memblock_region *p = memblock.memory.regions; in wii_memory_fixups()
/linux-5.19.10/arch/arm64/kvm/hyp/nvhe/
Dmm.c23 struct memblock_region hyp_memory[HYP_MEMBLOCK_REGIONS];
Dmem_protect.c179 struct memblock_region *reg; in host_stage2_unmap_dev_all()
201 struct memblock_region *reg; in find_mem_range()
Dsetup.c250 struct memblock_region *reg = &hyp_memory[i]; in finalize_host_mappings()
/linux-5.19.10/arch/riscv/kernel/
Dsetup.c147 struct memblock_region *region = NULL; in init_resources()
/linux-5.19.10/arch/arm64/kernel/
Dsetup.c219 struct memblock_region *region; in request_standard_resources()
/linux-5.19.10/arch/loongarch/kernel/
Dsetup.c264 struct memblock_region *region; in resource_init()
/linux-5.19.10/drivers/base/
Darch_numa.c346 struct memblock_region *mblk; in numa_register_nodes()
/linux-5.19.10/arch/x86/mm/
Dnuma.c488 struct memblock_region *mb_region; in numa_clear_kernel_node_hotplug()
/linux-5.19.10/arch/s390/kernel/
Dcrash_dump.c29 static struct memblock_region oldmem_region;
/linux-5.19.10/drivers/of/
Dfdt.c991 struct memblock_region rgn[MAX_USABLE_RANGES] = {0}; in early_init_dt_check_for_usable_mem_range()