Lines Matching refs:crash_mem
35 return ((size - sizeof(struct crash_mem)) / in get_max_nr_ranges()
46 static inline size_t get_mem_rngs_size(struct crash_mem *mem_rngs) in get_mem_rngs_size()
53 size = (sizeof(struct crash_mem) + in get_mem_rngs_size()
73 static int __add_mem_range(struct crash_mem **mem_ranges, u64 base, u64 size) in __add_mem_range()
75 struct crash_mem *mem_rngs = *mem_ranges; in __add_mem_range()
99 static void __merge_memory_ranges(struct crash_mem *mem_rngs) in __merge_memory_ranges()
142 void sort_memory_ranges(struct crash_mem *mem_rngs, bool merge) in sort_memory_ranges()
173 struct crash_mem *realloc_mem_ranges(struct crash_mem **mem_ranges) in realloc_mem_ranges()
175 struct crash_mem *mem_rngs = *mem_ranges; in realloc_mem_ranges()
208 int add_mem_range(struct crash_mem **mem_ranges, u64 base, u64 size) in add_mem_range()
210 struct crash_mem *mem_rngs = *mem_ranges; in add_mem_range()
243 int add_tce_mem_ranges(struct crash_mem **mem_ranges) in add_tce_mem_ranges()
282 int add_initrd_mem_range(struct crash_mem **mem_ranges) in add_initrd_mem_range()
307 int add_htab_mem_range(struct crash_mem **mem_ranges) in add_htab_mem_range()
323 int add_kernel_mem_range(struct crash_mem **mem_ranges) in add_kernel_mem_range()
334 int add_rtas_mem_range(struct crash_mem **mem_ranges) in add_rtas_mem_range()
359 int add_opal_mem_range(struct crash_mem **mem_ranges) in add_opal_mem_range()
385 int add_reserved_mem_ranges(struct crash_mem **mem_ranges) in add_reserved_mem_ranges()