Loading include/linux/cgroup-defs.h +38 −0 Original line number Diff line number Diff line Loading @@ -21,6 +21,7 @@ #include <linux/workqueue.h> #include <linux/bpf-cgroup-defs.h> #include <linux/psi_types.h> #include <linux/kabi.h> #ifdef CONFIG_CGROUPS Loading Loading @@ -143,6 +144,10 @@ struct cgroup_file { struct kernfs_node *kn; unsigned long notified_at; struct timer_list notify_timer; KABI_RESERVE(1) KABI_RESERVE(2) KABI_RESERVE(3) }; /* Loading Loading @@ -200,6 +205,11 @@ struct cgroup_subsys_state { * fields of the containing structure. */ struct cgroup_subsys_state *parent; KABI_RESERVE(1) KABI_RESERVE(2) KABI_RESERVE(3) KABI_RESERVE(4) }; /* Loading Loading @@ -297,6 +307,11 @@ struct css_set { /* For RCU-protected deletion */ struct rcu_head rcu_head; KABI_RESERVE(1) KABI_RESERVE(2) KABI_RESERVE(3) KABI_RESERVE(4) }; struct cgroup_base_stat { Loading Loading @@ -368,6 +383,11 @@ struct cgroup_rstat_cpu { */ struct cgroup *updated_children; /* terminated by self cgroup */ struct cgroup *updated_next; /* NULL iff not on the list */ KABI_RESERVE(1) KABI_RESERVE(2) KABI_RESERVE(3) KABI_RESERVE(4) }; struct cgroup_freezer_state { Loading Loading @@ -525,6 +545,11 @@ struct cgroup { struct bpf_local_storage __rcu *bpf_cgrp_storage; #endif KABI_RESERVE(1) KABI_RESERVE(2) KABI_RESERVE(3) KABI_RESERVE(4) KABI_RESERVE(5) /* All ancestors including self */ struct cgroup *ancestors[]; }; Loading Loading @@ -570,6 +595,11 @@ struct cgroup_root { /* The name for this hierarchy - may be empty */ char name[MAX_CGROUP_ROOT_NAMELEN]; KABI_RESERVE(1) KABI_RESERVE(2) KABI_RESERVE(3) KABI_RESERVE(4) }; /* Loading Loading @@ -659,6 +689,9 @@ struct cftype { __poll_t (*poll)(struct kernfs_open_file *of, struct poll_table_struct *pt); KABI_RESERVE(1) KABI_RESERVE(2) KABI_RESERVE(3) #ifdef CONFIG_DEBUG_LOCK_ALLOC struct lock_class_key lockdep_key; #endif Loading Loading @@ -693,6 +726,11 @@ struct cgroup_subsys { void (*release)(struct task_struct *task); void (*bind)(struct cgroup_subsys_state *root_css); KABI_RESERVE(1) KABI_RESERVE(2) KABI_RESERVE(3) KABI_RESERVE(4) bool early_init:1; /* Loading Loading
include/linux/cgroup-defs.h +38 −0 Original line number Diff line number Diff line Loading @@ -21,6 +21,7 @@ #include <linux/workqueue.h> #include <linux/bpf-cgroup-defs.h> #include <linux/psi_types.h> #include <linux/kabi.h> #ifdef CONFIG_CGROUPS Loading Loading @@ -143,6 +144,10 @@ struct cgroup_file { struct kernfs_node *kn; unsigned long notified_at; struct timer_list notify_timer; KABI_RESERVE(1) KABI_RESERVE(2) KABI_RESERVE(3) }; /* Loading Loading @@ -200,6 +205,11 @@ struct cgroup_subsys_state { * fields of the containing structure. */ struct cgroup_subsys_state *parent; KABI_RESERVE(1) KABI_RESERVE(2) KABI_RESERVE(3) KABI_RESERVE(4) }; /* Loading Loading @@ -297,6 +307,11 @@ struct css_set { /* For RCU-protected deletion */ struct rcu_head rcu_head; KABI_RESERVE(1) KABI_RESERVE(2) KABI_RESERVE(3) KABI_RESERVE(4) }; struct cgroup_base_stat { Loading Loading @@ -368,6 +383,11 @@ struct cgroup_rstat_cpu { */ struct cgroup *updated_children; /* terminated by self cgroup */ struct cgroup *updated_next; /* NULL iff not on the list */ KABI_RESERVE(1) KABI_RESERVE(2) KABI_RESERVE(3) KABI_RESERVE(4) }; struct cgroup_freezer_state { Loading Loading @@ -525,6 +545,11 @@ struct cgroup { struct bpf_local_storage __rcu *bpf_cgrp_storage; #endif KABI_RESERVE(1) KABI_RESERVE(2) KABI_RESERVE(3) KABI_RESERVE(4) KABI_RESERVE(5) /* All ancestors including self */ struct cgroup *ancestors[]; }; Loading Loading @@ -570,6 +595,11 @@ struct cgroup_root { /* The name for this hierarchy - may be empty */ char name[MAX_CGROUP_ROOT_NAMELEN]; KABI_RESERVE(1) KABI_RESERVE(2) KABI_RESERVE(3) KABI_RESERVE(4) }; /* Loading Loading @@ -659,6 +689,9 @@ struct cftype { __poll_t (*poll)(struct kernfs_open_file *of, struct poll_table_struct *pt); KABI_RESERVE(1) KABI_RESERVE(2) KABI_RESERVE(3) #ifdef CONFIG_DEBUG_LOCK_ALLOC struct lock_class_key lockdep_key; #endif Loading Loading @@ -693,6 +726,11 @@ struct cgroup_subsys { void (*release)(struct task_struct *task); void (*bind)(struct cgroup_subsys_state *root_css); KABI_RESERVE(1) KABI_RESERVE(2) KABI_RESERVE(3) KABI_RESERVE(4) bool early_init:1; /* Loading