| /linux/arch/powerpc/mm/book3s64/ |
| H A D | radix_hugetlbpage.c | 13 struct hstate *hstate = hstate_file(vma->vm_file); in radix__flush_hugetlb_page() local 15 psize = hstate_get_psize(hstate); in radix__flush_hugetlb_page() 22 struct hstate *hstate = hstate_file(vma->vm_file); in radix__local_flush_hugetlb_page() local 24 psize = hstate_get_psize(hstate); in radix__local_flush_hugetlb_page() 32 struct hstate *hstate = hstate_file(vma->vm_file); in radix__flush_hugetlb_tlb_range() local 34 psize = hstate_get_psize(hstate); in radix__flush_hugetlb_tlb_range()
|
| /linux/mm/ |
| H A D | hugetlb_sysfs.c | 26 static struct hstate *kobj_to_node_hstate(struct kobject *kobj, int *nidp); 28 static struct hstate *kobj_to_hstate(struct kobject *kobj, int *nidp) in kobj_to_hstate() 45 struct hstate *h; in nr_hugepages_show_common() 62 struct hstate *h; in nr_hugepages_store_common() 113 struct hstate *h = kobj_to_hstate(kobj, NULL); in nr_overcommit_hugepages_show() 122 struct hstate *h = kobj_to_hstate(kobj, NULL); in nr_overcommit_hugepages_store() 142 struct hstate *h; in free_hugepages_show() 159 struct hstate *h = kobj_to_hstate(kobj, NULL); in resv_hugepages_show() 167 struct hstate *h; in surplus_hugepages_show() 187 struct hstate *h; in demote_store() [all …]
|
| H A D | hugetlb_internal.h | 19 static inline bool hstate_is_gigantic_no_runtime(struct hstate *h) in hstate_is_gigantic_no_runtime() 71 static inline int hstate_next_node_to_free(struct hstate *h, nodemask_t *nodes_allowed) in hstate_next_node_to_free() 95 extern void remove_hugetlb_folio(struct hstate *h, struct folio *folio, 97 extern void add_hugetlb_folio(struct hstate *h, struct folio *folio, 100 extern void prep_and_add_allocated_folios(struct hstate *h, 102 extern long demote_pool_huge_page(struct hstate *src, 106 struct hstate *h, int nid,
|
| H A D | hugetlb_cgroup.c | 81 struct hstate *h; in hugetlb_cgroup_have_usage() 225 struct hstate *h; in hugetlb_cgroup_css_offline() 805 hugetlb_cgroup_cfttypes_init(struct hstate *h, struct cftype *cft, in hugetlb_cgroup_cfttypes_init() 832 static void __init __hugetlb_cgroup_file_dfl_init(struct hstate *h) in __hugetlb_cgroup_file_dfl_init() 840 static void __init __hugetlb_cgroup_file_legacy_init(struct hstate *h) in __hugetlb_cgroup_file_legacy_init() 848 static void __init __hugetlb_cgroup_file_init(struct hstate *h) in __hugetlb_cgroup_file_init() 876 struct hstate *h; in hugetlb_cgroup_file_init() 892 struct hstate *h = folio_hstate(old_folio); in hugetlb_cgroup_migrate()
|
| H A D | memfd.c | 82 struct hstate *h = hstate_file(memfd); in memfd_alloc_folio()
|
| H A D | pagewalk.c | 328 static unsigned long hugetlb_entry_end(struct hstate *h, unsigned long addr, 340 struct hstate *h = hstate_vma(vma); in walk_hugetlb_range()
|
| /linux/Documentation/translations/zh_CN/mm/ |
| H A D | hugetlbfs_reserv.rst | 39 这是一个全局的(per-hstate)预留的巨页的计数。预留的巨页只对预留它们的任 240 有一个结构体hstate与每个巨页尺寸相关联。hstate跟踪所有指定大小的巨页。一个子池代表一 241 个hstate中的页面子集,它与一个已挂载的hugetlbfs文件系统相关 344 long vma_needs_reservation(struct hstate *h, 350 long vma_commit_reservation(struct hstate *h, 359 void vma_end_reservation(struct hstate *h, 366 long vma_add_reservation(struct hstate *h, 409 当git第一次被用来管理Linux代码时,每个节点的巨页列表就存在于hstate结构中。预留的概念是
|
| /linux/arch/powerpc/mm/nohash/ |
| H A D | e500_hugetlbpage.c | 189 struct hstate *hstate = hstate_file(vma->vm_file); in flush_hugetlb_page() local 190 unsigned long tsize = huge_page_shift(hstate) - 10; in flush_hugetlb_page()
|
| /linux/kernel/events/ |
| H A D | uprobes.c | 738 static inline struct uprobe *hprobe_consume(struct hprobe *hprobe, enum hprobe_state *hstate) in hprobe_consume() 740 *hstate = xchg(&hprobe->state, HPROBE_CONSUMED); in hprobe_consume() 741 switch (*hstate) { in hprobe_consume() 749 WARN(1, "hprobe invalid state %d", *hstate); in hprobe_consume() 757 * hprobe_consume() call (which determines uprobe and hstate value). in hprobe_finalize() argument 759 static void hprobe_finalize(struct hprobe *hprobe, enum hprobe_state hstate) in hprobe_finalize() 761 switch (hstate) { in hprobe_finalize() 772 WARN(1, "hprobe invalid state %d", hstate); in hprobe_finalize() 795 enum hprobe_state hstate; in hprobe_expire() 807 hstate in hprobe_expire() 736 hprobe_consume(struct hprobe * hprobe,enum hprobe_state * hstate) hprobe_consume() argument 793 enum hprobe_state hstate; hprobe_expire() local 1966 enum hprobe_state hstate; free_ret_instance() local 2635 enum hprobe_state hstate; uprobe_handle_trampoline() local [all...] |
| /linux/arch/riscv/include/asm/ |
| H A D | hugetlb.h | 15 bool arch_hugetlb_migration_supported(struct hstate *h);
|
| /linux/arch/powerpc/include/asm/ |
| H A D | kvm_book3s_asm.h | 140 struct kvmppc_host_state hstate; member
|
| /linux/arch/arm64/mm/ |
| H A D | hugetlbpage.c | 65 bool arch_hugetlb_migration_supported(struct hstate *h) in arch_hugetlb_migration_supported() 320 unsigned long hugetlb_mask_last_page(struct hstate *h) in hugetlb_mask_last_page()
|