Lines Matching defs:h
93 struct hugepage_subpool *hugepage_new_subpool(struct hstate *h, long max_hpages, in hugepage_new_subpool()
581 struct hstate *h = hstate_inode(inode); in hugetlb_fix_reserve_counts() local
622 static pgoff_t vma_hugecache_offset(struct hstate *h, in vma_hugecache_offset()
865 static void enqueue_huge_page(struct hstate *h, struct page *page) in enqueue_huge_page()
873 static struct page *dequeue_huge_page_node_exact(struct hstate *h, int nid) in dequeue_huge_page_node_exact()
893 static struct page *dequeue_huge_page_nodemask(struct hstate *h, gfp_t gfp_mask, int nid, in dequeue_huge_page_nodemask()
930 static inline gfp_t htlb_alloc_mask(struct hstate *h) in htlb_alloc_mask()
938 static struct page *dequeue_huge_page_vma(struct hstate *h, in dequeue_huge_page_vma()
1005 static int hstate_next_node_to_alloc(struct hstate *h, in hstate_next_node_to_alloc()
1024 static int hstate_next_node_to_free(struct hstate *h, nodemask_t *nodes_allowed) in hstate_next_node_to_free()
1114 static struct page *alloc_gigantic_page(struct hstate *h, gfp_t gfp_mask, in alloc_gigantic_page()
1156 static struct page *alloc_gigantic_page(struct hstate *h, gfp_t gfp_mask, in alloc_gigantic_page()
1164 static struct page *alloc_gigantic_page(struct hstate *h, gfp_t gfp_mask, in alloc_gigantic_page()
1174 static void update_and_free_page(struct hstate *h, struct page *page) in update_and_free_page()
1202 struct hstate *h; in size_to_hstate() local
1264 struct hstate *h = page_hstate(page); in free_huge_page() local
1321 static void prep_new_huge_page(struct hstate *h, struct page *page, int nid) in prep_new_huge_page()
1406 static struct page *alloc_buddy_huge_page(struct hstate *h, in alloc_buddy_huge_page()
1457 static struct page *alloc_fresh_huge_page(struct hstate *h, in alloc_fresh_huge_page()
1482 static int alloc_pool_huge_page(struct hstate *h, nodemask_t *nodes_allowed, in alloc_pool_huge_page()
1510 static int free_pool_huge_page(struct hstate *h, nodemask_t *nodes_allowed, in free_pool_huge_page()
1568 struct hstate *h = page_hstate(head); in dissolve_free_huge_page() local
1622 static struct page *alloc_surplus_huge_page(struct hstate *h, gfp_t gfp_mask, in alloc_surplus_huge_page()
1663 struct page *alloc_migrate_huge_page(struct hstate *h, gfp_t gfp_mask, in alloc_migrate_huge_page()
1688 struct page *alloc_buddy_huge_page_with_mpol(struct hstate *h, in alloc_buddy_huge_page_with_mpol()
1705 struct page *alloc_huge_page_node(struct hstate *h, int nid) in alloc_huge_page_node()
1725 struct page *alloc_huge_page_nodemask(struct hstate *h, int preferred_nid, in alloc_huge_page_nodemask()
1746 struct page *alloc_huge_page_vma(struct hstate *h, struct vm_area_struct *vma, in alloc_huge_page_vma()
1767 static int gather_surplus_pages(struct hstate *h, int delta) in gather_surplus_pages()
1865 static void return_unused_surplus_pages(struct hstate *h, in return_unused_surplus_pages()
1936 static long __vma_reservation_common(struct hstate *h, in __vma_reservation_common()
1997 static long vma_needs_reservation(struct hstate *h, in vma_needs_reservation()
2003 static long vma_commit_reservation(struct hstate *h, in vma_commit_reservation()
2009 static void vma_end_reservation(struct hstate *h, in vma_end_reservation()
2015 static long vma_add_reservation(struct hstate *h, in vma_add_reservation()
2032 static void restore_reserve_on_error(struct hstate *h, in restore_reserve_on_error()
2069 struct hstate *h = hstate_vma(vma); in alloc_huge_page() local
2170 int __alloc_bootmem_huge_page(struct hstate *h) in __alloc_bootmem_huge_page()
2218 struct hstate *h = m->hstate; in gather_bootmem_prealloc() local
2238 static void __init hugetlb_hstate_alloc_pages(struct hstate *h) in hugetlb_hstate_alloc_pages()
2285 struct hstate *h; in hugetlb_init_hstates() local
2300 struct hstate *h; in report_hugepages() local
2312 static void try_to_free_low(struct hstate *h, unsigned long count, in try_to_free_low()
2336 static inline void try_to_free_low(struct hstate *h, unsigned long count, in try_to_free_low()
2347 static int adjust_pool_surplus(struct hstate *h, nodemask_t *nodes_allowed, in adjust_pool_surplus()
2374 #define persistent_huge_pages(h) (h->nr_huge_pages - h->surplus_huge_pages) argument
2375 static int set_max_huge_pages(struct hstate *h, unsigned long count, int nid, in set_max_huge_pages()
2532 struct hstate *h; in nr_hugepages_show_common() local
2546 struct hstate *h, int nid, in __nr_hugepages_store_common()
2582 struct hstate *h; in nr_hugepages_store_common() local
2632 struct hstate *h = kobj_to_hstate(kobj, NULL); in nr_overcommit_hugepages_show() local
2641 struct hstate *h = kobj_to_hstate(kobj, NULL); in nr_overcommit_hugepages_store() local
2661 struct hstate *h; in free_hugepages_show() local
2678 struct hstate *h = kobj_to_hstate(kobj, NULL); in resv_hugepages_show() local
2686 struct hstate *h; in surplus_hugepages_show() local
2716 static int hugetlb_sysfs_add_hstate(struct hstate *h, struct kobject *parent, in hugetlb_sysfs_add_hstate()
2736 struct hstate *h; in hugetlb_sysfs_init() local
2809 struct hstate *h; in hugetlb_unregister_node() local
2834 struct hstate *h; in hugetlb_register_node() local
2950 struct hstate *h; in hugetlb_add_hstate() local
3040 struct hstate *h = &default_hstate; in hugetlb_sysctl_handler_common() local
3081 struct hstate *h = &default_hstate; in hugetlb_overcommit_handler() local
3112 struct hstate *h; in hugetlb_report_meminfo() local
3142 struct hstate *h = &default_hstate; in hugetlb_report_node_meminfo() local
3156 struct hstate *h; in hugetlb_show_meminfo() local
3181 struct hstate *h; in hugetlb_total_pages() local
3189 static int hugetlb_acct_memory(struct hstate *h, long delta) in hugetlb_acct_memory()
3248 struct hstate *h = hstate_vma(vma); in hugetlb_vm_op_close() local
3377 struct hstate *h = hstate_vma(vma); in copy_hugetlb_page_range() local
3480 struct hstate *h = hstate_vma(vma); in __unmap_hugepage_range() local
3625 struct hstate *h = hstate_vma(vma); in unmap_ref_private() local
3683 struct hstate *h = hstate_vma(vma); in hugetlb_cow() local
3803 static struct page *hugetlbfs_pagecache_page(struct hstate *h, in hugetlbfs_pagecache_page()
3819 static bool hugetlbfs_pagecache_present(struct hstate *h, in hugetlbfs_pagecache_present()
3839 struct hstate *h = hstate_inode(inode); in huge_add_to_page_cache() local
3863 struct hstate *h = hstate_vma(vma); in hugetlb_no_page() local
4045 u32 hugetlb_fault_mutex_hash(struct hstate *h, struct address_space *mapping, in hugetlb_fault_mutex_hash()
4063 u32 hugetlb_fault_mutex_hash(struct hstate *h, struct address_space *mapping, in hugetlb_fault_mutex_hash()
4080 struct hstate *h = hstate_vma(vma); in hugetlb_fault() local
4222 struct hstate *h = hstate_vma(dst_vma); in hugetlb_mcopy_atomic_pte() local
4346 struct hstate *h = hstate_vma(vma); in follow_hugetlb_page() local
4511 struct hstate *h = hstate_vma(vma); in hugetlb_change_protection() local
4602 struct hstate *h = hstate_inode(inode); in hugetlb_reserve_pages() local
4718 struct hstate *h = hstate_inode(inode); in hugetlb_unreserve_pages() local
5103 struct hstate *h = page_hstate(oldpage); in move_hugetlb_state() local