Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:kobj_to_node_hstate

Proto:static struct hstate *kobj_to_node_hstate(struct kobject *kobj, int *nidp)

Type:struct hstate

Parameter:

TypeParameterName
struct kobject *kobj
int *nidp
2718  When nid < nr_node_ids cycle
2719  nhs = node_hstates[nid]
2721  When i < HUGE_MAX_HSTATE cycle If hstate_kobjs[i] == kobj Then
2723  If nidp Then nidp = nid
2725  Return hstates[i]
2729  BUG()
2730  Return NULL
Caller
NameDescribe
kobj_to_hstate