Lines Matching refs:hstate

37 	struct hstate *hstate;  member
104 struct hugepage_subpool *hugepage_new_subpool(struct hstate *h, long max_hpages,
411 struct hstate *hstate; member
448 static inline struct hstate *hstate_inode(struct inode *i) in hstate_inode()
450 return HUGETLBFS_SB(i->i_sb)->hstate; in hstate_inode()
463 static inline struct hstate *hstate_inode(struct inode *i) in hstate_inode()
479 struct hstate { struct
505 struct hstate *hstate; argument
510 struct page *alloc_huge_page_nodemask(struct hstate *h, int preferred_nid,
512 struct page *alloc_huge_page_vma(struct hstate *h, struct vm_area_struct *vma,
518 int __init __alloc_bootmem_huge_page(struct hstate *h);
519 int __init alloc_bootmem_huge_page(struct hstate *h);
523 struct hstate *size_to_hstate(unsigned long size);
529 extern struct hstate hstates[HUGE_MAX_HSTATE];
534 static inline struct hstate *hstate_file(struct file *f) in hstate_file()
539 static inline struct hstate *hstate_sizelog(int page_size_log) in hstate_sizelog()
547 static inline struct hstate *hstate_vma(struct vm_area_struct *vma) in hstate_vma()
552 static inline unsigned long huge_page_size(struct hstate *h) in huge_page_size()
561 static inline unsigned long huge_page_mask(struct hstate *h) in huge_page_mask()
566 static inline unsigned int huge_page_order(struct hstate *h) in huge_page_order()
571 static inline unsigned huge_page_shift(struct hstate *h) in huge_page_shift()
576 static inline bool hstate_is_gigantic(struct hstate *h) in hstate_is_gigantic()
581 static inline unsigned int pages_per_huge_page(struct hstate *h) in pages_per_huge_page()
586 static inline unsigned int blocks_per_huge_page(struct hstate *h) in blocks_per_huge_page()
615 static inline struct hstate *page_hstate(struct page *page) in page_hstate()
626 static inline int hstate_index(struct hstate *h) in hstate_index()
648 static inline bool arch_hugetlb_migration_supported(struct hstate *h) in arch_hugetlb_migration_supported()
659 static inline bool arch_hugetlb_migration_supported(struct hstate *h) in arch_hugetlb_migration_supported()
665 static inline bool hugepage_migration_supported(struct hstate *h) in hugepage_migration_supported()
685 static inline bool hugepage_movable_supported(struct hstate *h) in hugepage_movable_supported()
696 static inline gfp_t htlb_alloc_mask(struct hstate *h) in htlb_alloc_mask()
704 static inline gfp_t htlb_modify_alloc_mask(struct hstate *h, gfp_t gfp_mask) in htlb_modify_alloc_mask()
716 static inline spinlock_t *huge_pte_lockptr(struct hstate *h, in huge_pte_lockptr()
774 struct hstate {}; struct
784 alloc_huge_page_nodemask(struct hstate *h, int preferred_nid, in alloc_huge_page_nodemask()
790 static inline struct page *alloc_huge_page_vma(struct hstate *h, in alloc_huge_page_vma()
797 static inline int __alloc_bootmem_huge_page(struct hstate *h) in __alloc_bootmem_huge_page()
802 static inline struct hstate *hstate_file(struct file *f) in hstate_file()
807 static inline struct hstate *hstate_sizelog(int page_size_log) in hstate_sizelog()
812 static inline struct hstate *hstate_vma(struct vm_area_struct *vma) in hstate_vma()
817 static inline struct hstate *page_hstate(struct page *page) in page_hstate()
822 static inline unsigned long huge_page_size(struct hstate *h) in huge_page_size()
827 static inline unsigned long huge_page_mask(struct hstate *h) in huge_page_mask()
842 static inline unsigned int huge_page_order(struct hstate *h) in huge_page_order()
847 static inline unsigned int huge_page_shift(struct hstate *h) in huge_page_shift()
852 static inline bool hstate_is_gigantic(struct hstate *h) in hstate_is_gigantic()
857 static inline unsigned int pages_per_huge_page(struct hstate *h) in pages_per_huge_page()
867 static inline int hstate_index(struct hstate *h) in hstate_index()
888 static inline bool hugepage_migration_supported(struct hstate *h) in hugepage_migration_supported()
893 static inline bool hugepage_movable_supported(struct hstate *h) in hugepage_movable_supported()
898 static inline gfp_t htlb_alloc_mask(struct hstate *h) in htlb_alloc_mask()
903 static inline gfp_t htlb_modify_alloc_mask(struct hstate *h, gfp_t gfp_mask) in htlb_modify_alloc_mask()
908 static inline spinlock_t *huge_pte_lockptr(struct hstate *h, in huge_pte_lockptr()
928 static inline spinlock_t *huge_pte_lock(struct hstate *h, in huge_pte_lock()