Searched refs:size_to_hstate (Results 1 – 3 of 3) sorted by relevance
766 struct hstate *size_to_hstate(unsigned long size);799 return size_to_hstate(1UL << page_size_log); in hstate_sizelog()875 return size_to_hstate(folio_size(folio)); in folio_hstate()1096 static inline struct hstate *size_to_hstate(unsigned long size)
1836 h = size_to_hstate(page_size(page)); in free_hpage_workfn()1882 struct hstate *size_to_hstate(unsigned long size) in size_to_hstate() function3629 target_hstate = size_to_hstate(PAGE_SIZE << h->demote_order); in demote_free_hugetlb_folio()3989 demote_hstate = size_to_hstate(demote_size); in demote_size_store()4275 default_hstate_idx = hstate_index(size_to_hstate(HPAGE_SIZE)); in hugetlb_init()4332 if (size_to_hstate(PAGE_SIZE << order)) { in hugetlb_add_hstate()4482 h = size_to_hstate(size); in hugepagesz_setup()4538 default_hstate_idx = hstate_index(size_to_hstate(size)); in default_hugepagesz_setup()
1449 h = size_to_hstate(ps); in hugetlbfs_parse_param()