Home
last modified time | relevance | path

Searched refs:cgroup_subsys_state (Results 1 – 25 of 53) sorted by relevance

123

/linux/include/linux/
A Dcgroup.h143 struct cgroup_subsys_state *css_next_child(struct cgroup_subsys_state *pos,
144 struct cgroup_subsys_state *parent);
145 struct cgroup_subsys_state *css_next_descendant_pre(struct cgroup_subsys_state *pos,
146 struct cgroup_subsys_state *css);
147 struct cgroup_subsys_state *css_rightmost_descendant(struct cgroup_subsys_state *pos);
148 struct cgroup_subsys_state *css_next_descendant_post(struct cgroup_subsys_state *pos,
149 struct cgroup_subsys_state *css);
154 struct cgroup_subsys_state **dst_cssp);
506 static inline struct cgroup_subsys_state *
509 struct cgroup_subsys_state *css; in task_get_css()
[all …]
A Dcgroup-defs.h142 struct cgroup_subsys_state { struct
189 struct cgroup_subsys_state *parent; argument
205 struct cgroup_subsys_state *subsys[CGROUP_SUBSYS_COUNT];
362 struct cgroup_subsys_state self;
626 struct cgroup_subsys_state *(*css_alloc)(struct cgroup_subsys_state *parent_css);
627 int (*css_online)(struct cgroup_subsys_state *css);
628 void (*css_offline)(struct cgroup_subsys_state *css);
630 void (*css_free)(struct cgroup_subsys_state *css);
631 void (*css_reset)(struct cgroup_subsys_state *css);
634 struct cgroup_subsys_state *css);
[all …]
A Dkthread.h212 struct cgroup_subsys_state;
215 void kthread_associate_blkcg(struct cgroup_subsys_state *css);
216 struct cgroup_subsys_state *kthread_blkcg(void);
218 static inline void kthread_associate_blkcg(struct cgroup_subsys_state *css) { } in kthread_associate_blkcg()
219 static inline struct cgroup_subsys_state *kthread_blkcg(void) in kthread_blkcg()
A Dblk-cgroup.h49 struct cgroup_subsys_state css;
180 extern struct cgroup_subsys_state * const blkcg_root_css;
222 static inline struct cgroup_subsys_state *blkcg_css(void) in blkcg_css()
224 struct cgroup_subsys_state *css; in blkcg_css()
232 static inline struct blkcg *css_to_blkcg(struct cgroup_subsys_state *css) in css_to_blkcg()
275 struct cgroup_subsys_state *css; in blk_cgroup_congested()
628 #define blkcg_root_css ((struct cgroup_subsys_state *)ERR_PTR(-EINVAL))
679 struct cgroup_subsys_state *css; in blkcg_set_fc_appid()
A Dmisc_cgroup.h48 struct cgroup_subsys_state css;
72 static inline struct misc_cg *css_misc(struct cgroup_subsys_state *css) in css_misc()
A Dbacking-dev.h159 struct cgroup_subsys_state *memcg_css);
161 struct cgroup_subsys_state *memcg_css,
198 struct cgroup_subsys_state *memcg_css; in wb_find_current()
237 struct cgroup_subsys_state *memcg_css; in wb_get_create_current()
A Dbacking-dev-defs.h158 struct cgroup_subsys_state *memcg_css; /* the associated memcg */
159 struct cgroup_subsys_state *blkcg_css; /* and blkcg */
A Dcgroup_rdma.h20 struct cgroup_subsys_state css;
/linux/kernel/cgroup/
A Dpids.c42 struct cgroup_subsys_state css;
68 static struct cgroup_subsys_state *
69 pids_css_alloc(struct cgroup_subsys_state *parent) in pids_css_alloc()
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()
244 struct cgroup_subsys_state *css; in pids_cancel_fork()
265 struct cgroup_subsys_state *css = of_css(of); in pids_max_write()
[all …]
A Dlegacy_freezer.c44 struct cgroup_subsys_state css;
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()
293 struct cgroup_subsys_state *css = seq_css(m), *pos; in freezer_read()
[all …]
A Ddebug.c14 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()
A Dcgroup.c501 struct cgroup_subsys_state *css; in cgroup_tryget_css()
559 struct cgroup_subsys_state *css; in cgroup_e_css()
589 struct cgroup_subsys_state *css; in cgroup_get_e_css()
3580 struct cgroup_subsys_state *css; in cgroup_extra_stat_show()
3774 struct cgroup_subsys_state *css; in cgroup_kill()
3858 struct cgroup_subsys_state *css; in cgroup_file_write()
4081 struct cgroup_subsys_state *css; in cgroup_apply_cftypes()
4305 struct cgroup_subsys_state *css_next_child(struct cgroup_subsys_state *pos, in css_next_child()
4373 struct cgroup_subsys_state *
4415 struct cgroup_subsys_state *
[all …]
A Dcpuset.c89 struct cgroup_subsys_state css;
615 struct cgroup_subsys_state *css; in validate_change()
707 struct cgroup_subsys_state *pos_css; in update_domain_attr_tree()
794 struct cgroup_subsys_state *pos_css; in generate_sched_domains()
976 struct cgroup_subsys_state *pos_css; in rebuild_root_domains()
1032 struct cgroup_subsys_state *pos_css; in rebuild_sched_domains_locked()
2195 struct cgroup_subsys_state *css; in cpuset_can_attach()
2234 struct cgroup_subsys_state *css; in cpuset_cancel_attach()
2256 struct cgroup_subsys_state *css; in cpuset_attach()
2785 static struct cgroup_subsys_state *
[all …]
A Drdma.c67 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()
A Dmisc.c385 static struct cgroup_subsys_state *
386 misc_cg_alloc(struct cgroup_subsys_state *parent_css) in misc_cg_alloc()
413 static void misc_cg_free(struct cgroup_subsys_state *css) in misc_cg_free()
/linux/net/core/
A Dnetclassid_cgroup.c16 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()
A Dnetprio_cgroup.c93 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()
/linux/kernel/sched/
A Dcpuacct.c30 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()
/linux/security/
A Ddevice_cgroup.c43 struct cgroup_subsys_state css;
48 static inline struct dev_cgroup *css_to_devcgroup(struct cgroup_subsys_state *s) in css_to_devcgroup()
176 static int devcgroup_online(struct cgroup_subsys_state *css) in devcgroup_online()
197 static void devcgroup_offline(struct cgroup_subsys_state *css) in devcgroup_offline()
209 static struct cgroup_subsys_state *
210 devcgroup_css_alloc(struct cgroup_subsys_state *parent_css) in devcgroup_css_alloc()
223 static void devcgroup_css_free(struct cgroup_subsys_state *css) in devcgroup_css_free()
539 struct cgroup_subsys_state *pos; in propagate_exception()
/linux/drivers/block/
A Dloop.h68 struct cgroup_subsys_state *blkcg_css;
69 struct cgroup_subsys_state *memcg_css;
/linux/block/
A Dblk-cgroup.c455 static int blkcg_reset_stats(struct cgroup_subsys_state *css, in blkcg_reset_stats()
1061 static void blkcg_css_free(struct cgroup_subsys_state *css) in blkcg_css_free()
1079 static struct cgroup_subsys_state *
1080 blkcg_css_alloc(struct cgroup_subsys_state *parent_css) in blkcg_css_alloc()
1083 struct cgroup_subsys_state *ret; in blkcg_css_alloc()
1147 static int blkcg_css_online(struct cgroup_subsys_state *css) in blkcg_css_online()
1236 static void blkcg_bind(struct cgroup_subsys_state *root_css) in blkcg_bind()
1710 struct cgroup_subsys_state *css; in blkcg_maybe_throttle_current()
1809 struct cgroup_subsys_state *css) in blkg_tryget_closest()
1843 struct cgroup_subsys_state *css) in bio_associate_blkg_from_css()
[all …]
/linux/mm/
A Dhugetlb_cgroup.c54 struct hugetlb_cgroup *hugetlb_cgroup_from_css(struct cgroup_subsys_state *s) in hugetlb_cgroup_from_css()
126 static struct cgroup_subsys_state *
127 hugetlb_cgroup_css_alloc(struct cgroup_subsys_state *parent_css) in hugetlb_cgroup_css_alloc()
143 static void hugetlb_cgroup_css_free(struct cgroup_subsys_state *css) in hugetlb_cgroup_css_free()
194 static void hugetlb_cgroup_css_offline(struct cgroup_subsys_state *css) in hugetlb_cgroup_css_offline()
421 static u64 hugetlb_cgroup_read_u64(struct cgroup_subsys_state *css, in hugetlb_cgroup_read_u64()
A Dbacking-dev.c445 struct cgroup_subsys_state *memcg_css, gfp_t gfp) in cgwb_create()
448 struct cgroup_subsys_state *blkcg_css; in cgwb_create()
565 struct cgroup_subsys_state *memcg_css) in wb_get_lookup()
575 struct cgroup_subsys_state *blkcg_css; in wb_get_lookup()
598 struct cgroup_subsys_state *memcg_css, in wb_get_create()
A Dmemcontrol.c975 struct cgroup_subsys_state *css = NULL; in mem_cgroup_iter()
3569 static u64 mem_cgroup_read_u64(struct cgroup_subsys_state *css, in mem_cgroup_read_u64()
4720 struct cgroup_subsys_state *css = of_css(of); in memcg_write_event_control()
4723 struct cgroup_subsys_state *cfile_css; in memcg_write_event_control()
5171 static struct cgroup_subsys_state * __ref
5172 mem_cgroup_css_alloc(struct cgroup_subsys_state *parent_css) in mem_cgroup_css_alloc()
5220 static int mem_cgroup_css_online(struct cgroup_subsys_state *css) in mem_cgroup_css_online()
5280 static void mem_cgroup_css_free(struct cgroup_subsys_state *css) in mem_cgroup_css_free()
5891 struct cgroup_subsys_state *css; in mem_cgroup_can_attach()
6146 static u64 memory_current_read(struct cgroup_subsys_state *css, in memory_current_read()
[all …]
/linux/include/net/
A Dnetprio_cgroup.h24 struct cgroup_subsys_state *css; in task_netprioidx()

Completed in 67 milliseconds

123