Home
last modified time | relevance | path

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

/Linux-v6.1/tools/testing/memblock/tests/
Dalloc_nid_api.c55 struct memblock_region *rgn = &memblock.reserved.regions[0]; in alloc_try_nid_top_down_simple_check()
107 struct memblock_region *rgn = &memblock.reserved.regions[0]; in alloc_try_nid_top_down_end_misaligned_check()
158 struct memblock_region *rgn = &memblock.reserved.regions[0]; in alloc_try_nid_exact_address_generic_check()
210 struct memblock_region *rgn = &memblock.reserved.regions[0]; in alloc_try_nid_top_down_narrow_range_check()
300 struct memblock_region *rgn = &memblock.reserved.regions[0]; in alloc_try_nid_min_reserved_generic_check()
352 struct memblock_region *rgn = &memblock.reserved.regions[0]; in alloc_try_nid_max_reserved_generic_check()
405 struct memblock_region *rgn1 = &memblock.reserved.regions[1]; in alloc_try_nid_top_down_reserved_with_space_check()
406 struct memblock_region *rgn2 = &memblock.reserved.regions[0]; in alloc_try_nid_top_down_reserved_with_space_check()
470 struct memblock_region *rgn = &memblock.reserved.regions[0]; in alloc_try_nid_reserved_full_merge_generic_check()
532 struct memblock_region *rgn1 = &memblock.reserved.regions[1]; in alloc_try_nid_top_down_reserved_no_space_check()
[all …]
Dbasic_api.c43 struct memblock_region *rgn; in memblock_add_simple_check()
76 struct memblock_region *rgn; in memblock_add_node_simple_check()
119 struct memblock_region *rgn1, *rgn2; in memblock_add_disjoint_check()
172 struct memblock_region *rgn; in memblock_add_overlap_top_check()
224 struct memblock_region *rgn; in memblock_add_overlap_bottom_check()
274 struct memblock_region *rgn; in memblock_add_within_check()
344 struct memblock_region *rgn; in memblock_add_between_check()
398 struct memblock_region *rgn; in memblock_add_near_max_check()
455 struct memblock_region *rgn; in memblock_reserve_simple_check()
490 struct memblock_region *rgn1, *rgn2; in memblock_reserve_disjoint_check()
[all …]
Dalloc_api.c26 struct memblock_region *rgn = &memblock.reserved.regions[0]; in alloc_top_down_simple_check()
73 struct memblock_region *rgn1 = &memblock.reserved.regions[1]; in alloc_top_down_disjoint_check()
74 struct memblock_region *rgn2 = &memblock.reserved.regions[0]; in alloc_top_down_disjoint_check()
125 struct memblock_region *rgn = &memblock.reserved.regions[0]; in alloc_top_down_before_check()
168 struct memblock_region *rgn = &memblock.reserved.regions[0]; in alloc_top_down_after_check()
217 struct memblock_region *rgn = &memblock.reserved.regions[0]; in alloc_top_down_second_fit_check()
266 struct memblock_region *rgn = &memblock.reserved.regions[0]; in alloc_in_between_generic_check()
416 struct memblock_region *rgn = &memblock.reserved.regions[0]; in alloc_limited_space_generic_check()
450 struct memblock_region *rgn = &memblock.reserved.regions[0]; in alloc_no_memory_generic_check()
484 struct memblock_region *rgn = &memblock.reserved.regions[0]; in alloc_too_large_generic_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()
153 struct memblock_region *rgn = &memblock.reserved.regions[0]; in alloc_from_top_down_no_space_above_check()
190 struct memblock_region *rgn = &memblock.reserved.regions[0]; in alloc_from_top_down_min_addr_cap_check()
236 struct memblock_region *rgn = &memblock.reserved.regions[0]; in alloc_from_bottom_up_high_addr_check()
278 struct memblock_region *rgn = &memblock.reserved.regions[0]; in alloc_from_bottom_up_no_space_above_check()
314 struct memblock_region *rgn = &memblock.reserved.regions[0]; in alloc_from_bottom_up_min_addr_cap_check()
Dcommon.c44 memblock.memory.cnt * sizeof(struct memblock_region)); in reset_memblock_regions()
50 memblock.reserved.cnt * sizeof(struct memblock_region)); in reset_memblock_regions()
Dcommon.h116 static inline phys_addr_t __maybe_unused region_end(struct memblock_region *rgn) in region_end()
/Linux-v6.1/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-v6.1/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-v6.1/mm/
Dmemblock.c109 static struct memblock_region memblock_memory_init_regions[INIT_MEMBLOCK_MEMORY_REGIONS] __initdata…
110 static struct memblock_region memblock_reserved_init_regions[INIT_MEMBLOCK_RESERVED_REGIONS] __init…
112 static struct memblock_region memblock_physmem_init_regions[INIT_PHYSMEM_REGIONS];
371 size = PAGE_ALIGN(sizeof(struct memblock_region) * in memblock_discard()
381 size = PAGE_ALIGN(sizeof(struct memblock_region) * in memblock_discard()
412 struct memblock_region *new_array, *old_array; in memblock_double_array()
425 old_size = type->max * sizeof(struct memblock_region); in memblock_double_array()
512 struct memblock_region *this = &type->regions[i]; in memblock_merge_regions()
513 struct memblock_region *next = &type->regions[i + 1]; in memblock_merge_regions()
549 struct memblock_region *rgn = &type->regions[idx]; in memblock_insert_region()
[all …]
Dpage_alloc.c6709 static struct memblock_region *r; in overlap_memmap_init()
7528 struct memblock_region *r; in zone_absent_pages_in_node()
8046 struct memblock_region *r; in find_zone_movable_pfns_for_nodes()
/Linux-v6.1/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-v6.1/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-v6.1/arch/riscv/kernel/
Dsetup.c148 struct memblock_region *region = NULL; in init_resources()
/Linux-v6.1/arch/arm64/kernel/
Dsetup.c219 struct memblock_region *region; in request_standard_resources()
/Linux-v6.1/drivers/base/
Darch_numa.c346 struct memblock_region *mblk; in numa_register_nodes()
/Linux-v6.1/arch/loongarch/kernel/
Dsetup.c317 struct memblock_region *region; in resource_init()
/Linux-v6.1/arch/x86/mm/
Dnuma.c488 struct memblock_region *mb_region; in numa_clear_kernel_node_hotplug()
/Linux-v6.1/arch/s390/kernel/
Dcrash_dump.c30 static struct memblock_region oldmem_region;
/Linux-v6.1/drivers/of/
Dfdt.c983 struct memblock_region rgn[MAX_USABLE_RANGES] = {0}; in early_init_dt_check_for_usable_mem_range()