Lines Matching refs:physmem_info
49 struct physmem_info { struct
58 extern struct physmem_info physmem_info; argument
65 if (n >= physmem_info.range_count) { in __get_physmem_range()
72 *start = (unsigned long)physmem_info.online[n].start; in __get_physmem_range()
73 *end = (unsigned long)physmem_info.online[n].end; in __get_physmem_range()
75 *start = (unsigned long)physmem_info.online_extended[n - MEM_INLINED_ENTRIES].start; in __get_physmem_range()
76 *end = (unsigned long)physmem_info.online_extended[n - MEM_INLINED_ENTRIES].end; in __get_physmem_range()
79 if (respect_usable_limit && physmem_info.usable) { in __get_physmem_range()
80 if (*start >= physmem_info.usable) in __get_physmem_range()
82 if (*end > physmem_info.usable) in __get_physmem_range()
83 *end = physmem_info.usable; in __get_physmem_range()
105 switch (physmem_info.info_source) { in get_physmem_info_source()
136 for (range = &physmem_info.reserved[t], *p_start = range->start, *p_end = range->end; \
144 range = &physmem_info.reserved[*t]; in __physmem_reserved_next()
151 range = &physmem_info.reserved[*t]; in __physmem_reserved_next()
167 *addr = physmem_info.reserved[type].start; in get_physmem_reserved()
168 *size = physmem_info.reserved[type].end - physmem_info.reserved[type].start; in get_physmem_reserved()
172 #define AMODE31_START (physmem_info.reserved[RR_AMODE31].start)
173 #define AMODE31_END (physmem_info.reserved[RR_AMODE31].end)