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.h728 struct hstate *size_to_hstate(unsigned long size);
766 return size_to_hstate(1UL << page_size_log); in hstate_sizelog()
864 return size_to_hstate(folio_size(folio)); in folio_hstate()
1166 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.c1592 h = size_to_hstate(folio_size(folio)); in free_hpage_workfn()
1718 struct hstate *size_to_hstate(unsigned long size) in size_to_hstate() function
4036 dst = size_to_hstate(PAGE_SIZE << src->demote_order); in demote_pool_huge_page()
4150 default_hstate_idx = hstate_index(size_to_hstate(HPAGE_SIZE)); in hugetlb_init()
4205 if (size_to_hstate(PAGE_SIZE << order)) { in hugetlb_add_hstate()
4394 h = size_to_hstate(size); in hugepagesz_setup()
4456 default_hstate_idx = hstate_index(size_to_hstate(size)); in default_hugepagesz_setup()
/linux/fs/hugetlbfs/
H A Dinode.c1342 h = size_to_hstate(ps); in hugetlbfs_parse_param()