函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:hugetlb_cgroup_css_alloc

函数原型:static struct cgroup_subsys_state *hugetlb_cgroup_css_alloc(struct cgroup_subsys_state *parent_css)

返回类型:struct cgroup_subsys_state

参数:

类型参数名称
struct cgroup_subsys_state *parent_css
95  parent_h_cgroup等于hugetlb_cgroup_from_css(parent_css)
98  h_cgroup等于分配内存并置零
99  如果非h_cgroup则返回:错误号
102  如果非parent_h_cgrouproot_h_cgroup等于h_cgroup
105  hugetlb_cgroup_init(h_cgroup, parent_h_cgroup)
106  返回:css