/openbmc/linux/include/linux/ |
H A D | cgroup.h | 145 struct cgroup_subsys_state *css_next_child(struct cgroup_subsys_state *pos, 146 struct cgroup_subsys_state *parent); 147 struct cgroup_subsys_state *css_next_descendant_pre(struct cgroup_subsys_state *pos, 148 struct cgroup_subsys_state *css); 149 struct cgroup_subsys_state *css_rightmost_descendant(struct cgroup_subsys_state *pos); 150 struct cgroup_subsys_state *css_next_descendant_post(struct cgroup_subsys_state *pos, 151 struct cgroup_subsys_state *css); 156 struct cgroup_subsys_state **dst_cssp); 448 static inline struct cgroup_subsys_state * 451 struct cgroup_subsys_state *css; in task_get_css() [all …]
|
H A D | blk-cgroup.h | 20 struct cgroup_subsys_state; 26 extern struct cgroup_subsys_state * const blkcg_root_css; 31 void blkcg_pin_online(struct cgroup_subsys_state *blkcg_css); 32 void blkcg_unpin_online(struct cgroup_subsys_state *blkcg_css); 33 struct list_head *blkcg_get_cgwb_list(struct cgroup_subsys_state *css); 34 struct cgroup_subsys_state *bio_blkcg_css(struct bio *bio); 38 #define blkcg_root_css ((struct cgroup_subsys_state *)ERR_PTR(-EINVAL)) 42 static inline struct cgroup_subsys_state *bio_blkcg_css(struct bio *bio) in bio_blkcg_css()
|
H A D | cgroup-defs.h | 155 struct cgroup_subsys_state { struct 202 struct cgroup_subsys_state *parent; argument 394 struct cgroup_subsys_state self; 670 struct cgroup_subsys_state *(*css_alloc)(struct cgroup_subsys_state *parent_css); 671 int (*css_online)(struct cgroup_subsys_state *css); 672 void (*css_offline)(struct cgroup_subsys_state *css); 674 void (*css_free)(struct cgroup_subsys_state *css); 675 void (*css_reset)(struct cgroup_subsys_state *css); 678 struct cgroup_subsys_state *css); 680 struct cgroup_subsys_state *css); [all …]
|
H A D | cgroup_refcnt.h | 8 void css_get(struct cgroup_subsys_state *css) in css_get() 23 void css_get_many(struct cgroup_subsys_state *css, unsigned int n) in CGROUP_REF_EXPORT() 42 bool css_tryget(struct cgroup_subsys_state *css) in CGROUP_REF_EXPORT() 61 bool css_tryget_online(struct cgroup_subsys_state *css) in CGROUP_REF_EXPORT() 76 void css_put(struct cgroup_subsys_state *css) in CGROUP_REF_EXPORT() 91 void css_put_many(struct cgroup_subsys_state *css, unsigned int n) in CGROUP_REF_EXPORT()
|
H A D | backing-dev.h | 155 struct cgroup_subsys_state *memcg_css); 157 struct cgroup_subsys_state *memcg_css, 160 void wb_blkcg_offline(struct cgroup_subsys_state *css); 193 struct cgroup_subsys_state *memcg_css; in wb_find_current() 232 struct cgroup_subsys_state *memcg_css; in wb_get_create_current() 367 static inline void wb_blkcg_offline(struct cgroup_subsys_state *css) in wb_blkcg_offline()
|
H A D | kthread.h | 219 struct cgroup_subsys_state; 222 void kthread_associate_blkcg(struct cgroup_subsys_state *css); 223 struct cgroup_subsys_state *kthread_blkcg(void); 225 static inline void kthread_associate_blkcg(struct cgroup_subsys_state *css) { } in kthread_associate_blkcg()
|
H A D | misc_cgroup.h | 49 struct cgroup_subsys_state css; 71 static inline struct misc_cg *css_misc(struct cgroup_subsys_state *css) in css_misc()
|
H A D | backing-dev-defs.h | 149 struct cgroup_subsys_state *memcg_css; /* the associated memcg */ 150 struct cgroup_subsys_state *blkcg_css; /* and blkcg */
|
H A D | cgroup_rdma.h | 20 struct cgroup_subsys_state css;
|
/openbmc/linux/kernel/cgroup/ |
H A D | pids.c | 42 struct cgroup_subsys_state css; 69 static struct cgroup_subsys_state * 70 pids_css_alloc(struct cgroup_subsys_state *parent) in pids_css_alloc() 194 struct cgroup_subsys_state *dst_css; in pids_can_attach() 198 struct cgroup_subsys_state *old_css; in pids_can_attach() 219 struct cgroup_subsys_state *dst_css; in pids_cancel_attach() 223 struct cgroup_subsys_state *old_css; in pids_cancel_attach() 240 struct cgroup_subsys_state *css; in pids_can_fork() 264 struct cgroup_subsys_state *css; in pids_cancel_fork() 285 struct cgroup_subsys_state *css = of_css(of); in pids_max_write() [all …]
|
H A D | legacy_freezer.c | 45 struct cgroup_subsys_state css; 92 static struct cgroup_subsys_state * 93 freezer_css_alloc(struct cgroup_subsys_state *parent_css) in freezer_css_alloc() 112 static int freezer_css_online(struct cgroup_subsys_state *css) in freezer_css_online() 139 static void freezer_css_offline(struct cgroup_subsys_state *css) in freezer_css_offline() 155 static void freezer_css_free(struct cgroup_subsys_state *css) in freezer_css_free() 172 struct cgroup_subsys_state *new_css; in freezer_attach() 256 static void update_if_frozen(struct cgroup_subsys_state *css) in update_if_frozen() 259 struct cgroup_subsys_state *pos; in update_if_frozen() 297 struct cgroup_subsys_state *css = seq_css(m), *pos; in freezer_read() [all …]
|
H A 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()
|
H A D | cgroup.c | 542 struct cgroup_subsys_state *css; in cgroup_e_css() 572 struct cgroup_subsys_state *css; in cgroup_get_e_css() 3656 struct cgroup_subsys_state *css; in cgroup_tryget_css() 3671 struct cgroup_subsys_state *css; in cgroup_extra_stat_show() 3690 struct cgroup_subsys_state *css; in cgroup_local_stat_show() 3968 struct cgroup_subsys_state *css; in cgroup_kill() 4052 struct cgroup_subsys_state *css; in cgroup_file_write() 4524 struct cgroup_subsys_state *css_next_child(struct cgroup_subsys_state *pos, in css_next_child() 4592 struct cgroup_subsys_state * 4634 struct cgroup_subsys_state * [all …]
|
H A D | cpuset.c | 92 struct cgroup_subsys_state css; 468 struct cgroup_subsys_state *css; in partition_is_populated() 687 struct cgroup_subsys_state *css; in validate_change_legacy() 732 struct cgroup_subsys_state *css; in validate_change() 817 struct cgroup_subsys_state *pos_css; in update_domain_attr_tree() 1876 struct cgroup_subsys_state *css; in update_cpumask() 2540 struct cgroup_subsys_state *css; in cpuset_can_attach() 2616 struct cgroup_subsys_state *css; in cpuset_cancel_attach() 2668 struct cgroup_subsys_state *css; in cpuset_attach() 3233 static struct cgroup_subsys_state * [all …]
|
H A D | rdma.c | 67 static struct rdma_cgroup *css_rdmacg(struct cgroup_subsys_state *css) in css_rdmacg() 564 static struct cgroup_subsys_state * 565 rdmacg_css_alloc(struct cgroup_subsys_state *parent) in rdmacg_css_alloc() 577 static void rdmacg_css_free(struct cgroup_subsys_state *css) in rdmacg_css_free() 593 static void rdmacg_css_offline(struct cgroup_subsys_state *css) in rdmacg_css_offline()
|
H A D | misc.c | 383 static struct cgroup_subsys_state * 384 misc_cg_alloc(struct cgroup_subsys_state *parent_css) in misc_cg_alloc() 411 static void misc_cg_free(struct cgroup_subsys_state *css) in misc_cg_free()
|
/openbmc/linux/net/core/ |
H A 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() 101 struct cgroup_subsys_state *css; in cgrp_attach() 109 static u64 read_classid(struct cgroup_subsys_state *css, struct cftype *cft) in read_classid() 114 static int write_classid(struct cgroup_subsys_state *css, struct cftype *cft, in write_classid()
|
H A 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() 232 struct cgroup_subsys_state *css; in net_prio_attach()
|
/openbmc/linux/kernel/sched/ |
H A D | cpuacct.c | 25 struct cgroup_subsys_state css; 31 static inline struct cpuacct *css_ca(struct cgroup_subsys_state *css) in css_ca() 54 static struct cgroup_subsys_state * 55 cpuacct_css_alloc(struct cgroup_subsys_state *parent_css) in cpuacct_css_alloc() 85 static void cpuacct_css_free(struct cgroup_subsys_state *css) in cpuacct_css_free() 161 static u64 __cpuusage_read(struct cgroup_subsys_state *css, in __cpuusage_read() 174 static u64 cpuusage_user_read(struct cgroup_subsys_state *css, in cpuusage_user_read() 180 static u64 cpuusage_sys_read(struct cgroup_subsys_state *css, in cpuusage_sys_read() 186 static u64 cpuusage_read(struct cgroup_subsys_state *css, struct cftype *cft) in cpuusage_read() 191 static int cpuusage_write(struct cgroup_subsys_state *css, struct cftype *cft, in cpuusage_write()
|
/openbmc/linux/kernel/bpf/ |
H A D | cgroup_iter.c | 51 struct cgroup_subsys_state *start_css; 86 struct cgroup_subsys_state *css, int in_stop); 103 struct cgroup_subsys_state *curr = (struct cgroup_subsys_state *)v; in cgroup_iter_seq_next() 121 struct cgroup_subsys_state *css, int in_stop) in __cgroup_iter_seq_show() 149 return __cgroup_iter_seq_show(seq, (struct cgroup_subsys_state *)v, in cgroup_iter_seq_show()
|
/openbmc/linux/security/ |
H A D | device_cgroup.c | 44 struct cgroup_subsys_state css; 49 static inline struct dev_cgroup *css_to_devcgroup(struct cgroup_subsys_state *s) in css_to_devcgroup() 188 static int devcgroup_online(struct cgroup_subsys_state *css) in devcgroup_online() 209 static void devcgroup_offline(struct cgroup_subsys_state *css) in devcgroup_offline() 221 static struct cgroup_subsys_state * 222 devcgroup_css_alloc(struct cgroup_subsys_state *parent_css) in devcgroup_css_alloc() 235 static void devcgroup_css_free(struct cgroup_subsys_state *css) in devcgroup_css_free() 551 struct cgroup_subsys_state *pos; in propagate_exception()
|
/openbmc/linux/block/ |
H A D | blk-cgroup.c | 103 static struct cgroup_subsys_state *blkcg_css(void) in blkcg_css() 105 struct cgroup_subsys_state *css; in blkcg_css() 278 struct cgroup_subsys_state *bio_blkcg_css(struct bio *bio) in bio_blkcg_css() 656 static int blkcg_reset_stats(struct cgroup_subsys_state *css, in blkcg_reset_stats() 1352 static void blkcg_css_free(struct cgroup_subsys_state *css) in blkcg_css_free() 1371 static struct cgroup_subsys_state * 1372 blkcg_css_alloc(struct cgroup_subsys_state *parent_css) in blkcg_css_alloc() 2049 struct cgroup_subsys_state *css) in blkg_tryget_closest() 2082 struct cgroup_subsys_state *css) in bio_associate_blkg_from_css() 2107 struct cgroup_subsys_state *css; in bio_associate_blkg() [all …]
|
/openbmc/linux/tools/perf/util/bpf_skel/vmlinux/ |
H A D | vmlinux.h | 79 struct cgroup_subsys_state { struct 84 struct cgroup_subsys_state *subsys[13]; argument
|
/openbmc/linux/mm/ |
H A D | hugetlb_cgroup.c | 54 struct hugetlb_cgroup *hugetlb_cgroup_from_css(struct cgroup_subsys_state *s) in hugetlb_cgroup_from_css() 135 static struct cgroup_subsys_state * 136 hugetlb_cgroup_css_alloc(struct cgroup_subsys_state *parent_css) in hugetlb_cgroup_css_alloc() 175 static void hugetlb_cgroup_css_free(struct cgroup_subsys_state *css) in hugetlb_cgroup_css_free() 224 static void hugetlb_cgroup_css_offline(struct cgroup_subsys_state *css) in hugetlb_cgroup_css_offline() 474 struct cgroup_subsys_state *css; in hugetlb_cgroup_read_numa_stat() 520 static u64 hugetlb_cgroup_read_u64(struct cgroup_subsys_state *css, in hugetlb_cgroup_read_u64()
|
/openbmc/linux/include/net/ |
H A D | netprio_cgroup.h | 24 struct cgroup_subsys_state *css; in task_netprioidx()
|