Home
last modified time | relevance | path

Searched refs:css_set (Results 1 – 17 of 17) sorted by relevance

/linux/kernel/cgroup/
H A Dcgroup-internal.h99 struct css_set *cset;
132 struct css_set *cur_cset;
197 void put_css_set_locked(struct css_set *cset);
199 static inline void put_css_set(struct css_set *cset) in put_css_set()
219 static inline void get_css_set(struct css_set *cset) in get_css_set()
244 void cgroup_migrate_add_src(struct css_set *src_cset, struct cgroup *dst_cgrp,
H A Dcgroup.c780 struct css_set init_css_set = {
804 static bool css_set_threaded(struct css_set *cset) in css_set_threaded()
818 static bool css_set_populated(struct css_set *cset) in css_set_populated()
882 static void css_set_update_populated(struct css_set *cset, bool populated) in css_set_update_populated()
898 static void css_set_skip_task_iters(struct css_set *cset, in css_set_skip_task_iters()
923 struct css_set *from_cset, struct css_set *to_cset, in css_set_move_task()
978 void put_css_set_locked(struct css_set *cset) in put_css_set_locked()
1025 static bool compare_css_sets(struct css_set *cset, in compare_css_sets()
1026 struct css_set *old_cset, in compare_css_sets()
1104 static struct css_set *find_existing_css_set(struct css_set *old_cset, in find_existing_css_set()
[all …]
H A Ddebug.c43 struct css_set *cset; in current_css_set_read()
88 struct css_set *cset; in current_css_set_cg_links_read()
119 struct css_set *cset = link->cset; in cgroup_css_links_read()
134 struct css_set *tcset; in cgroup_css_links_read()
H A Dpids.c273 static int pids_can_fork(struct task_struct *task, struct css_set *cset) in pids_can_fork()
286 static void pids_cancel_fork(struct task_struct *task, struct css_set *cset) in pids_cancel_fork()
H A Dnamespace.c54 struct css_set *cset; in copy_cgroup_ns()
H A Dcpuset.c3768 static int cpuset_can_fork(struct task_struct *task, struct css_set *cset) in cpuset_can_fork()
3807 static void cpuset_cancel_fork(struct task_struct *task, struct css_set *cset) in cpuset_cancel_fork()
/linux/include/linux/
H A Dpsi.h13 struct css_set;
42 void cgroup_move_task(struct task_struct *p, struct css_set *to);
61 static inline void cgroup_move_task(struct task_struct *p, struct css_set *to) in cgroup_move_task()
H A Dcgroup-defs.h272 struct css_set { struct
289 struct css_set *dom_cset; argument
353 struct css_set *mg_dst_cset; argument
784 struct css_set *cset);
785 void (*cancel_fork)(struct task_struct *task, struct css_set *cset);
H A Dcgroup.h65 struct css_set *cur_cset;
66 struct css_set *cur_dcset;
78 extern struct css_set init_css_set;
445 static inline struct css_set *task_css_set(struct task_struct *task) in task_css_set()
576 struct css_set *cset = task_css_set(task); in task_under_cgroup_hierarchy()
H A Dcgroup_namespace.h11 struct css_set *root_cset;
H A Dsched.h1324 struct css_set __rcu *cgroups;
/linux/tools/perf/util/bpf_skel/vmlinux/
H A Dvmlinux.h91 struct css_set { struct
107 struct css_set *cgroups; argument
/linux/include/linux/sched/
H A Dtask.h18 struct css_set;
45 struct css_set *cset;
/linux/Documentation/admin-guide/cgroup-v1/
H A Dcgroups.rst178 css_set.
180 - A css_set contains a set of reference-counted pointers to
190 field of each task_struct using the css_set, anchored at
191 css_set->tasks.
202 css_set at system boot.
204 - in fork and exit, to attach and detach a task from its css_set.
269 css_set pointer - if there's an already existing css_set with the
271 css_set is allocated. The appropriate existing css_set is located by
278 cg_cgroup_links for a single css_set on its cg_link_list.
281 each css_set that references the cgroup, and sub-iterating over
[all …]
/linux/tools/testing/selftests/bpf/progs/
H A Drcu_read_lock.c34 struct css_set *cgroups; in get_cgroup_id()
/linux/kernel/sched/
H A Dpsi.c1155 void cgroup_move_task(struct task_struct *task, struct css_set *to) in cgroup_move_task()
/linux/kernel/bpf/
H A Dverifier.c7089 struct css_set __rcu *cgroups; in BTF_TYPE_SAFE_RCU()
7099 BTF_TYPE_SAFE_RCU(struct css_set) { in BTF_TYPE_SAFE_RCU() argument
7163 BTF_TYPE_EMIT(BTF_TYPE_SAFE_RCU(struct css_set)); in type_is_rcu()