函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\nodemask.h Create Date:2022-07-27 06:39:25
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:node_set_online

函数原型:static inline void node_set_online(int nid)

返回类型:void

参数:

类型参数名称
intnid
452  node_set_state(nid, The node is online )
453  nr_online_nodes等于num_node_state(The node is online )
调用者
名称描述
__try_online_nodery_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
add_memory_resourceNOTE: 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