Searched refs:h_cgroup (Results 1 – 1 of 1) sorted by relevance
/linux-6.12.1/mm/ ! |
D | hugetlb_cgroup.c | 98 static void hugetlb_cgroup_init(struct hugetlb_cgroup *h_cgroup, in hugetlb_cgroup_init() argument 115 page_counter_init(hugetlb_cgroup_counter_from_cgroup(h_cgroup, in hugetlb_cgroup_init() 119 hugetlb_cgroup_counter_from_cgroup_rsvd(h_cgroup, idx), in hugetlb_cgroup_init() 126 hugetlb_cgroup_counter_from_cgroup(h_cgroup, idx), in hugetlb_cgroup_init() 130 hugetlb_cgroup_counter_from_cgroup_rsvd(h_cgroup, idx), in hugetlb_cgroup_init() 136 static void hugetlb_cgroup_free(struct hugetlb_cgroup *h_cgroup) in hugetlb_cgroup_free() argument 141 kfree(h_cgroup->nodeinfo[node]); in hugetlb_cgroup_free() 142 kfree(h_cgroup); in hugetlb_cgroup_free() 149 struct hugetlb_cgroup *h_cgroup; in hugetlb_cgroup_css_alloc() local 152 h_cgroup = kzalloc(struct_size(h_cgroup, nodeinfo, nr_node_ids), in hugetlb_cgroup_css_alloc() [all …]
|