/kernel/linux/linux-5.10/include/linux/ |
D | cgroup.h | 99 bool css_has_online_children(struct cgroup_subsys_state *css); 100 struct cgroup_subsys_state *css_from_id(int id, struct cgroup_subsys *ss); 101 struct cgroup_subsys_state *cgroup_e_css(struct cgroup *cgroup, 103 struct cgroup_subsys_state *cgroup_get_e_css(struct cgroup *cgroup, 105 struct cgroup_subsys_state *css_tryget_online_from_dir(struct dentry *dentry, 144 struct cgroup_subsys_state *css_next_child(struct cgroup_subsys_state *pos, 145 struct cgroup_subsys_state *parent); 146 struct cgroup_subsys_state *css_next_descendant_pre(struct cgroup_subsys_state *pos, 147 struct cgroup_subsys_state *css); 148 struct cgroup_subsys_state *css_rightmost_descendant(struct cgroup_subsys_state *pos); [all …]
|
D | cgroup-defs.h | 138 struct cgroup_subsys_state { struct 185 struct cgroup_subsys_state *parent; argument 201 struct cgroup_subsys_state *subsys[CGROUP_SUBSYS_COUNT]; 359 struct cgroup_subsys_state self; 423 struct cgroup_subsys_state __rcu *subsys[CGROUP_SUBSYS_COUNT]; 577 u64 (*read_u64)(struct cgroup_subsys_state *css, struct cftype *cft); 581 s64 (*read_s64)(struct cgroup_subsys_state *css, struct cftype *cft); 596 int (*write_u64)(struct cgroup_subsys_state *css, struct cftype *cft, 601 int (*write_s64)(struct cgroup_subsys_state *css, struct cftype *cft, 626 struct cgroup_subsys_state *(*css_alloc)(struct cgroup_subsys_state *parent_css); [all …]
|
D | kthread.h | 210 struct cgroup_subsys_state; 213 void kthread_associate_blkcg(struct cgroup_subsys_state *css); 214 struct cgroup_subsys_state *kthread_blkcg(void); 216 static inline void kthread_associate_blkcg(struct cgroup_subsys_state *css) { } in kthread_associate_blkcg() 217 static inline struct cgroup_subsys_state *kthread_blkcg(void) in kthread_blkcg()
|
D | blk-cgroup.h | 48 struct cgroup_subsys_state css; 176 extern struct cgroup_subsys_state * const blkcg_root_css; 218 static inline struct cgroup_subsys_state *blkcg_css(void) in blkcg_css() 220 struct cgroup_subsys_state *css; in blkcg_css() 228 static inline struct blkcg *css_to_blkcg(struct cgroup_subsys_state *css) in css_to_blkcg() 271 struct cgroup_subsys_state *css; in blk_cgroup_congested() 639 #define blkcg_root_css ((struct cgroup_subsys_state *)ERR_PTR(-EINVAL))
|
D | backing-dev.h | 173 struct cgroup_subsys_state *memcg_css); 175 struct cgroup_subsys_state *memcg_css, 212 struct cgroup_subsys_state *memcg_css; in wb_find_current() 251 struct cgroup_subsys_state *memcg_css; in wb_get_create_current()
|
D | backing-dev-defs.h | 153 struct cgroup_subsys_state *memcg_css; /* the associated memcg */ 154 struct cgroup_subsys_state *blkcg_css; /* and blkcg */
|
D | cgroup_rdma.h | 20 struct cgroup_subsys_state css;
|
D | vmpressure.h | 40 extern struct cgroup_subsys_state *vmpressure_to_css(struct vmpressure *vmpr);
|
/kernel/linux/linux-5.10/kernel/cgroup/ |
D | pids.c | 42 struct cgroup_subsys_state css; 58 static struct pids_cgroup *css_pids(struct cgroup_subsys_state *css) in css_pids() 68 static struct cgroup_subsys_state * 69 pids_css_alloc(struct cgroup_subsys_state *parent) in pids_css_alloc() 83 static void pids_css_free(struct cgroup_subsys_state *css) in pids_css_free() 174 struct cgroup_subsys_state *dst_css; in pids_can_attach() 178 struct cgroup_subsys_state *old_css; in pids_can_attach() 199 struct cgroup_subsys_state *dst_css; in pids_cancel_attach() 203 struct cgroup_subsys_state *old_css; in pids_cancel_attach() 220 struct cgroup_subsys_state *css; in pids_can_fork() [all …]
|
D | legacy_freezer.c | 44 struct cgroup_subsys_state css; 50 static inline struct freezer *css_freezer(struct cgroup_subsys_state *css) in css_freezer() 85 static struct cgroup_subsys_state * 86 freezer_css_alloc(struct cgroup_subsys_state *parent_css) in freezer_css_alloc() 105 static int freezer_css_online(struct cgroup_subsys_state *css) in freezer_css_online() 130 static void freezer_css_offline(struct cgroup_subsys_state *css) in freezer_css_offline() 144 static void freezer_css_free(struct cgroup_subsys_state *css) in freezer_css_free() 161 struct cgroup_subsys_state *new_css; in freezer_attach() 244 static void update_if_frozen(struct cgroup_subsys_state *css) in update_if_frozen() 247 struct cgroup_subsys_state *pos; in update_if_frozen() [all …]
|
D | debug.c | 14 static struct cgroup_subsys_state * 15 debug_css_alloc(struct cgroup_subsys_state *parent_css) in debug_css_alloc() 17 struct cgroup_subsys_state *css = kzalloc(sizeof(*css), GFP_KERNEL); in debug_css_alloc() 25 static void debug_css_free(struct cgroup_subsys_state *css) in debug_css_free() 34 static u64 debug_taskcount_read(struct cgroup_subsys_state *css, in debug_taskcount_read() 45 struct cgroup_subsys_state *css; in current_css_set_read() 76 static u64 current_css_set_refcount_read(struct cgroup_subsys_state *css, in current_css_set_refcount_read() 116 struct cgroup_subsys_state *css = seq_css(seq); in cgroup_css_links_read() 208 struct cgroup_subsys_state *css; in cgroup_subsys_states_read() 271 static u64 releasable_read(struct cgroup_subsys_state *css, struct cftype *cft) in releasable_read()
|
D | cgroup.c | 217 static struct cgroup_subsys_state *css_create(struct cgroup *cgrp, 220 static void kill_css(struct cgroup_subsys_state *css); 221 static int cgroup_addrm_files(struct cgroup_subsys_state *css, 459 static struct cgroup_subsys_state *cgroup_css(struct cgroup *cgrp, in cgroup_css() 477 static struct cgroup_subsys_state *cgroup_tryget_css(struct cgroup *cgrp, in cgroup_tryget_css() 480 struct cgroup_subsys_state *css; in cgroup_tryget_css() 501 static struct cgroup_subsys_state *cgroup_e_css_by_mask(struct cgroup *cgrp, in cgroup_e_css_by_mask() 535 struct cgroup_subsys_state *cgroup_e_css(struct cgroup *cgrp, in cgroup_e_css() 538 struct cgroup_subsys_state *css; in cgroup_e_css() 562 struct cgroup_subsys_state *cgroup_get_e_css(struct cgroup *cgrp, in cgroup_get_e_css() [all …]
|
D | cpuset.c | 83 struct cgroup_subsys_state css; 194 static inline struct cpuset *css_cs(struct cgroup_subsys_state *css) in css_cs() 579 struct cgroup_subsys_state *css; in validate_change() 672 struct cgroup_subsys_state *pos_css; in update_domain_attr_tree() 759 struct cgroup_subsys_state *pos_css; in generate_sched_domains() 941 struct cgroup_subsys_state *pos_css; in rebuild_root_domains() 997 struct cgroup_subsys_state *pos_css; in rebuild_sched_domains_locked() 1347 struct cgroup_subsys_state *pos_css; in update_cpumasks_hier() 1502 struct cgroup_subsys_state *pos_css; in update_sibling_cpumasks() 1774 struct cgroup_subsys_state *pos_css; in update_nodemasks_hier() [all …]
|
D | rdma.c | 67 static struct rdma_cgroup *css_rdmacg(struct cgroup_subsys_state *css) in css_rdmacg() 562 static struct cgroup_subsys_state * 563 rdmacg_css_alloc(struct cgroup_subsys_state *parent) in rdmacg_css_alloc() 575 static void rdmacg_css_free(struct cgroup_subsys_state *css) in rdmacg_css_free() 591 static void rdmacg_css_offline(struct cgroup_subsys_state *css) in rdmacg_css_offline()
|
/kernel/linux/linux-5.10/net/core/ |
D | netclassid_cgroup.c | 16 static inline struct cgroup_cls_state *css_cls_state(struct cgroup_subsys_state *css) in css_cls_state() 28 static struct cgroup_subsys_state * 29 cgrp_css_alloc(struct cgroup_subsys_state *parent_css) in cgrp_css_alloc() 40 static int cgrp_css_online(struct cgroup_subsys_state *css) in cgrp_css_online() 51 static void cgrp_css_free(struct cgroup_subsys_state *css) in cgrp_css_free() 102 struct cgroup_subsys_state *css; in cgrp_attach() 110 static u64 read_classid(struct cgroup_subsys_state *css, struct cftype *cft) in read_classid() 115 static int write_classid(struct cgroup_subsys_state *css, struct cftype *cft, in write_classid()
|
D | netprio_cgroup.c | 93 static u32 netprio_prio(struct cgroup_subsys_state *css, struct net_device *dev) in netprio_prio() 112 static int netprio_set_prio(struct cgroup_subsys_state *css, in netprio_set_prio() 133 static struct cgroup_subsys_state * 134 cgrp_css_alloc(struct cgroup_subsys_state *parent_css) in cgrp_css_alloc() 136 struct cgroup_subsys_state *css; in cgrp_css_alloc() 145 static int cgrp_css_online(struct cgroup_subsys_state *css) in cgrp_css_online() 147 struct cgroup_subsys_state *parent_css = css->parent; in cgrp_css_online() 173 static void cgrp_css_free(struct cgroup_subsys_state *css) in cgrp_css_free() 178 static u64 read_prioidx(struct cgroup_subsys_state *css, struct cftype *cft) in read_prioidx() 234 struct cgroup_subsys_state *css; in net_prio_attach()
|
/kernel/linux/linux-5.10/kernel/sched/ |
D | cpuacct.c | 30 struct cgroup_subsys_state css; 36 static inline struct cpuacct *css_ca(struct cgroup_subsys_state *css) in css_ca() 59 static struct cgroup_subsys_state * 60 cpuacct_css_alloc(struct cgroup_subsys_state *parent_css) in cpuacct_css_alloc() 90 static void cpuacct_css_free(struct cgroup_subsys_state *css) in cpuacct_css_free() 156 static u64 __cpuusage_read(struct cgroup_subsys_state *css, in __cpuusage_read() 169 static u64 cpuusage_user_read(struct cgroup_subsys_state *css, in cpuusage_user_read() 175 static u64 cpuusage_sys_read(struct cgroup_subsys_state *css, in cpuusage_sys_read() 181 static u64 cpuusage_read(struct cgroup_subsys_state *css, struct cftype *cft) in cpuusage_read() 186 static int cpuusage_write(struct cgroup_subsys_state *css, struct cftype *cft, in cpuusage_write()
|
D | core.c | 1383 uclamp_update_active_tasks(struct cgroup_subsys_state *css) in uclamp_update_active_tasks() 1394 static void cpu_util_update_eff(struct cgroup_subsys_state *css); 8182 static inline struct task_group *css_tg(struct cgroup_subsys_state *css) in css_tg() 8187 static struct cgroup_subsys_state * 8188 cpu_cgroup_css_alloc(struct cgroup_subsys_state *parent_css) in cpu_cgroup_css_alloc() 8211 static int cpu_cgroup_css_online(struct cgroup_subsys_state *css) in cpu_cgroup_css_online() 8231 static void cpu_cgroup_css_released(struct cgroup_subsys_state *css) in cpu_cgroup_css_released() 8238 static void cpu_cgroup_css_free(struct cgroup_subsys_state *css) in cpu_cgroup_css_free() 8268 struct cgroup_subsys_state *css; in cpu_cgroup_can_attach() 8300 struct cgroup_subsys_state *css; in schedgp_attach() [all …]
|
/kernel/linux/linux-5.10/mm/ |
D | memcg_control.c | 140 static u64 mem_cgroup_app_score_read(struct cgroup_subsys_state *css, in mem_cgroup_app_score_read() 148 static int mem_cgroup_app_score_write(struct cgroup_subsys_state *css, in mem_cgroup_app_score_write() 325 static int memcg_ub_ufs2zram_ratio_write(struct cgroup_subsys_state *css, in memcg_ub_ufs2zram_ratio_write() 339 static u64 memcg_ub_ufs2zram_ratio_read(struct cgroup_subsys_state *css, struct cftype *cft) in memcg_ub_ufs2zram_ratio_read() 346 static int memcg_force_swapin_write(struct cgroup_subsys_state *css, struct cftype *cft, u64 val) in memcg_force_swapin_write() 376 static int memcg_force_shrink_purgeable_bysize(struct cgroup_subsys_state *css, in memcg_force_shrink_purgeable_bysize() 473 static u64 mem_cgroup_app_score_read(struct cgroup_subsys_state *css, in mem_cgroup_app_score_read() 479 static int mem_cgroup_app_score_write(struct cgroup_subsys_state *css, in mem_cgroup_app_score_write()
|
D | zswapd_control.c | 209 static int area_anon_refault_threshold_write(struct cgroup_subsys_state *css, in area_anon_refault_threshold_write() 217 static int empty_round_skip_interval_write(struct cgroup_subsys_state *css, in empty_round_skip_interval_write() 225 static int max_skip_interval_write(struct cgroup_subsys_state *css, in max_skip_interval_write() 233 static int empty_round_check_threshold_write(struct cgroup_subsys_state *css, in empty_round_check_threshold_write() 241 static int anon_refault_snapshot_min_interval_write(struct cgroup_subsys_state *css, in anon_refault_snapshot_min_interval_write() 249 static int zram_critical_thres_write(struct cgroup_subsys_state *css, in zram_critical_thres_write() 308 static u64 zswapd_pid_read(struct cgroup_subsys_state *css, struct cftype *cft) in zswapd_pid_read() 556 static u64 area_anon_refault_threshold_read(struct cgroup_subsys_state *css, in area_anon_refault_threshold_read() 562 static u64 empty_round_skip_interval_read(struct cgroup_subsys_state *css, in empty_round_skip_interval_read() 568 static u64 max_skip_interval_read(struct cgroup_subsys_state *css, in max_skip_interval_read() [all …]
|
D | hugetlb_cgroup.c | 57 struct hugetlb_cgroup *hugetlb_cgroup_from_css(struct cgroup_subsys_state *s) in hugetlb_cgroup_from_css() 129 static struct cgroup_subsys_state * 130 hugetlb_cgroup_css_alloc(struct cgroup_subsys_state *parent_css) in hugetlb_cgroup_css_alloc() 146 static void hugetlb_cgroup_css_free(struct cgroup_subsys_state *css) in hugetlb_cgroup_css_free() 197 static void hugetlb_cgroup_css_offline(struct cgroup_subsys_state *css) in hugetlb_cgroup_css_offline() 424 static u64 hugetlb_cgroup_read_u64(struct cgroup_subsys_state *css, in hugetlb_cgroup_read_u64()
|
/kernel/linux/linux-5.10/security/ |
D | device_cgroup.c | 43 struct cgroup_subsys_state css; 48 static inline struct dev_cgroup *css_to_devcgroup(struct cgroup_subsys_state *s) in css_to_devcgroup() 187 static int devcgroup_online(struct cgroup_subsys_state *css) in devcgroup_online() 208 static void devcgroup_offline(struct cgroup_subsys_state *css) in devcgroup_offline() 220 static struct cgroup_subsys_state * 221 devcgroup_css_alloc(struct cgroup_subsys_state *parent_css) in devcgroup_css_alloc() 234 static void devcgroup_css_free(struct cgroup_subsys_state *css) in devcgroup_css_free() 550 struct cgroup_subsys_state *pos; in propagate_exception()
|
/kernel/linux/linux-5.10/block/ |
D | blk-cgroup.c | 50 struct cgroup_subsys_state * const blkcg_root_css = &blkcg_root.css; 440 static int blkcg_reset_stats(struct cgroup_subsys_state *css, in blkcg_reset_stats() 775 static void blkcg_rstat_flush(struct cgroup_subsys_state *css, int cpu) in blkcg_rstat_flush() 1007 static void blkcg_css_offline(struct cgroup_subsys_state *css) in blkcg_css_offline() 1059 static void blkcg_css_free(struct cgroup_subsys_state *css) in blkcg_css_free() 1077 static struct cgroup_subsys_state * 1078 blkcg_css_alloc(struct cgroup_subsys_state *parent_css) in blkcg_css_alloc() 1081 struct cgroup_subsys_state *ret; in blkcg_css_alloc() 1145 static int blkcg_css_online(struct cgroup_subsys_state *css) in blkcg_css_online() 1238 struct cgroup_subsys_state *dst_css; in blkcg_can_attach() [all …]
|
/kernel/linux/linux-5.10/include/net/ |
D | netprio_cgroup.h | 24 struct cgroup_subsys_state *css; in task_netprioidx()
|
D | cls_cgroup.h | 19 struct cgroup_subsys_state css;
|