Lines Matching defs:h

48 #define for_each_hstate(h) \  argument
219 static pgoff_t vma_hugecache_offset(struct hstate *h, in vma_hugecache_offset()
361 static void decrement_hugepage_resv_vma(struct hstate *h, in decrement_hugepage_resv_vma()
400 struct hstate *h = page_hstate(src); in copy_gigantic_page() local
417 struct hstate *h = page_hstate(src); in copy_huge_page() local
431 static void enqueue_huge_page(struct hstate *h, struct page *page) in enqueue_huge_page()
439 static struct page *dequeue_huge_page_node(struct hstate *h, int nid) in dequeue_huge_page_node()
453 static struct page *dequeue_huge_page_vma(struct hstate *h, in dequeue_huge_page_vma()
497 static void update_and_free_page(struct hstate *h, struct page *page) in update_and_free_page()
519 struct hstate *h; in size_to_hstate() local
534 struct hstate *h = page_hstate(page); in free_huge_page() local
558 static void prep_new_huge_page(struct hstate *h, struct page *page, int nid) in prep_new_huge_page()
598 static struct page *alloc_fresh_huge_page_node(struct hstate *h, int nid) in alloc_fresh_huge_page_node()
650 static int hstate_next_node_to_alloc(struct hstate *h, in hstate_next_node_to_alloc()
663 static int alloc_fresh_huge_page(struct hstate *h, nodemask_t *nodes_allowed) in alloc_fresh_huge_page()
696 static int hstate_next_node_to_free(struct hstate *h, nodemask_t *nodes_allowed) in hstate_next_node_to_free()
714 static int free_pool_huge_page(struct hstate *h, nodemask_t *nodes_allowed, in free_pool_huge_page()
751 static struct page *alloc_buddy_huge_page(struct hstate *h, int nid) in alloc_buddy_huge_page()
831 struct page *alloc_huge_page_node(struct hstate *h, int nid) in alloc_huge_page_node()
849 static int gather_surplus_pages(struct hstate *h, int delta) in gather_surplus_pages()
938 static void return_unused_surplus_pages(struct hstate *h, in return_unused_surplus_pages()
975 static long vma_needs_reservation(struct hstate *h, in vma_needs_reservation()
1000 static void vma_commit_reservation(struct hstate *h, in vma_commit_reservation()
1022 struct hstate *h = hstate_vma(vma); in alloc_huge_page() local
1061 int __weak alloc_bootmem_huge_page(struct hstate *h) in alloc_bootmem_huge_page()
1109 struct hstate *h = m->hstate; in gather_bootmem_prealloc() local
1134 static void __init hugetlb_hstate_alloc_pages(struct hstate *h) in hugetlb_hstate_alloc_pages()
1151 struct hstate *h; in hugetlb_init_hstates() local
1173 struct hstate *h; in report_hugepages() local
1185 static void try_to_free_low(struct hstate *h, unsigned long count, in try_to_free_low()
1209 static inline void try_to_free_low(struct hstate *h, unsigned long count, in try_to_free_low()
1220 static int adjust_pool_surplus(struct hstate *h, nodemask_t *nodes_allowed, in adjust_pool_surplus()
1267 #define persistent_huge_pages(h) (h->nr_huge_pages - h->surplus_huge_pages) argument
1268 static unsigned long set_max_huge_pages(struct hstate *h, unsigned long count, in set_max_huge_pages()
1371 struct hstate *h; in nr_hugepages_show_common() local
1391 struct hstate *h; in nr_hugepages_store_common() local
1471 struct hstate *h = kobj_to_hstate(kobj, NULL); in nr_overcommit_hugepages_show() local
1480 struct hstate *h = kobj_to_hstate(kobj, NULL); in nr_overcommit_hugepages_store() local
1500 struct hstate *h; in free_hugepages_show() local
1517 struct hstate *h = kobj_to_hstate(kobj, NULL); in resv_hugepages_show() local
1525 struct hstate *h; in surplus_hugepages_show() local
1555 static int hugetlb_sysfs_add_hstate(struct hstate *h, struct kobject *parent, in hugetlb_sysfs_add_hstate()
1575 struct hstate *h; in hugetlb_sysfs_init() local
1649 struct hstate *h; in hugetlb_unregister_node() local
1691 struct hstate *h; in hugetlb_register_node() local
1757 struct hstate *h; in hugetlb_exit() local
1804 struct hstate *h; in hugetlb_add_hstate() local
1888 struct hstate *h = &default_hstate; in hugetlb_sysctl_handler_common() local
1953 struct hstate *h = &default_hstate; in hugetlb_overcommit_handler() local
1981 struct hstate *h = &default_hstate; in hugetlb_report_meminfo() local
1997 struct hstate *h = &default_hstate; in hugetlb_report_node_meminfo() local
2010 struct hstate *h = &default_hstate; in hugetlb_total_pages() local
2014 static int hugetlb_acct_memory(struct hstate *h, long delta) in hugetlb_acct_memory()
2073 struct hstate *h = hstate_vma(vma); in hugetlb_vm_op_close() local
2148 struct hstate *h = hstate_vma(vma); in copy_hugetlb_page_range() local
2220 struct hstate *h = hstate_vma(vma); in __unmap_hugepage_range() local
2307 struct hstate *h = hstate_vma(vma); in unmap_ref_private() local
2359 struct hstate *h = hstate_vma(vma); in hugetlb_cow() local
2474 static struct page *hugetlbfs_pagecache_page(struct hstate *h, in hugetlbfs_pagecache_page()
2490 static bool hugetlbfs_pagecache_present(struct hstate *h, in hugetlbfs_pagecache_present()
2509 struct hstate *h = hstate_vma(vma); in hugetlb_no_page() local
2643 struct hstate *h = hstate_vma(vma); in hugetlb_fault() local
2758 struct hstate *h = hstate_vma(vma); in follow_hugetlb_page() local
2840 struct hstate *h = hstate_vma(vma); in hugetlb_change_protection() local
2871 struct hstate *h = hstate_inode(inode); in hugetlb_reserve_pages() local
2935 struct hstate *h = hstate_inode(inode); in hugetlb_unreserve_pages() local
2953 struct hstate *h = page_hstate(hpage); in is_hugepage_on_freelist() local
2968 struct hstate *h = page_hstate(hpage); in dequeue_hwpoisoned_huge_page() local