Searched refs:hugepage (Results 1 – 3 of 3) sorted by relevance
31 container_of(counter, struct hugetlb_cgroup, hugepage[idx])41 return &h_cg->hugepage[idx]; in __hugetlb_cgroup_counter_from_cgroup()182 page_counter_charge(&parent->hugepage[idx], nr_pages); in hugetlb_cgroup_move_parent()184 counter = &h_cg->hugepage[idx]; in hugetlb_cgroup_move_parent()431 counter = &h_cg->hugepage[MEMFILE_IDX(cft->private)]; in hugetlb_cgroup_read_u64()466 counter = &h_cg->hugepage[idx]; in hugetlb_cgroup_read_u64_max()555 counter = &h_cg->hugepage[MEMFILE_IDX(of_cft(of)->private)]; in hugetlb_cgroup_reset()
887 # Some architectures require a special hugepage directory format that is888 # required to support multiple hugepage sizes. For example a4fe3ce76889 # "powerpc/mm: Allow more flexible layouts for hugepage pagetables"890 # introduced it on powerpc. This allows for a more flexible hugepage
2185 unsigned long addr, int node, bool hugepage) in alloc_pages_vma() argument2203 if (unlikely(IS_ENABLED(CONFIG_TRANSPARENT_HUGEPAGE) && hugepage)) { in alloc_pages_vma()