hugetlb_cgroup
static inline void hugetlb_cgroup_put_rsvd_cgroup(struct hugetlb_cgroup *h_cg)
struct hugetlb_cgroup **ptr);
struct hugetlb_cgroup **ptr);
struct hugetlb_cgroup *h_cg,
struct hugetlb_cgroup *h_cg,
struct hugetlb_cgroup *h_cg);
struct hugetlb_cgroup *h_cg);
static inline struct hugetlb_cgroup *hugetlb_cgroup_from_folio(struct folio *folio)
static inline struct hugetlb_cgroup *
struct hugetlb_cgroup *h_cg)
struct hugetlb_cgroup *h_cg)
static inline void hugetlb_cgroup_put_rsvd_cgroup(struct hugetlb_cgroup *h_cg)
struct hugetlb_cgroup;
struct hugetlb_cgroup **ptr)
struct hugetlb_cgroup **ptr)
struct hugetlb_cgroup *h_cg,
struct hugetlb_cgroup *h_cg,
struct hugetlb_cgroup *h_cg)
struct hugetlb_cgroup *h_cg)
static inline struct hugetlb_cgroup *
static inline struct hugetlb_cgroup *hugetlb_cgroup_from_folio(struct folio *folio)
static inline struct hugetlb_cgroup *
struct hugetlb_cgroup *h_cg, bool rsvd)
struct hugetlb_cgroup *h_cg)
struct hugetlb_cgroup *h_cg)
struct hugetlb_cgroup *h_cg,
struct hugetlb_cgroup *h_cg = NULL;
static void record_hugetlb_cgroup_uncharge_info(struct hugetlb_cgroup *h_cg,
long to, struct hstate *h, struct hugetlb_cgroup *cg,
struct hugetlb_cgroup *h_cg,
struct hugetlb_cgroup *h_cg = NULL;
struct hugetlb_cgroup *h_cg)
static void hugetlb_cgroup_free(struct hugetlb_cgroup *h_cgroup)
struct hugetlb_cgroup *parent_h_cgroup = hugetlb_cgroup_from_css(parent_css);
struct hugetlb_cgroup *h_cgroup;
static void hugetlb_cgroup_move_parent(int idx, struct hugetlb_cgroup *h_cg,
struct hugetlb_cgroup *hcg;
struct hugetlb_cgroup *parent = parent_hugetlb_cgroup(h_cg);
struct hugetlb_cgroup *h_cg = hugetlb_cgroup_from_css(css);
static inline void hugetlb_event(struct hugetlb_cgroup *hugetlb, int idx,
struct hugetlb_cgroup **ptr,
struct hugetlb_cgroup *h_cg = NULL;
struct hugetlb_cgroup **ptr)
struct hugetlb_cgroup **ptr)
struct hugetlb_cgroup *h_cg,
static struct hugetlb_cgroup *root_h_cgroup __read_mostly;
struct hugetlb_cgroup *h_cg,
struct hugetlb_cgroup *h_cg,
struct hugetlb_cgroup *h_cg;
__hugetlb_cgroup_counter_from_cgroup(struct hugetlb_cgroup *h_cg, int idx,
struct hugetlb_cgroup *h_cg,
struct hugetlb_cgroup *h_cg)
struct hugetlb_cgroup *h_cg)
hugetlb_cgroup_counter_from_cgroup(struct hugetlb_cgroup *h_cg, int idx)
struct hugetlb_cgroup *h_cg = hugetlb_cgroup_from_css(seq_css(seq));
hugetlb_cgroup_counter_from_cgroup_rsvd(struct hugetlb_cgroup *h_cg, int idx)
struct hugetlb_cgroup *h_cg = hugetlb_cgroup_from_css(css);
struct hugetlb_cgroup *h_cg = hugetlb_cgroup_from_css(seq_css(seq));
struct hugetlb_cgroup *hugetlb_cgroup_from_css(struct cgroup_subsys_state *s)
struct hugetlb_cgroup *h_cg = hugetlb_cgroup_from_css(of_css(of));
return s ? container_of(s, struct hugetlb_cgroup, css) : NULL;
struct hugetlb_cgroup *hugetlb_cgroup_from_task(struct task_struct *task)
struct hugetlb_cgroup *h_cg = hugetlb_cgroup_from_css(of_css(of));
struct hugetlb_cgroup *h_cg = hugetlb_cgroup_from_css(seq_css(seq));
static inline bool hugetlb_cgroup_is_root(struct hugetlb_cgroup *h_cg)
static inline struct hugetlb_cgroup *
.file_offset = MEMFILE_OFFSET(struct hugetlb_cgroup, events_file[0]),
.file_offset = MEMFILE_OFFSET(struct hugetlb_cgroup, events_local_file[0]),
parent_hugetlb_cgroup(struct hugetlb_cgroup *h_cg)
static inline bool hugetlb_cgroup_have_usage(struct hugetlb_cgroup *h_cg)
struct hugetlb_cgroup *h_cg;
struct hugetlb_cgroup *h_cg_rsvd;
static void hugetlb_cgroup_init(struct hugetlb_cgroup *h_cgroup,
struct hugetlb_cgroup *parent_h_cgroup)