Home
last modified time | relevance | path

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

/linux/include/linux/
H A Dhugetlb.h727 struct hstate *size_to_hstate(unsigned long size);
765 return size_to_hstate(1UL << page_size_log); in hstate_sizelog()
863 return size_to_hstate(folio_size(folio)); in folio_hstate()
1165 static inline struct hstate *size_to_hstate(unsigned long size)
/linux/mm/
H A Dpage_isolation.c57 h = size_to_hstate(folio_size(folio)); in page_is_unmovable()
H A Dhugetlb_sysfs.c259 demote_hstate = size_to_hstate(demote_size); in demote_size_store()
H A Dhugetlb.c1600 h = size_to_hstate(folio_size(folio)); in free_hpage_workfn()
1726 struct hstate *size_to_hstate(unsigned long size) in size_to_hstate() function
4044 dst = size_to_hstate(PAGE_SIZE << src->demote_order); in demote_pool_huge_page()
4158 default_hstate_idx = hstate_index(size_to_hstate(HPAGE_SIZE)); in hugetlb_init()
4213 if (size_to_hstate(PAGE_SIZE << order)) { in hugetlb_add_hstate()
4402 h = size_to_hstate(size); in hugepagesz_setup()
4464 default_hstate_idx = hstate_index(size_to_hstate(size)); in default_hugepagesz_setup()
/linux/fs/hugetlbfs/
H A Dinode.c1347 h = size_to_hstate(ps); in hugetlbfs_parse_param()