Home
last modified time | relevance | path

Searched refs:HUGE_MAX_HSTATE (Results 1 – 11 of 11) sorted by relevance

/Linux-v6.6/include/linux/
Dhugetlb_cgroup.h39 unsigned long usage[HUGE_MAX_HSTATE];
48 struct page_counter hugepage[HUGE_MAX_HSTATE];
53 struct page_counter rsvd_hugepage[HUGE_MAX_HSTATE];
55 atomic_long_t events[HUGE_MAX_HSTATE][HUGETLB_NR_MEMORY_EVENTS];
56 atomic_long_t events_local[HUGE_MAX_HSTATE][HUGETLB_NR_MEMORY_EVENTS];
59 struct cgroup_file events_file[HUGE_MAX_HSTATE];
62 struct cgroup_file events_local_file[HUGE_MAX_HSTATE];
Dhugetlb.h767 #ifndef HUGE_MAX_HSTATE
768 #define HUGE_MAX_HSTATE 1 macro
771 extern struct hstate hstates[HUGE_MAX_HSTATE];
/Linux-v6.6/arch/x86/include/asm/
Dpage_types.h28 #define HUGE_MAX_HSTATE 2 macro
/Linux-v6.6/arch/riscv/include/asm/
Dpgtable-64.h110 #define HUGE_MAX_HSTATE (2 + (NAPOT_ORDER_MAX - NAPOT_CONT_ORDER_BASE)) macro
112 #define HUGE_MAX_HSTATE 2 macro
/Linux-v6.6/arch/powerpc/include/asm/
Dpage.h41 #define HUGE_MAX_HSTATE (MMU_PAGE_COUNT-1) macro
/Linux-v6.6/arch/sparc/include/asm/
Dpage_64.h33 #define HUGE_MAX_HSTATE 5 macro
/Linux-v6.6/arch/s390/include/asm/
Dpage.h31 #define HUGE_MAX_HSTATE 2 macro
/Linux-v6.6/mm/
Dhugetlb.c53 struct hstate hstates[HUGE_MAX_HSTATE];
3706 static struct kobject *hstate_kobjs[HUGE_MAX_HSTATE];
3714 for (i = 0; i < HUGE_MAX_HSTATE; i++) in kobj_to_hstate()
4062 struct kobject *hstate_kobjs[HUGE_MAX_HSTATE];
4091 for (i = 0; i < HUGE_MAX_HSTATE; i++) in kobj_to_node_hstate()
4316 BUG_ON(hugetlb_max_hstate >= HUGE_MAX_HSTATE); in hugetlb_add_hstate()
Dhugetlb_cgroup.c93 for (idx = 0; idx < HUGE_MAX_HSTATE; idx++) { in hugetlb_cgroup_init()
/Linux-v6.6/arch/arm64/include/asm/
Dpgtable.h373 #define HUGE_MAX_HSTATE 4 macro
/Linux-v6.6/fs/hugetlbfs/
Dinode.c1594 static struct vfsmount *hugetlbfs_vfsmount[HUGE_MAX_HSTATE];