函数逻辑报告 |
Source Code:mm\hugetlb.c |
Create Date:2022-07-27 16:58:42 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:nr_hugepages_show_common
函数原型:static ssize_t nr_hugepages_show_common(struct kobject *kobj, struct kobj_attribute *attr, char *buf)
返回类型:ssize_t
参数:
类型 | 参数 | 名称 |
---|---|---|
struct kobject * | kobj | |
struct kobj_attribute * | attr | |
char * | buf |
2466 | h等于kobj_to_hstate(kobj, & nid) |
2467 | 如果nid恒等于NUMA_NO_NODE则nr_huge_pages等于nr_huge_pages |
2469 | 否则nr_huge_pages等于nr_huge_pages_node[nid] |
2472 | 返回:输出格式化串 |
名称 | 描述 |
---|---|
nr_hugepages_show | |
nr_hugepages_mempolicy_show | hstate attribute for optionally mempolicy-based constraint on persistent* huge page alloc/free. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |