函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:hugetlb_sysfs_init

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

返回类型:void

参数:

2669  hugepages_kobj等于kobject_create_and_add() - Create a struct kobject dynamically and* register it with sysfs.*@name: the name for the kobject*@parent: the parent kobject of this kobject, if any.* This function creates a kobject structure dynamically and registers it
2670  如果非hugepages_kobj则返回
2674  err等于hugetlb_sysfs_add_hstate(h, hugepages_kobj, hstate_kobjs, & hstate_attr_group)
2676  如果err打印错误信息("Hugetlb: Unable to add hstate %s", name)
调用者
名称描述
hugetlb_init