Searched refs:mrange_info (Results 1 – 1 of 1) sorted by relevance
829 static void fadump_free_mem_ranges(struct fadump_mrange_info *mrange_info) in fadump_free_mem_ranges() argument831 if (mrange_info->is_static) { in fadump_free_mem_ranges()832 mrange_info->mem_range_cnt = 0; in fadump_free_mem_ranges()836 kfree(mrange_info->mem_ranges); in fadump_free_mem_ranges()837 memset((void *)((u64)mrange_info + RNG_NAME_SZ), 0, in fadump_free_mem_ranges()845 static int fadump_alloc_mem_ranges(struct fadump_mrange_info *mrange_info) in fadump_alloc_mem_ranges() argument850 new_size = mrange_info->mem_ranges_sz + PAGE_SIZE; in fadump_alloc_mem_ranges()852 new_size, mrange_info->name); in fadump_alloc_mem_ranges()854 new_array = krealloc(mrange_info->mem_ranges, new_size, GFP_KERNEL); in fadump_alloc_mem_ranges()857 mrange_info->name); in fadump_alloc_mem_ranges()[all …]