Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:kobj_to_hstate

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

Type:struct hstate

Parameter:

TypeParameterName
struct kobject *kobj
int *nidp
2449  When i < HUGE_MAX_HSTATE cycle If hstate_kobjs[i] == kobj Then
2451  If nidp Then nidp = NUMA_NO_NODE
2453  Return hstates[i]
2456  Return kobj_to_node_hstate(kobj, nidp)
Caller
NameDescribe
nr_hugepages_show_common
nr_hugepages_store_common
nr_overcommit_hugepages_show
nr_overcommit_hugepages_store
free_hugepages_show
resv_hugepages_show
surplus_hugepages_show