函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:hugetlb_cgroup_have_usage

函数原型:static inline bool hugetlb_cgroup_have_usage(struct hugetlb_cgroup *h_cg)

返回类型:bool

参数:

类型参数名称
struct hugetlb_cgroup *h_cg
63 idx小于hugetlb_max_hstate循环
64  如果page_counter_read( & * the counter to account for hugepages from hugetlb.[idx])则返回:true
67  返回:false
调用者
名称描述
hugetlb_cgroup_css_offlineForce the hugetlb cgroup to empty the hugetlb resources by moving them to* the parent cgroup.