Searched refs:h_cgroup (Results 1 – 1 of 1) sorted by relevance
70 static void hugetlb_cgroup_init(struct hugetlb_cgroup *h_cgroup, in hugetlb_cgroup_init() argument76 struct page_counter *counter = &h_cgroup->hugepage[idx]; in hugetlb_cgroup_init()96 struct hugetlb_cgroup *h_cgroup; in hugetlb_cgroup_css_alloc() local98 h_cgroup = kzalloc(sizeof(*h_cgroup), GFP_KERNEL); in hugetlb_cgroup_css_alloc()99 if (!h_cgroup) in hugetlb_cgroup_css_alloc()103 root_h_cgroup = h_cgroup; in hugetlb_cgroup_css_alloc()105 hugetlb_cgroup_init(h_cgroup, parent_h_cgroup); in hugetlb_cgroup_css_alloc()106 return &h_cgroup->css; in hugetlb_cgroup_css_alloc()111 struct hugetlb_cgroup *h_cgroup; in hugetlb_cgroup_css_free() local113 h_cgroup = hugetlb_cgroup_from_css(css); in hugetlb_cgroup_css_free()[all …]