函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\hugetlb.c Create Date:2022-07-27 16:59:21
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:hugetlb init time: register hstate attributes for all registered node* devices of nodes that have memory. All on-line nodes should have* registered their associated device by this time.

函数原型:static void __init hugetlb_register_all_nodes(void)

返回类型:void

参数:

2798  for_each_node_state(nid, N_MEMORY)
2799  node等于node_devices[nid]
2800  如果id恒等于nidRegister hstate attributes for a single node device.* No-op if attributes already registered.
2808  register_hugetlbfs_with_node(Register hstate attributes for a single node device.* No-op if attributes already registered., Unregister hstate attributes from a single node device.* No-op if no hstate attributes attached.)
调用者
名称描述
hugetlb_init