/linux-4.1.27/include/linux/ |
D | cgroup-defs.h | 85 struct cgroup_subsys_state { struct 96 struct cgroup_subsys_state *parent; argument 170 struct cgroup_subsys_state *subsys[CGROUP_SUBSYS_COUNT]; 204 struct cgroup_subsys_state self; 241 struct cgroup_subsys_state __rcu *subsys[CGROUP_SUBSYS_COUNT]; 352 u64 (*read_u64)(struct cgroup_subsys_state *css, struct cftype *cft); 356 s64 (*read_s64)(struct cgroup_subsys_state *css, struct cftype *cft); 371 int (*write_u64)(struct cgroup_subsys_state *css, struct cftype *cft, 376 int (*write_s64)(struct cgroup_subsys_state *css, struct cftype *cft, 398 struct cgroup_subsys_state *(*css_alloc)(struct cgroup_subsys_state *parent_css); [all …]
|
D | cgroup.h | 42 static inline void css_get(struct cgroup_subsys_state *css) in css_get() 55 static inline void css_get_many(struct cgroup_subsys_state *css, unsigned int n) in css_get_many() 72 static inline bool css_tryget(struct cgroup_subsys_state *css) in css_tryget() 89 static inline bool css_tryget_online(struct cgroup_subsys_state *css) in css_tryget_online() 102 static inline void css_put(struct cgroup_subsys_state *css) in css_put() 115 static inline void css_put_many(struct cgroup_subsys_state *css, unsigned int n) in css_put_many() 200 struct cgroup_subsys_state *of_css(struct kernfs_open_file *of); 208 static inline struct cgroup_subsys_state *seq_css(struct seq_file *seq) in seq_css() 319 static inline struct cgroup_subsys_state *task_css(struct task_struct *task, in task_css() 345 struct cgroup_subsys_state *css_next_child(struct cgroup_subsys_state *pos, [all …]
|
D | blk_types.h | 16 struct cgroup_subsys_state; 79 struct cgroup_subsys_state *bi_css;
|
D | vmpressure.h | 36 extern struct cgroup_subsys_state *vmpressure_to_css(struct vmpressure *vmpr);
|
D | memcontrol.h | 98 extern struct mem_cgroup *mem_cgroup_from_css(struct cgroup_subsys_state *css); 114 extern struct cgroup_subsys_state *mem_cgroup_css(struct mem_cgroup *memcg); 272 static inline struct cgroup_subsys_state
|
D | perf_event.h | 595 struct cgroup_subsys_state css;
|
/linux-4.1.27/net/core/ |
D | netclassid_cgroup.c | 19 static inline struct cgroup_cls_state *css_cls_state(struct cgroup_subsys_state *css) in css_cls_state() 30 static struct cgroup_subsys_state * 31 cgrp_css_alloc(struct cgroup_subsys_state *parent_css) in cgrp_css_alloc() 42 static int cgrp_css_online(struct cgroup_subsys_state *css) in cgrp_css_online() 53 static void cgrp_css_free(struct cgroup_subsys_state *css) in cgrp_css_free() 69 static void cgrp_attach(struct cgroup_subsys_state *css, in cgrp_attach() 83 static u64 read_classid(struct cgroup_subsys_state *css, struct cftype *cft) in read_classid() 88 static int write_classid(struct cgroup_subsys_state *css, struct cftype *cft, in write_classid()
|
D | netprio_cgroup.c | 89 static u32 netprio_prio(struct cgroup_subsys_state *css, struct net_device *dev) in netprio_prio() 108 static int netprio_set_prio(struct cgroup_subsys_state *css, in netprio_set_prio() 129 static struct cgroup_subsys_state * 130 cgrp_css_alloc(struct cgroup_subsys_state *parent_css) in cgrp_css_alloc() 132 struct cgroup_subsys_state *css; in cgrp_css_alloc() 141 static int cgrp_css_online(struct cgroup_subsys_state *css) in cgrp_css_online() 143 struct cgroup_subsys_state *parent_css = css->parent; in cgrp_css_online() 166 static void cgrp_css_free(struct cgroup_subsys_state *css) in cgrp_css_free() 171 static u64 read_prioidx(struct cgroup_subsys_state *css, struct cftype *cft) in read_prioidx() 221 static void net_prio_attach(struct cgroup_subsys_state *css, in net_prio_attach()
|
/linux-4.1.27/kernel/ |
D | cgroup_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() 158 static void freezer_attach(struct cgroup_subsys_state *new_css, in freezer_attach() 247 static void update_if_frozen(struct cgroup_subsys_state *css) in update_if_frozen() 250 struct cgroup_subsys_state *pos; in update_if_frozen() [all …]
|
D | cgroup.c | 194 static void kill_css(struct cgroup_subsys_state *css); 231 struct cgroup_subsys_state *parent_css = cgrp->self.parent; in cgroup_parent() 249 static struct cgroup_subsys_state *cgroup_css(struct cgroup *cgrp, in cgroup_css() 269 static struct cgroup_subsys_state *cgroup_e_css(struct cgroup *cgrp, in cgroup_e_css() 302 struct cgroup_subsys_state *cgroup_get_e_css(struct cgroup *cgrp, in cgroup_get_e_css() 305 struct cgroup_subsys_state *css; in cgroup_get_e_css() 330 struct cgroup_subsys_state *of_css(struct kernfs_open_file *of) in of_css() 510 static unsigned long css_set_hash(struct cgroup_subsys_state *css[]) in css_set_hash() 594 struct cgroup_subsys_state *template[]) in compare_css_sets() 661 struct cgroup_subsys_state *template[]) in find_existing_css_set() [all …]
|
D | cpuset.c | 76 struct cgroup_subsys_state css; 135 static inline struct cpuset *css_cs(struct cgroup_subsys_state *css) in css_cs() 455 struct cgroup_subsys_state *css; in validate_change() 547 struct cgroup_subsys_state *pos_css; in update_domain_attr_tree() 629 struct cgroup_subsys_state *pos_css; in generate_sched_domains() 869 struct cgroup_subsys_state *pos_css; in update_cpumasks_hier() 1126 struct cgroup_subsys_state *pos_css; in update_nodemasks_hier() 1429 static int cpuset_can_attach(struct cgroup_subsys_state *css, in cpuset_can_attach() 1467 static void cpuset_cancel_attach(struct cgroup_subsys_state *css, in cpuset_cancel_attach() 1482 static void cpuset_attach(struct cgroup_subsys_state *css, in cpuset_attach() [all …]
|
/linux-4.1.27/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() 135 static u64 cpuusage_read(struct cgroup_subsys_state *css, struct cftype *cft) in cpuusage_read() 147 static int cpuusage_write(struct cgroup_subsys_state *css, struct cftype *cft, in cpuusage_write()
|
D | core.c | 7958 static inline struct task_group *css_tg(struct cgroup_subsys_state *css) in css_tg() 7963 static struct cgroup_subsys_state * 7964 cpu_cgroup_css_alloc(struct cgroup_subsys_state *parent_css) in cpu_cgroup_css_alloc() 7981 static int cpu_cgroup_css_online(struct cgroup_subsys_state *css) in cpu_cgroup_css_online() 7991 static void cpu_cgroup_css_free(struct cgroup_subsys_state *css) in cpu_cgroup_css_free() 7998 static void cpu_cgroup_css_offline(struct cgroup_subsys_state *css) in cpu_cgroup_css_offline() 8010 static int cpu_cgroup_can_attach(struct cgroup_subsys_state *css, in cpu_cgroup_can_attach() 8028 static void cpu_cgroup_attach(struct cgroup_subsys_state *css, in cpu_cgroup_attach() 8037 static void cpu_cgroup_exit(struct cgroup_subsys_state *css, in cpu_cgroup_exit() 8038 struct cgroup_subsys_state *old_css, in cpu_cgroup_exit() [all …]
|
D | sched.h | 230 struct cgroup_subsys_state css;
|
/linux-4.1.27/mm/ |
D | hugetlb_cgroup.c | 23 struct cgroup_subsys_state css; 37 struct hugetlb_cgroup *hugetlb_cgroup_from_css(struct cgroup_subsys_state *s) in hugetlb_cgroup_from_css() 70 static struct cgroup_subsys_state * 71 hugetlb_cgroup_css_alloc(struct cgroup_subsys_state *parent_css) in hugetlb_cgroup_css_alloc() 93 static void hugetlb_cgroup_css_free(struct cgroup_subsys_state *css) in hugetlb_cgroup_css_free() 145 static void hugetlb_cgroup_css_offline(struct cgroup_subsys_state *css) in hugetlb_cgroup_css_offline() 247 static u64 hugetlb_cgroup_read_u64(struct cgroup_subsys_state *css, in hugetlb_cgroup_read_u64()
|
D | memcontrol.c | 264 struct cgroup_subsys_state css; 424 struct mem_cgroup *mem_cgroup_from_css(struct cgroup_subsys_state *s) in mem_cgroup_from_css() 437 struct cgroup_subsys_state *vmpressure_to_css(struct vmpressure *vmpr) in vmpressure_to_css() 466 struct cgroup_subsys_state *css; in mem_cgroup_from_id() 594 struct cgroup_subsys_state *mem_cgroup_css(struct mem_cgroup *memcg) in mem_cgroup_css() 1014 struct cgroup_subsys_state *css = NULL; in mem_cgroup_iter() 3073 static u64 mem_cgroup_hierarchy_read(struct cgroup_subsys_state *css, in mem_cgroup_hierarchy_read() 3079 static int mem_cgroup_hierarchy_write(struct cgroup_subsys_state *css, in mem_cgroup_hierarchy_write() 3155 static u64 mem_cgroup_read_u64(struct cgroup_subsys_state *css, in mem_cgroup_read_u64() 3369 static u64 mem_cgroup_move_charge_read(struct cgroup_subsys_state *css, in mem_cgroup_move_charge_read() [all …]
|
D | vmpressure.c | 80 struct cgroup_subsys_state *css = vmpressure_to_css(vmpr); in vmpressure_parent()
|
D | slab_common.c | 481 struct cgroup_subsys_state *css = mem_cgroup_css(memcg); in memcg_create_kmem_cache()
|
D | memory-failure.c | 137 struct cgroup_subsys_state *css; in hwpoison_filter_task()
|
/linux-4.1.27/security/ |
D | device_cgroup.c | 49 struct cgroup_subsys_state css; 54 static inline struct dev_cgroup *css_to_devcgroup(struct cgroup_subsys_state *s) in css_to_devcgroup() 182 static int devcgroup_online(struct cgroup_subsys_state *css) in devcgroup_online() 203 static void devcgroup_offline(struct cgroup_subsys_state *css) in devcgroup_offline() 215 static struct cgroup_subsys_state * 216 devcgroup_css_alloc(struct cgroup_subsys_state *parent_css) in devcgroup_css_alloc() 229 static void devcgroup_css_free(struct cgroup_subsys_state *css) in devcgroup_css_free() 544 struct cgroup_subsys_state *pos; in propagate_exception()
|
/linux-4.1.27/block/ |
D | blk-cgroup.c | 444 static int blkcg_reset_stats(struct cgroup_subsys_state *css, in blkcg_reset_stats() 634 struct cgroup_subsys_state *pos_css; in blkg_stat_recursive_sum() 667 struct cgroup_subsys_state *pos_css; in blkg_rwstat_recursive_sum() 794 static void blkcg_css_offline(struct cgroup_subsys_state *css) in blkcg_css_offline() 818 static void blkcg_css_free(struct cgroup_subsys_state *css) in blkcg_css_free() 826 static struct cgroup_subsys_state * 827 blkcg_css_alloc(struct cgroup_subsys_state *parent_css) in blkcg_css_alloc() 908 static int blkcg_can_attach(struct cgroup_subsys_state *css, in blkcg_can_attach()
|
D | blk-cgroup.h | 46 struct cgroup_subsys_state css; 180 static inline struct blkcg *css_to_blkcg(struct cgroup_subsys_state *css) in css_to_blkcg()
|
D | blk-throttle.c | 1360 struct cgroup_subsys_state *pos_css; in tg_set_conf() 1629 struct cgroup_subsys_state *pos_css; in blk_throtl_drain()
|
D | cfq-iosched.c | 1728 static int __cfq_set_weight(struct cgroup_subsys_state *css, struct cftype *cft, in __cfq_set_weight() 1763 static int cfq_set_weight(struct cgroup_subsys_state *css, struct cftype *cft, in cfq_set_weight() 1769 static int cfq_set_leaf_weight(struct cgroup_subsys_state *css, in cfq_set_leaf_weight()
|
D | bio.c | 2002 struct cgroup_subsys_state *css; in bio_associate_current()
|
/linux-4.1.27/include/net/ |
D | netprio_cgroup.h | 32 struct cgroup_subsys_state *css; in task_netprioidx()
|
D | cls_cgroup.h | 23 struct cgroup_subsys_state css;
|
/linux-4.1.27/net/ipv4/ |
D | tcp_memcontrol.c | 141 static u64 tcp_cgroup_read(struct cgroup_subsys_state *css, struct cftype *cft) in tcp_cgroup_read()
|
/linux-4.1.27/Documentation/cgroups/ |
D | cgroups.txt | 175 cgroup_subsys_state objects, one for each cgroup subsystem 179 cgroup_subsys_state objects. This is because accessing the 537 struct cgroup_subsys_state *css_alloc(struct cgroup *cgrp) 544 a structure of type cgroup_subsys_state (typically embedded in a 602 void css_reset(struct cgroup_subsys_state *css)
|
/linux-4.1.27/kernel/events/ |
D | core.c | 591 struct cgroup_subsys_state *css; in perf_cgroup_connect() 9059 static struct cgroup_subsys_state * 9060 perf_cgroup_css_alloc(struct cgroup_subsys_state *parent_css) in perf_cgroup_css_alloc() 9077 static void perf_cgroup_css_free(struct cgroup_subsys_state *css) in perf_cgroup_css_free() 9092 static void perf_cgroup_attach(struct cgroup_subsys_state *css, in perf_cgroup_attach() 9101 static void perf_cgroup_exit(struct cgroup_subsys_state *css, in perf_cgroup_exit() 9102 struct cgroup_subsys_state *old_css, in perf_cgroup_exit()
|