函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\e820.c Create Date:2022-07-27 08:43:05
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Called late during init, in free_initmem().* Initial e820_table and e820_table_kexec are largish __initdata arrays.* Copy them to a (usually much smaller) dynamically allocated area that is* sized precisely after the number of e820 entries.

函数原型:__init void e820__reallocate_tables(void)

返回类型:void

参数:

688  size等于offsetof(structe820_table, entries)加sizeof(structe820_entry)乘nr_entries
689  n等于kmemdup(e820_table, size, GFP_KERNEL)
690  BUG_ON(!n)
691  e820_table = n
693  size等于offsetof(structe820_table, entries)加sizeof(structe820_entry)乘nr_entries
694  n等于kmemdup(e820_table_kexec, size, GFP_KERNEL)
695  BUG_ON(!n)
696  e820_table_kexec等于n
698  size等于offsetof(structe820_table, entries)加sizeof(structe820_entry)乘nr_entries
699  n等于kmemdup(e820_table_firmware, size, GFP_KERNEL)
700  BUG_ON(!n)
701  e820_table_firmware等于n