Lines Matching refs:hstate
28 struct hstate *hstate; member
47 struct hugepage_subpool *hugepage_new_subpool(struct hstate *h, long max_hpages,
243 struct hstate *hstate; member
292 struct hstate { struct
317 struct hstate *hstate; argument
323 struct page *alloc_huge_page_node(struct hstate *h, int nid);
328 int __init alloc_bootmem_huge_page(struct hstate *h);
331 struct hstate *size_to_hstate(unsigned long size);
337 extern struct hstate hstates[HUGE_MAX_HSTATE];
342 static inline struct hstate *hstate_inode(struct inode *i) in hstate_inode()
346 return hsb->hstate; in hstate_inode()
349 static inline struct hstate *hstate_file(struct file *f) in hstate_file()
354 static inline struct hstate *hstate_sizelog(int page_size_log) in hstate_sizelog()
362 static inline struct hstate *hstate_vma(struct vm_area_struct *vma) in hstate_vma()
367 static inline unsigned long huge_page_size(struct hstate *h) in huge_page_size()
376 static inline unsigned long huge_page_mask(struct hstate *h) in huge_page_mask()
381 static inline unsigned int huge_page_order(struct hstate *h) in huge_page_order()
386 static inline unsigned huge_page_shift(struct hstate *h) in huge_page_shift()
391 static inline bool hstate_is_gigantic(struct hstate *h) in hstate_is_gigantic()
396 static inline unsigned int pages_per_huge_page(struct hstate *h) in pages_per_huge_page()
401 static inline unsigned int blocks_per_huge_page(struct hstate *h) in blocks_per_huge_page()
416 static inline struct hstate *page_hstate(struct page *page) in page_hstate()
427 static inline int hstate_index(struct hstate *h) in hstate_index()
445 static inline int hugepage_migration_supported(struct hstate *h) in hugepage_migration_supported()
454 static inline spinlock_t *huge_pte_lockptr(struct hstate *h, in huge_pte_lockptr()
473 struct hstate {}; struct
488 static inline unsigned int pages_per_huge_page(struct hstate *h) in pages_per_huge_page()
502 static inline spinlock_t *huge_pte_lockptr(struct hstate *h, in huge_pte_lockptr()
509 static inline spinlock_t *huge_pte_lock(struct hstate *h, in huge_pte_lock()