Lines Matching refs:mem_detect
36 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()
87 if (mem_detect.count) { in get_mem_detect_end()
88 __get_mem_detect_block(mem_detect.count - 1, &start, &end); in get_mem_detect_end()