函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:free_hugepages_show

函数原型:static ssize_t free_hugepages_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf)

返回类型:ssize_t

参数:

类型参数名称
struct kobject *kobj
struct kobj_attribute *attr
char *buf
2595  h等于kobj_to_hstate(kobj, & nid)
2596  如果nid恒等于NUMA_NO_NODEfree_huge_pages等于free_huge_pages
2598  否则free_huge_pages等于free_huge_pages_node[nid]
2601  返回:输出格式化串