函数逻辑报告 |
Source Code:mm\memory_hotplug.c |
Create Date:2022-07-27 17:30:54 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:ry_online_node - online a node if offlined*@nid: the node ID*@start: start addr of the node*@set_node_online: Whether we want to online the node* called by cpu_up() to online a node without onlined memory
函数原型:static int __try_online_node(int nid, u64 start, bool set_node_online)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
int | nid | |
u64 | start | |
bool | set_node_online |
976 | ret等于1 |
982 | 如果非pgdat则 |
988 | 如果set_node_online则 |
993 | out : |
994 | 返回:ret |
名称 | 描述 |
---|---|
try_online_node | Users of this function always want to online/register the node |
add_memory_resource | NOTE: The caller must call lock_device_hotplug() to serialize hotplug* and online/offline operations (triggered e.g. by sysfs).* we are OK calling __meminit stuff here - we have CONFIG_MEMORY_HOTPLUG |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |