Home
last modified time | relevance | path

Searched refs:max_huge_pages (Results 1 – 4 of 4) sorted by relevance

/linux/mm/
H A Dhugetlb.c2058 h->max_huge_pages--; in dissolve_free_hugetlb_folio()
2078 h->max_huge_pages++; in dissolve_free_hugetlb_folio()
3461 h->max_huge_pages -= (h->max_huge_pages_node[nid] - i); in hugetlb_hstate_alloc_pages_onenode()
3482 if (allocated < h->max_huge_pages) { in hugetlb_hstate_alloc_pages_errcheck()
3487 h->max_huge_pages, buf, allocated); in hugetlb_hstate_alloc_pages_errcheck()
3488 h->max_huge_pages = allocated; in hugetlb_hstate_alloc_pages_errcheck()
3527 for (i = 0; i < h->max_huge_pages; ++i) { in hugetlb_gigantic_pages_alloc_boot()
3575 remaining = h->max_huge_pages - h->nr_huge_pages; in hugetlb_pages_alloc_boot()
3582 if (h->nr_huge_pages == h->max_huge_pages) in hugetlb_pages_alloc_boot()
3593 } while (remaining != (h->max_huge_pages - h->nr_huge_pages)); in hugetlb_pages_alloc_boot()
[all …]
H A Dhugetlb_sysctl.c35 unsigned long tmp = h->max_huge_pages; in hugetlb_sysctl_handler_common()
/linux/include/linux/
H A Dhugetlb.h674 unsigned long max_huge_pages; member
/linux/fs/hugetlbfs/
H A Dinode.c1291 size_opt *= h->max_huge_pages; in hugetlbfs_size_to_hpages()