Lines Matching refs:hstate
28 struct hstate *hstate; member
50 struct hugepage_subpool *hugepage_new_subpool(struct hstate *h, long max_hpages,
94 u32 hugetlb_fault_mutex_hash(struct hstate *h, struct mm_struct *mm,
253 struct hstate *hstate; member
302 struct hstate { struct
327 struct hstate *hstate; argument
335 struct page *alloc_huge_page_node(struct hstate *h, int nid);
342 int __init alloc_bootmem_huge_page(struct hstate *h);
345 struct hstate *size_to_hstate(unsigned long size);
351 extern struct hstate hstates[HUGE_MAX_HSTATE];
356 static inline struct hstate *hstate_inode(struct inode *i) in hstate_inode()
360 return hsb->hstate; in hstate_inode()
363 static inline struct hstate *hstate_file(struct file *f) in hstate_file()
368 static inline struct hstate *hstate_sizelog(int page_size_log) in hstate_sizelog()
376 static inline struct hstate *hstate_vma(struct vm_area_struct *vma) in hstate_vma()
381 static inline unsigned long huge_page_size(struct hstate *h) in huge_page_size()
390 static inline unsigned long huge_page_mask(struct hstate *h) in huge_page_mask()
395 static inline unsigned int huge_page_order(struct hstate *h) in huge_page_order()
400 static inline unsigned huge_page_shift(struct hstate *h) in huge_page_shift()
405 static inline bool hstate_is_gigantic(struct hstate *h) in hstate_is_gigantic()
410 static inline unsigned int pages_per_huge_page(struct hstate *h) in pages_per_huge_page()
415 static inline unsigned int blocks_per_huge_page(struct hstate *h) in blocks_per_huge_page()
430 static inline struct hstate *page_hstate(struct page *page) in page_hstate()
441 static inline int hstate_index(struct hstate *h) in hstate_index()
459 static inline int hugepage_migration_supported(struct hstate *h) in hugepage_migration_supported()
468 static inline spinlock_t *huge_pte_lockptr(struct hstate *h, in huge_pte_lockptr()
498 struct hstate {}; struct
514 static inline unsigned int pages_per_huge_page(struct hstate *h) in pages_per_huge_page()
528 static inline spinlock_t *huge_pte_lockptr(struct hstate *h, in huge_pte_lockptr()
543 static inline spinlock_t *huge_pte_lock(struct hstate *h, in huge_pte_lock()