Home
last modified time | relevance | path

Searched refs:mem_detect (Results 1 – 8 of 8) sorted by relevance

/linux-6.1.9/arch/s390/include/asm/
Dmem_detect.h36 extern struct mem_detect_info mem_detect;
43 if (n >= mem_detect.count) { in __get_mem_detect_block()
50 *start = (unsigned long)mem_detect.entries[n].start; in __get_mem_detect_block()
51 *end = (unsigned long)mem_detect.entries[n].end; in __get_mem_detect_block()
53 *start = (unsigned long)mem_detect.entries_extended[n - MEM_INLINED_ENTRIES].start; in __get_mem_detect_block()
54 *end = (unsigned long)mem_detect.entries_extended[n - MEM_INLINED_ENTRIES].end; in __get_mem_detect_block()
69 i < mem_detect.count; \
75 *start = (unsigned long)mem_detect.entries_extended; in get_mem_detect_reserved()
76 if (mem_detect.count > MEM_INLINED_ENTRIES) in get_mem_detect_reserved()
77 *size = (mem_detect.count - MEM_INLINED_ENTRIES) * sizeof(struct mem_detect_block); in get_mem_detect_reserved()
[all …]
/linux-6.1.9/arch/s390/boot/
Dmem_detect.c13 struct mem_detect_info __bootdata(mem_detect);
39 return &mem_detect.entries[n]; in __get_mem_detect_block_ptr()
40 if (unlikely(!mem_detect.entries_extended)) in __get_mem_detect_block_ptr()
41 mem_detect.entries_extended = mem_detect_alloc_extended(); in __get_mem_detect_block_ptr()
42 return &mem_detect.entries_extended[n - MEM_INLINED_ENTRIES]; in __get_mem_detect_block_ptr()
53 if (mem_detect.count) { in add_mem_detect_block()
54 block = __get_mem_detect_block_ptr(mem_detect.count - 1); in add_mem_detect_block()
61 block = __get_mem_detect_block_ptr(mem_detect.count); in add_mem_detect_block()
64 mem_detect.count++; in add_mem_detect_block()
173 mem_detect.info_source = MEM_DETECT_SCLP_STOR_INFO; in detect_memory()
[all …]
DMakefile38 obj-y := head.o als.o startup.o mem_detect.o ipl_parm.o ipl_report.o
/linux-6.1.9/arch/mips/ralink/
Dof.c70 if (soc_info.mem_detect) in plat_mem_setup()
71 soc_info.mem_detect(); in plat_mem_setup()
Dcommon.h20 void (*mem_detect)(void); member
Dmt7621.c214 soc_info->mem_detect = mt7621_memory_detect; in prom_soc_init()
/linux-6.1.9/arch/s390/kernel/
Dsetup.c149 struct mem_detect_info __bootdata(mem_detect);
762 switch (mem_detect.info_source) { in get_mem_info_source()
781 get_mem_info_source(), mem_detect.info_source); in memblock_add_mem_detect_info()
/linux-6.1.9/drivers/s390/char/
Dsclp_early_core.c361 mem_detect.count = 0; in sclp_early_read_storage_info()