Lines Matching defs:h

114 struct hugepage_subpool *hugepage_new_subpool(struct hstate *h, long max_hpages,  in hugepage_new_subpool()
279 struct hstate *h, in record_hugetlb_cgroup_uncharge_info()
362 long to, struct hstate *h, struct hugetlb_cgroup *cg, in hugetlb_resv_map_add()
388 struct hstate *h, long *regions_needed) in add_reservation_in_range()
518 long in_regions_needed, struct hstate *h, in region_add()
754 struct hstate *h = hstate_inode(inode); in hugetlb_fix_reserve_counts() local
801 static pgoff_t vma_hugecache_offset(struct hstate *h, in vma_hugecache_offset()
880 struct hstate *h) in resv_map_set_hugetlb_cgroup_uncharge_info()
1070 static void enqueue_huge_page(struct hstate *h, struct page *page) in enqueue_huge_page()
1083 static struct page *dequeue_huge_page_node_exact(struct hstate *h, int nid) in dequeue_huge_page_node_exact()
1107 static struct page *dequeue_huge_page_nodemask(struct hstate *h, gfp_t gfp_mask, int nid, in dequeue_huge_page_nodemask()
1143 static struct page *dequeue_huge_page_vma(struct hstate *h, in dequeue_huge_page_vma()
1220 static int hstate_next_node_to_alloc(struct hstate *h, in hstate_next_node_to_alloc()
1239 static int hstate_next_node_to_free(struct hstate *h, nodemask_t *nodes_allowed) in hstate_next_node_to_free()
1299 static struct page *alloc_gigantic_page(struct hstate *h, gfp_t gfp_mask, in alloc_gigantic_page()
1336 static struct page *alloc_gigantic_page(struct hstate *h, gfp_t gfp_mask, in alloc_gigantic_page()
1344 static struct page *alloc_gigantic_page(struct hstate *h, gfp_t gfp_mask, in alloc_gigantic_page()
1360 static void remove_hugetlb_page(struct hstate *h, struct page *page, in remove_hugetlb_page()
1410 static void add_hugetlb_page(struct hstate *h, struct page *page, in add_hugetlb_page()
1452 static void __update_and_free_page(struct hstate *h, struct page *page) in __update_and_free_page()
1508 struct hstate *h; in free_hpage_workfn() local
1529 static inline void flush_free_hpage_work(struct hstate *h) in flush_free_hpage_work()
1535 static void update_and_free_page(struct hstate *h, struct page *page, in update_and_free_page()
1554 static void update_and_free_pages_bulk(struct hstate *h, struct list_head *list) in update_and_free_pages_bulk()
1566 struct hstate *h; in size_to_hstate() local
1581 struct hstate *h = page_hstate(page); in free_huge_page() local
1642 static void __prep_account_new_huge_page(struct hstate *h, int nid) in __prep_account_new_huge_page()
1649 static void __prep_new_huge_page(struct hstate *h, struct page *page) in __prep_new_huge_page()
1659 static void prep_new_huge_page(struct hstate *h, struct page *page, int nid) in prep_new_huge_page()
1794 static struct page *alloc_buddy_huge_page(struct hstate *h, in alloc_buddy_huge_page()
1845 static struct page *alloc_fresh_huge_page(struct hstate *h, in alloc_fresh_huge_page()
1884 static int alloc_pool_huge_page(struct hstate *h, nodemask_t *nodes_allowed, in alloc_pool_huge_page()
1913 static struct page *remove_pool_huge_page(struct hstate *h, in remove_pool_huge_page()
1969 struct hstate *h = page_hstate(head); in dissolve_free_huge_page() local
2060 static struct page *alloc_surplus_huge_page(struct hstate *h, gfp_t gfp_mask, in alloc_surplus_huge_page()
2127 static struct page *alloc_migrate_huge_page(struct hstate *h, gfp_t gfp_mask, in alloc_migrate_huge_page()
2152 struct page *alloc_buddy_huge_page_with_mpol(struct hstate *h, in alloc_buddy_huge_page_with_mpol()
2179 struct page *alloc_huge_page_nodemask(struct hstate *h, int preferred_nid, in alloc_huge_page_nodemask()
2198 struct page *alloc_huge_page_vma(struct hstate *h, struct vm_area_struct *vma, in alloc_huge_page_vma()
2219 static int gather_surplus_pages(struct hstate *h, long delta) in gather_surplus_pages()
2312 static void return_unused_surplus_pages(struct hstate *h, in return_unused_surplus_pages()
2392 static long __vma_reservation_common(struct hstate *h, in __vma_reservation_common()
2472 static long vma_needs_reservation(struct hstate *h, in vma_needs_reservation()
2478 static long vma_commit_reservation(struct hstate *h, in vma_commit_reservation()
2484 static void vma_end_reservation(struct hstate *h, in vma_end_reservation()
2490 static long vma_add_reservation(struct hstate *h, in vma_add_reservation()
2496 static long vma_del_reservation(struct hstate *h, in vma_del_reservation()
2522 void restore_reserve_on_error(struct hstate *h, struct vm_area_struct *vma, in restore_reserve_on_error()
2602 static int alloc_and_dissolve_huge_page(struct hstate *h, struct page *old_page, in alloc_and_dissolve_huge_page()
2707 struct hstate *h; in isolate_or_dissolve_huge_page() local
2746 struct hstate *h = hstate_vma(vma); in alloc_huge_page() local
2873 int __alloc_bootmem_huge_page(struct hstate *h) in __alloc_bootmem_huge_page()
2915 struct hstate *h = m->hstate; in gather_bootmem_prealloc() local
2938 static void __init hugetlb_hstate_alloc_pages(struct hstate *h) in hugetlb_hstate_alloc_pages()
2989 struct hstate *h; in hugetlb_init_hstates() local
3004 struct hstate *h; in report_hugepages() local
3016 static void try_to_free_low(struct hstate *h, unsigned long count, in try_to_free_low()
3048 static inline void try_to_free_low(struct hstate *h, unsigned long count, in try_to_free_low()
3059 static int adjust_pool_surplus(struct hstate *h, nodemask_t *nodes_allowed, in adjust_pool_surplus()
3087 #define persistent_huge_pages(h) (h->nr_huge_pages - h->surplus_huge_pages) argument
3088 static int set_max_huge_pages(struct hstate *h, unsigned long count, int nid, in set_max_huge_pages()
3267 struct hstate *h; in nr_hugepages_show_common() local
3281 struct hstate *h, int nid, in __nr_hugepages_store_common()
3317 struct hstate *h; in nr_hugepages_store_common() local
3368 struct hstate *h = kobj_to_hstate(kobj, NULL); in nr_overcommit_hugepages_show() local
3377 struct hstate *h = kobj_to_hstate(kobj, NULL); in nr_overcommit_hugepages_store() local
3397 struct hstate *h; in free_hugepages_show() local
3414 struct hstate *h = kobj_to_hstate(kobj, NULL); in resv_hugepages_show() local
3422 struct hstate *h; in surplus_hugepages_show() local
3452 static int hugetlb_sysfs_add_hstate(struct hstate *h, struct kobject *parent, in hugetlb_sysfs_add_hstate()
3474 struct hstate *h; in hugetlb_sysfs_init() local
3547 struct hstate *h; in hugetlb_unregister_node() local
3572 struct hstate *h; in hugetlb_register_node() local
3710 struct hstate *h; in hugetlb_add_hstate() local
3795 struct hstate *h; in hugepagesz_setup() local
3880 static unsigned int allowed_mems_nr(struct hstate *h) in allowed_mems_nr()
3919 struct hstate *h = &default_hstate; in hugetlb_sysctl_handler_common() local
3958 struct hstate *h = &default_hstate; in hugetlb_overcommit_handler() local
3988 struct hstate *h; in hugetlb_report_meminfo() local
4018 struct hstate *h = &default_hstate; in hugetlb_report_node_meminfo() local
4034 struct hstate *h; in hugetlb_show_meminfo() local
4059 struct hstate *h; in hugetlb_total_pages() local
4067 static int hugetlb_acct_memory(struct hstate *h, long delta) in hugetlb_acct_memory()
4137 struct hstate *h = hstate_vma(vma); in hugetlb_vm_op_close() local
4277 struct hstate *h = hstate_vma(vma); in copy_hugetlb_page_range() local
4439 struct hstate *h = hstate_vma(vma); in __unmap_hugepage_range() local
4570 struct hstate *h = hstate_vma(vma); in unmap_ref_private() local
4628 struct hstate *h = hstate_vma(vma); in hugetlb_cow() local
4770 static struct page *hugetlbfs_pagecache_page(struct hstate *h, in hugetlbfs_pagecache_page()
4786 static bool hugetlbfs_pagecache_present(struct hstate *h, in hugetlbfs_pagecache_present()
4806 struct hstate *h = hstate_inode(inode); in huge_add_to_page_cache() local
4868 struct hstate *h = hstate_vma(vma); in hugetlb_no_page() local
5069 struct hstate *h = hstate_vma(vma); in hugetlb_fault() local
5229 struct hstate *h = hstate_vma(dst_vma); in hugetlb_mcopy_atomic_pte() local
5426 struct hstate *h = hstate_vma(vma); in follow_hugetlb_page() local
5602 struct hstate *h = hstate_vma(vma); in hugetlb_change_protection() local
5696 struct hstate *h = hstate_inode(inode); in hugetlb_reserve_pages() local
5845 struct hstate *h = hstate_inode(inode); in hugetlb_unreserve_pages() local
6281 struct hstate *h = page_hstate(oldpage); in move_hugetlb_state() local
6324 struct hstate *h = hstate_vma(vma); in hugetlb_unshare_all_pmds() local