Home
last modified time | relevance | path

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

/linux-6.15/include/linux/
H A Dhugetlb.h726 struct hstate *size_to_hstate(unsigned long size);
759 return size_to_hstate(1UL << page_size_log); in hstate_sizelog()
852 return size_to_hstate(folio_size(folio)); in folio_hstate()
1154 static inline struct hstate *size_to_hstate(unsigned long size)
/linux-6.15/mm/
H A Dpage_isolation.c92 h = size_to_hstate(folio_size(folio)); in has_unmovable_pages()
H A Dhugetlb.c1688 h = size_to_hstate(folio_size(folio)); in free_hpage_workfn()
1814 struct hstate *size_to_hstate(unsigned long size) in size_to_hstate() function
4105 dst = size_to_hstate(PAGE_SIZE << src->demote_order); in demote_pool_huge_page()
4436 demote_hstate = size_to_hstate(demote_size); in demote_size_store()
4714 default_hstate_idx = hstate_index(size_to_hstate(HPAGE_SIZE)); in hugetlb_init()
4771 if (size_to_hstate(PAGE_SIZE << order)) { in hugetlb_add_hstate()
4949 h = size_to_hstate(size); in hugepagesz_setup()
5005 default_hstate_idx = hstate_index(size_to_hstate(size)); in default_hugepagesz_setup()
/linux-6.15/fs/hugetlbfs/
H A Dinode.c1343 h = size_to_hstate(ps); in hugetlbfs_parse_param()