Home
last modified time | relevance | path

Searched refs:nr_huge_pages (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/mm/
Dhugetlb.c1345 h->nr_huge_pages--; in update_and_free_page()
1567 h->nr_huge_pages++; in prep_new_huge_page()
2617 if (count >= h->nr_huge_pages) in try_to_free_low()
2667 #define persistent_huge_pages(h) (h->nr_huge_pages - h->surplus_huge_pages)
2695 count += h->nr_huge_pages - h->nr_huge_pages_node[nid]; in set_max_huge_pages()
2775 min_count = h->resv_huge_pages + h->nr_huge_pages - h->free_huge_pages; in set_max_huge_pages()
2826 unsigned long nr_huge_pages; in nr_hugepages_show_common() local
2831 nr_huge_pages = h->nr_huge_pages; in nr_hugepages_show_common()
2833 nr_huge_pages = h->nr_huge_pages_node[nid]; in nr_hugepages_show_common()
2835 return sprintf(buf, "%lu\n", nr_huge_pages); in nr_hugepages_show_common()
[all …]
/kernel/linux/linux-5.10/include/linux/
Dhugetlb.h485 unsigned long nr_huge_pages; member