Home
last modified time | relevance | path

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

/linux-6.6.21/arch/powerpc/kernel/
Dfadump.c838 static void fadump_free_mem_ranges(struct fadump_mrange_info *mrange_info) in fadump_free_mem_ranges() argument
840 if (mrange_info->is_static) { in fadump_free_mem_ranges()
841 mrange_info->mem_range_cnt = 0; in fadump_free_mem_ranges()
845 kfree(mrange_info->mem_ranges); in fadump_free_mem_ranges()
846 memset((void *)((u64)mrange_info + RNG_NAME_SZ), 0, in fadump_free_mem_ranges()
854 static int fadump_alloc_mem_ranges(struct fadump_mrange_info *mrange_info) in fadump_alloc_mem_ranges() argument
859 new_size = mrange_info->mem_ranges_sz + PAGE_SIZE; in fadump_alloc_mem_ranges()
861 new_size, mrange_info->name); in fadump_alloc_mem_ranges()
863 new_array = krealloc(mrange_info->mem_ranges, new_size, GFP_KERNEL); in fadump_alloc_mem_ranges()
866 mrange_info->name); in fadump_alloc_mem_ranges()
[all …]