Searched refs:mem_ranges (Results 1 – 5 of 5) sorted by relevance
75 struct crash_mem *mem_rngs = *mem_ranges; in __add_mem_range()78 mem_rngs = realloc_mem_ranges(mem_ranges); in __add_mem_range()175 struct crash_mem *mem_rngs = *mem_ranges; in realloc_mem_ranges()185 kfree(*mem_ranges); in realloc_mem_ranges()186 *mem_ranges = NULL; in realloc_mem_ranges()192 *mem_ranges = mem_rngs; in realloc_mem_ranges()210 struct crash_mem *mem_rngs = *mem_ranges; in add_mem_range()266 ret = add_mem_range(mem_ranges, base, size); in add_tce_mem_ranges()347 ret = add_mem_range(mem_ranges, base, size); in add_rtas_mem_range()372 ret = add_mem_range(mem_ranges, base, size); in add_opal_mem_range()[all …]
58 ret = add_tce_mem_ranges(mem_ranges); in get_exclude_memory_ranges()62 ret = add_initrd_mem_range(mem_ranges); in get_exclude_memory_ranges()66 ret = add_htab_mem_range(mem_ranges); in get_exclude_memory_ranges()74 ret = add_rtas_mem_range(mem_ranges); in get_exclude_memory_ranges()78 ret = add_opal_mem_range(mem_ranges); in get_exclude_memory_ranges()87 sort_memory_ranges(*mem_ranges, true); in get_exclude_memory_ranges()117 ret = add_rtas_mem_range(mem_ranges); in get_usable_memory_ranges()121 ret = add_opal_mem_range(mem_ranges); in get_usable_memory_ranges()125 ret = add_tce_mem_ranges(mem_ranges); in get_usable_memory_ranges()164 if ((*mem_ranges)->nr_ranges == (*mem_ranges)->max_nr_ranges) in get_crash_memory_ranges()[all …]
8 struct crash_mem *realloc_mem_ranges(struct crash_mem **mem_ranges);9 int add_mem_range(struct crash_mem **mem_ranges, u64 base, u64 size);10 int add_tce_mem_ranges(struct crash_mem **mem_ranges);11 int add_initrd_mem_range(struct crash_mem **mem_ranges);13 int add_htab_mem_range(struct crash_mem **mem_ranges);15 static inline int add_htab_mem_range(struct crash_mem **mem_ranges) in add_htab_mem_range() argument20 int add_kernel_mem_range(struct crash_mem **mem_ranges);21 int add_rtas_mem_range(struct crash_mem **mem_ranges);22 int add_opal_mem_range(struct crash_mem **mem_ranges);23 int add_reserved_mem_ranges(struct crash_mem **mem_ranges);
70 struct fadump_memory_range *mem_ranges; member
868 struct fadump_memory_range *mem_ranges = mrange_info->mem_ranges; in fadump_add_mem_range() local902 mem_ranges = mrange_info->mem_ranges; in fadump_add_mem_range()1276 mem_ranges = mrange_info->mem_ranges; in sort_and_merge_mem_ranges()1280 if (mem_ranges[idx].base > mem_ranges[j].base) in sort_and_merge_mem_ranges()1284 tmp_range = mem_ranges[idx]; in sort_and_merge_mem_ranges()1285 mem_ranges[idx] = mem_ranges[i]; in sort_and_merge_mem_ranges()1286 mem_ranges[i] = tmp_range; in sort_and_merge_mem_ranges()1293 base = mem_ranges[i-1].base; in sort_and_merge_mem_ranges()1294 size = mem_ranges[i-1].size; in sort_and_merge_mem_ranges()1296 mem_ranges[idx].size += mem_ranges[i].size; in sort_and_merge_mem_ranges()[all …]
Completed in 12 milliseconds