Home
last modified time | relevance | path

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

/Linux-v5.4/mm/
Dhuge_memory.c2662 int extra_pins; in can_split_huge_page() local
2666 extra_pins = PageSwapCache(page) ? HPAGE_PMD_NR : 0; in can_split_huge_page()
2668 extra_pins = HPAGE_PMD_NR; in can_split_huge_page()
2670 *pextra_pins = extra_pins; in can_split_huge_page()
2671 return total_mapcount(page) == page_count(page) - extra_pins - 1; in can_split_huge_page()
2700 int count, mapcount, extra_pins, ret; in split_huge_page_to_list() local
2755 if (!can_split_huge_page(head, &extra_pins)) { in split_huge_page_to_list()
2787 if (!mapcount && page_ref_freeze(head, 1 + extra_pins)) { in split_huge_page_to_list()