函数逻辑报告 |
Source Code:mm\hugetlb.c |
Create Date:2022-07-27 16:59:07 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:hugetlb_sysfs_add_hstate
函数原型:static int hugetlb_sysfs_add_hstate(struct hstate *h, struct kobject *parent, struct kobject **hstate_kobjs, const struct attribute_group *hstate_attr_group)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct hstate * | h | |
| struct kobject * | parent | |
| struct kobject ** | hstate_kobjs | |
| const struct attribute_group * | hstate_attr_group |
| 2651 | hi等于hstate_index(h) |
| 2654 | 如果非hstate_kobjs[hi]则返回:负ENOMEM |
| 2661 | 返回:retval |
| 名称 | 描述 |
|---|---|
| hugetlb_sysfs_init | |
| hugetlb_register_node | Register hstate attributes for a single node device.* No-op if attributes already registered. |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |