Lines Matching refs:nodeinfo
131 kfree(h_cgroup->nodeinfo[node]); in hugetlb_cgroup_free()
142 h_cgroup = kzalloc(struct_size(h_cgroup, nodeinfo, nr_node_ids), in hugetlb_cgroup_css_alloc()
160 h_cgroup->nodeinfo[node] = in hugetlb_cgroup_css_alloc()
163 if (!h_cgroup->nodeinfo[node]) in hugetlb_cgroup_css_alloc()
321 h_cg->nodeinfo[folio_nid(folio)]->usage[idx]; in __hugetlb_cgroup_commit_charge()
327 WRITE_ONCE(h_cg->nodeinfo[folio_nid(folio)]->usage[idx], in __hugetlb_cgroup_commit_charge()
370 h_cg->nodeinfo[folio_nid(folio)]->usage[idx]; in __hugetlb_cgroup_uncharge_folio()
376 WRITE_ONCE(h_cg->nodeinfo[folio_nid(folio)]->usage[idx], in __hugetlb_cgroup_uncharge_folio()
481 usage += READ_ONCE(h_cg->nodeinfo[nid]->usage[idx]); in hugetlb_cgroup_read_numa_stat()
487 READ_ONCE(h_cg->nodeinfo[nid]->usage[idx]) * in hugetlb_cgroup_read_numa_stat()
508 ->nodeinfo[nid] in hugetlb_cgroup_read_numa_stat()