Lines Matching defs:h
101 #define for_each_hstate(h) \ argument
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()
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()
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()
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()