Lines Matching refs:hstate

36 	struct hstate *hstate;  member
58 struct hugepage_subpool *hugepage_new_subpool(struct hstate *h, long max_hpages,
108 u32 hugetlb_fault_mutex_hash(struct hstate *h, struct address_space *mapping,
264 struct hstate *hstate; member
325 struct hstate { struct
350 struct hstate *hstate; argument
355 struct page *alloc_huge_page_node(struct hstate *h, int nid);
356 struct page *alloc_huge_page_nodemask(struct hstate *h, int preferred_nid,
358 struct page *alloc_huge_page_vma(struct hstate *h, struct vm_area_struct *vma,
360 struct page *alloc_migrate_huge_page(struct hstate *h, gfp_t gfp_mask,
366 int __init __alloc_bootmem_huge_page(struct hstate *h);
367 int __init alloc_bootmem_huge_page(struct hstate *h);
371 struct hstate *size_to_hstate(unsigned long size);
377 extern struct hstate hstates[HUGE_MAX_HSTATE];
382 static inline struct hstate *hstate_inode(struct inode *i) in hstate_inode()
384 return HUGETLBFS_SB(i->i_sb)->hstate; in hstate_inode()
387 static inline struct hstate *hstate_file(struct file *f) in hstate_file()
392 static inline struct hstate *hstate_sizelog(int page_size_log) in hstate_sizelog()
400 static inline struct hstate *hstate_vma(struct vm_area_struct *vma) in hstate_vma()
405 static inline unsigned long huge_page_size(struct hstate *h) in huge_page_size()
414 static inline unsigned long huge_page_mask(struct hstate *h) in huge_page_mask()
419 static inline unsigned int huge_page_order(struct hstate *h) in huge_page_order()
424 static inline unsigned huge_page_shift(struct hstate *h) in huge_page_shift()
429 static inline bool hstate_is_gigantic(struct hstate *h) in hstate_is_gigantic()
434 static inline unsigned int pages_per_huge_page(struct hstate *h) in pages_per_huge_page()
439 static inline unsigned int blocks_per_huge_page(struct hstate *h) in blocks_per_huge_page()
454 static inline struct hstate *page_hstate(struct page *page) in page_hstate()
465 static inline int hstate_index(struct hstate *h) in hstate_index()
487 static inline bool arch_hugetlb_migration_supported(struct hstate *h) in arch_hugetlb_migration_supported()
498 static inline bool arch_hugetlb_migration_supported(struct hstate *h) in arch_hugetlb_migration_supported()
504 static inline bool hugepage_migration_supported(struct hstate *h) in hugepage_migration_supported()
524 static inline bool hugepage_movable_supported(struct hstate *h) in hugepage_movable_supported()
534 static inline spinlock_t *huge_pte_lockptr(struct hstate *h, in huge_pte_lockptr()
592 struct hstate {}; struct
601 static inline struct page *alloc_huge_page_node(struct hstate *h, int nid) in alloc_huge_page_node()
607 alloc_huge_page_nodemask(struct hstate *h, int preferred_nid, nodemask_t *nmask) in alloc_huge_page_nodemask()
612 static inline struct page *alloc_huge_page_vma(struct hstate *h, in alloc_huge_page_vma()
619 static inline int __alloc_bootmem_huge_page(struct hstate *h) in __alloc_bootmem_huge_page()
624 static inline struct hstate *hstate_file(struct file *f) in hstate_file()
629 static inline struct hstate *hstate_sizelog(int page_size_log) in hstate_sizelog()
634 static inline struct hstate *hstate_vma(struct vm_area_struct *vma) in hstate_vma()
639 static inline struct hstate *hstate_inode(struct inode *i) in hstate_inode()
644 static inline struct hstate *page_hstate(struct page *page) in page_hstate()
649 static inline unsigned long huge_page_size(struct hstate *h) in huge_page_size()
654 static inline unsigned long huge_page_mask(struct hstate *h) in huge_page_mask()
669 static inline unsigned int huge_page_order(struct hstate *h) in huge_page_order()
674 static inline unsigned int huge_page_shift(struct hstate *h) in huge_page_shift()
679 static inline bool hstate_is_gigantic(struct hstate *h) in hstate_is_gigantic()
684 static inline unsigned int pages_per_huge_page(struct hstate *h) in pages_per_huge_page()
694 static inline int hstate_index(struct hstate *h) in hstate_index()
715 static inline bool hugepage_migration_supported(struct hstate *h) in hugepage_migration_supported()
720 static inline bool hugepage_movable_supported(struct hstate *h) in hugepage_movable_supported()
725 static inline spinlock_t *huge_pte_lockptr(struct hstate *h, in huge_pte_lockptr()
745 static inline spinlock_t *huge_pte_lock(struct hstate *h, in huge_pte_lock()