Searched refs:target_hstate (Results 1 – 1 of 1) sorted by relevance
3612 struct hstate *target_hstate; in demote_free_hugetlb_folio() local3617 target_hstate = size_to_hstate(PAGE_SIZE << h->demote_order); in demote_free_hugetlb_folio()3645 mutex_lock(&target_hstate->resize_lock); in demote_free_hugetlb_folio()3647 i += pages_per_huge_page(target_hstate)) { in demote_free_hugetlb_folio()3650 if (hstate_is_gigantic(target_hstate)) in demote_free_hugetlb_folio()3652 target_hstate->order); in demote_free_hugetlb_folio()3654 prep_compound_page(subpage, target_hstate->order); in demote_free_hugetlb_folio()3656 prep_new_hugetlb_folio(target_hstate, inner_folio, nid); in demote_free_hugetlb_folio()3659 mutex_unlock(&target_hstate->resize_lock); in demote_free_hugetlb_folio()3668 target_hstate->max_huge_pages += in demote_free_hugetlb_folio()[all …]