Lines Matching defs:h
102 #define for_each_hstate(h) \ argument
563 static inline unsigned long huge_page_size(struct hstate *h) in huge_page_size()
572 static inline unsigned long huge_page_mask(struct hstate *h) in huge_page_mask()
577 static inline unsigned int huge_page_order(struct hstate *h) in huge_page_order()
582 static inline unsigned huge_page_shift(struct hstate *h) in huge_page_shift()
587 static inline bool hstate_is_gigantic(struct hstate *h) in hstate_is_gigantic()
592 static inline unsigned int pages_per_huge_page(struct hstate *h) in pages_per_huge_page()
597 static inline unsigned int blocks_per_huge_page(struct hstate *h) in blocks_per_huge_page()
637 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()
791 alloc_huge_page_nodemask(struct hstate *h, int preferred_nid, in alloc_huge_page_nodemask()
797 static inline struct page *alloc_huge_page_vma(struct hstate *h, in alloc_huge_page_vma()
804 static inline int __alloc_bootmem_huge_page(struct hstate *h) in __alloc_bootmem_huge_page()
829 static inline unsigned long huge_page_size(struct hstate *h) in huge_page_size()
834 static inline unsigned long huge_page_mask(struct hstate *h) in huge_page_mask()
849 static inline unsigned int huge_page_order(struct hstate *h) in huge_page_order()
854 static inline unsigned int huge_page_shift(struct hstate *h) in huge_page_shift()
859 static inline bool hstate_is_gigantic(struct hstate *h) in hstate_is_gigantic()
864 static inline unsigned int pages_per_huge_page(struct hstate *h) in pages_per_huge_page()
874 static inline int hstate_index(struct hstate *h) in hstate_index()
890 static inline bool hugepage_migration_supported(struct hstate *h) in hugepage_migration_supported()
895 static inline bool hugepage_movable_supported(struct hstate *h) in hugepage_movable_supported()
900 static inline gfp_t htlb_alloc_mask(struct hstate *h) in htlb_alloc_mask()
905 static inline gfp_t htlb_modify_alloc_mask(struct hstate *h, gfp_t gfp_mask) in htlb_modify_alloc_mask()
910 static inline spinlock_t *huge_pte_lockptr(struct hstate *h, in huge_pte_lockptr()
934 static inline spinlock_t *huge_pte_lock(struct hstate *h, in huge_pte_lock()