Searched refs:mrange_info (Results 1 – 1 of 1) sorted by relevance
825 static void fadump_free_mem_ranges(struct fadump_mrange_info *mrange_info) in fadump_free_mem_ranges() argument827 if (mrange_info->is_static) { in fadump_free_mem_ranges()828 mrange_info->mem_range_cnt = 0; in fadump_free_mem_ranges()832 kfree(mrange_info->mem_ranges); in fadump_free_mem_ranges()833 memset((void *)((u64)mrange_info + RNG_NAME_SZ), 0, in fadump_free_mem_ranges()841 static int fadump_alloc_mem_ranges(struct fadump_mrange_info *mrange_info) in fadump_alloc_mem_ranges() argument846 new_size = mrange_info->mem_ranges_sz + PAGE_SIZE; in fadump_alloc_mem_ranges()848 new_size, mrange_info->name); in fadump_alloc_mem_ranges()850 new_array = krealloc(mrange_info->mem_ranges, new_size, GFP_KERNEL); in fadump_alloc_mem_ranges()853 mrange_info->name); in fadump_alloc_mem_ranges()[all …]