• Home
  • Raw
  • Download

Lines Matching refs:hstate

56 	struct hstate *hstate;  member
123 struct hugepage_subpool *hugepage_new_subpool(struct hstate *h, long max_hpages,
452 struct hstate *hstate; member
489 static inline struct hstate *hstate_inode(struct inode *i) in hstate_inode()
491 return HUGETLBFS_SB(i->i_sb)->hstate; in hstate_inode()
504 static inline struct hstate *hstate_inode(struct inode *i) in hstate_inode()
601 struct hstate { struct
631 struct hstate *hstate; argument
637 struct page *alloc_huge_page_nodemask(struct hstate *h, int preferred_nid,
639 struct page *alloc_huge_page_vma(struct hstate *h, struct vm_area_struct *vma,
643 void restore_reserve_on_error(struct hstate *h, struct vm_area_struct *vma,
647 int __init __alloc_bootmem_huge_page(struct hstate *h);
648 int __init alloc_bootmem_huge_page(struct hstate *h);
652 struct hstate *size_to_hstate(unsigned long size);
658 extern struct hstate hstates[HUGE_MAX_HSTATE];
677 static inline struct hstate *hstate_file(struct file *f) in hstate_file()
682 static inline struct hstate *hstate_sizelog(int page_size_log) in hstate_sizelog()
693 static inline struct hstate *hstate_vma(struct vm_area_struct *vma) in hstate_vma()
698 static inline unsigned long huge_page_size(struct hstate *h) in huge_page_size()
707 static inline unsigned long huge_page_mask(struct hstate *h) in huge_page_mask()
712 static inline unsigned int huge_page_order(struct hstate *h) in huge_page_order()
717 static inline unsigned huge_page_shift(struct hstate *h) in huge_page_shift()
722 static inline bool hstate_is_gigantic(struct hstate *h) in hstate_is_gigantic()
727 static inline unsigned int pages_per_huge_page(struct hstate *h) in pages_per_huge_page()
732 static inline unsigned int blocks_per_huge_page(struct hstate *h) in blocks_per_huge_page()
761 static inline struct hstate *page_hstate(struct page *page) in page_hstate()
772 static inline int hstate_index(struct hstate *h) in hstate_index()
783 static inline bool arch_hugetlb_migration_supported(struct hstate *h) in arch_hugetlb_migration_supported()
794 static inline bool arch_hugetlb_migration_supported(struct hstate *h) in arch_hugetlb_migration_supported()
800 static inline bool hugepage_migration_supported(struct hstate *h) in hugepage_migration_supported()
820 static inline bool hugepage_movable_supported(struct hstate *h) in hugepage_movable_supported()
831 static inline gfp_t htlb_alloc_mask(struct hstate *h) in htlb_alloc_mask()
839 static inline gfp_t htlb_modify_alloc_mask(struct hstate *h, gfp_t gfp_mask) in htlb_modify_alloc_mask()
851 static inline spinlock_t *huge_pte_lockptr(struct hstate *h, in huge_pte_lockptr()
914 struct hstate {};
935 alloc_huge_page_nodemask(struct hstate *h, int preferred_nid,
941 static inline struct page *alloc_huge_page_vma(struct hstate *h,
948 static inline int __alloc_bootmem_huge_page(struct hstate *h)
953 static inline struct hstate *hstate_file(struct file *f)
958 static inline struct hstate *hstate_sizelog(int page_size_log)
963 static inline struct hstate *hstate_vma(struct vm_area_struct *vma)
968 static inline struct hstate *page_hstate(struct page *page)
973 static inline unsigned long huge_page_size(struct hstate *h)
978 static inline unsigned long huge_page_mask(struct hstate *h)
993 static inline unsigned int huge_page_order(struct hstate *h)
998 static inline unsigned int huge_page_shift(struct hstate *h)
1003 static inline bool hstate_is_gigantic(struct hstate *h)
1008 static inline unsigned int pages_per_huge_page(struct hstate *h)
1018 static inline int hstate_index(struct hstate *h)
1034 static inline bool hugepage_migration_supported(struct hstate *h)
1039 static inline bool hugepage_movable_supported(struct hstate *h)
1044 static inline gfp_t htlb_alloc_mask(struct hstate *h)
1049 static inline gfp_t htlb_modify_alloc_mask(struct hstate *h, gfp_t gfp_mask)
1054 static inline spinlock_t *huge_pte_lockptr(struct hstate *h,
1084 static inline spinlock_t *huge_pte_lock(struct hstate *h, in huge_pte_lock()