Home
last modified time | relevance | path

Searched refs:hugetlb_cgroup (Results 1 – 4 of 4) sorted by relevance

/Linux-v6.1/include/linux/
Dhugetlb_cgroup.h20 struct hugetlb_cgroup;
44 struct hugetlb_cgroup { struct
69 static inline struct hugetlb_cgroup * argument
82 static inline struct hugetlb_cgroup *hugetlb_cgroup_from_page(struct page *page) in hugetlb_cgroup_from_page()
87 static inline struct hugetlb_cgroup *
94 struct hugetlb_cgroup *h_cg, bool rsvd) in __set_hugetlb_cgroup()
109 struct hugetlb_cgroup *h_cg) in set_hugetlb_cgroup()
115 struct hugetlb_cgroup *h_cg) in set_hugetlb_cgroup_rsvd()
125 static inline void hugetlb_cgroup_put_rsvd_cgroup(struct hugetlb_cgroup *h_cg) in hugetlb_cgroup_put_rsvd_cgroup()
145 struct hugetlb_cgroup **ptr);
[all …]
/Linux-v6.1/mm/
Dhugetlb_cgroup.c30 static struct hugetlb_cgroup *root_h_cgroup __read_mostly;
33 __hugetlb_cgroup_counter_from_cgroup(struct hugetlb_cgroup *h_cg, int idx, in __hugetlb_cgroup_counter_from_cgroup()
42 hugetlb_cgroup_counter_from_cgroup(struct hugetlb_cgroup *h_cg, int idx) in hugetlb_cgroup_counter_from_cgroup()
48 hugetlb_cgroup_counter_from_cgroup_rsvd(struct hugetlb_cgroup *h_cg, int idx) in hugetlb_cgroup_counter_from_cgroup_rsvd()
54 struct hugetlb_cgroup *hugetlb_cgroup_from_css(struct cgroup_subsys_state *s) in hugetlb_cgroup_from_css()
56 return s ? container_of(s, struct hugetlb_cgroup, css) : NULL; in hugetlb_cgroup_from_css()
60 struct hugetlb_cgroup *hugetlb_cgroup_from_task(struct task_struct *task) in hugetlb_cgroup_from_task()
65 static inline bool hugetlb_cgroup_is_root(struct hugetlb_cgroup *h_cg) in hugetlb_cgroup_is_root()
70 static inline struct hugetlb_cgroup *
71 parent_hugetlb_cgroup(struct hugetlb_cgroup *h_cg) in parent_hugetlb_cgroup()
[all …]
DMakefile104 obj-$(CONFIG_CGROUP_HUGETLB) += hugetlb_cgroup.o
Dhugetlb.c290 static void record_hugetlb_cgroup_uncharge_info(struct hugetlb_cgroup *h_cg, in record_hugetlb_cgroup_uncharge_info()
373 long to, struct hstate *h, struct hugetlb_cgroup *cg, in hugetlb_resv_map_add()
398 struct hugetlb_cgroup *h_cg, in add_reservation_in_range()
532 struct hugetlb_cgroup *h_cg) in region_add()
892 struct hugetlb_cgroup *h_cg, in resv_map_set_hugetlb_cgroup_uncharge_info()
2872 struct hugetlb_cgroup *h_cg; in alloc_huge_page()
6550 struct hugetlb_cgroup *h_cg = NULL; in hugetlb_reserve_pages()