Searched refs:mem_rngs (Results 1 – 1 of 1) sorted by relevance
46 static inline size_t get_mem_rngs_size(struct crash_mem *mem_rngs) in get_mem_rngs_size() argument50 if (!mem_rngs) in get_mem_rngs_size()54 (mem_rngs->max_nr_ranges * sizeof(struct crash_mem_range))); in get_mem_rngs_size()75 struct crash_mem *mem_rngs = *mem_ranges; in __add_mem_range() local77 if (!mem_rngs || (mem_rngs->nr_ranges == mem_rngs->max_nr_ranges)) { in __add_mem_range()78 mem_rngs = realloc_mem_ranges(mem_ranges); in __add_mem_range()79 if (!mem_rngs) in __add_mem_range()83 mem_rngs->ranges[mem_rngs->nr_ranges].start = base; in __add_mem_range()84 mem_rngs->ranges[mem_rngs->nr_ranges].end = base + size - 1; in __add_mem_range()86 base, base + size - 1, mem_rngs->nr_ranges); in __add_mem_range()[all …]