函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Unregister hstate attributes from a single node device.* No-op if no hstate attributes attached.

函数原型:static void hugetlb_unregister_node(struct node *node)

返回类型:void

参数:

类型参数名称
struct node *node
2740  nhs等于node_hstates[id]
2742  如果非hugepages_kobj则返回
2746  idx等于hstate_index(h)
2747  如果hstate_kobjs[idx]则
2748  递减引用计数对象
2749  hstate_kobjs[idx] = NULL
2753  递减引用计数对象
2754  hugepages_kobj = NULL
调用者
名称描述
hugetlb_register_nodeRegister hstate attributes for a single node device.* No-op if attributes already registered.