Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\hugetlb.c Create Date:2022-07-28 15:27:38
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Unregister hstate attributes from a single node device.* No-op if no hstate attributes attached.

Proto:static void hugetlb_unregister_node(struct node *node)

Type:void

Parameter:

TypeParameterName
struct node *node
2740  nhs = node_hstates[id]
2742  If Not hugepages_kobj Then Return
2746  idx = hstate_index(h)
2747  If hstate_kobjs[idx] Then
2748  kobject_put() - Decrement refcount for object.*@kobj: object.* Decrement the refcount, and if 0, call kobject_cleanup().
2749  hstate_kobjs[idx] = NULL
2753  kobject_put() - Decrement refcount for object.*@kobj: object.* Decrement the refcount, and if 0, call kobject_cleanup().
2754  hugepages_kobj = NULL
Caller
NameDescribe
hugetlb_register_nodeRegister hstate attributes for a single node device.* No-op if attributes already registered.