Searched refs:mem_rngs (Results 1 – 1 of 1) sorted by relevance
50 static inline size_t get_mem_rngs_size(struct crash_mem *mem_rngs) in get_mem_rngs_size() argument54 if (!mem_rngs) in get_mem_rngs_size()58 (mem_rngs->max_nr_ranges * sizeof(struct range))); in get_mem_rngs_size()79 struct crash_mem *mem_rngs = *mem_ranges; in __add_mem_range() local81 if (!mem_rngs || (mem_rngs->nr_ranges == mem_rngs->max_nr_ranges)) { in __add_mem_range()82 mem_rngs = realloc_mem_ranges(mem_ranges); in __add_mem_range()83 if (!mem_rngs) in __add_mem_range()87 mem_rngs->ranges[mem_rngs->nr_ranges].start = base; in __add_mem_range()88 mem_rngs->ranges[mem_rngs->nr_ranges].end = base + size - 1; in __add_mem_range()90 base, base + size - 1, mem_rngs->nr_ranges); in __add_mem_range()[all …]