Home
last modified time | relevance | path

Searched refs:mem_rngs (Results 1 – 1 of 1) sorted by relevance

/linux-6.1.9/arch/powerpc/kexec/
Dranges.c46 static inline size_t get_mem_rngs_size(struct crash_mem *mem_rngs) in get_mem_rngs_size() argument
50 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() local
77 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 …]