函数逻辑报告 |
Source Code:mm\sparse.c |
Create Date:2022-07-27 17:08:12 |
Last Modify:2020-03-17 22:36:03 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:sparse_add_section - add a memory section, or populate an existing one*@nid: The node to add section on*@start_pfn: start pfn of the memory range*@nr_pages: number of pfns to add in the section*@altmap: device page map* This is only intended for hotplug
函数原型:int __meminit sparse_add_section(int nid, unsigned long start_pfn, unsigned long nr_pages, struct vmem_altmap *altmap)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
int | nid | |
unsigned long | start_pfn | |
unsigned long | nr_pages | |
struct vmem_altmap * | altmap |
877 | ret等于sparse_index_init(section_nr, nid) |
889 | page_init_poison(memmap, sizeof(structpage) * nr_pages) |
891 | ms等于__nr_to_section(section_nr) |
892 | set_section_nid(section_nr, nid) |
893 | section_mark_present(ms) |
898 | sparse_init_one_section(ms, section_nr, memmap, usage, 0) |
900 | 返回:0 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |