Home
last modified time | relevance | path

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

/linux-6.1.9/include/linux/
Dhugetlb.h720 struct hstate *size_to_hstate(unsigned long size);
755 return size_to_hstate(1UL << page_size_log); in hstate_sizelog()
829 return size_to_hstate(page_size(page)); in page_hstate()
1043 static inline struct hstate *size_to_hstate(unsigned long size)
/linux-6.1.9/mm/
Dhugetlb.c1793 h = size_to_hstate(page_size(page)); in free_hpage_workfn()
1837 struct hstate *size_to_hstate(unsigned long size) in size_to_hstate() function
3581 target_hstate = size_to_hstate(PAGE_SIZE << h->demote_order); in demote_free_huge_page()
3941 demote_hstate = size_to_hstate(demote_size); in demote_size_store()
4221 default_hstate_idx = hstate_index(size_to_hstate(HPAGE_SIZE)); in hugetlb_init()
4277 if (size_to_hstate(PAGE_SIZE << order)) { in hugetlb_add_hstate()
4427 h = size_to_hstate(size); in hugepagesz_setup()
4483 default_hstate_idx = hstate_index(size_to_hstate(size)); in default_hugepagesz_setup()
/linux-6.1.9/fs/hugetlbfs/
Dinode.c1397 ctx->hstate = size_to_hstate(ps); in hugetlbfs_parse_param()