Home
last modified time | relevance | path

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

/Linux-v6.6/kernel/cgroup/
Dcgroup-internal.h97 struct css_set *cset;
130 struct css_set *cur_cset;
194 void put_css_set_locked(struct css_set *cset);
196 static inline void put_css_set(struct css_set *cset) in put_css_set()
216 static inline void get_css_set(struct css_set *cset) in get_css_set()
241 void cgroup_migrate_add_src(struct css_set *src_cset, struct cgroup *dst_cgrp,
Ddebug.c43 struct css_set *cset; in current_css_set_read()
90 struct css_set *cset; in current_css_set_cg_links_read()
123 struct css_set *cset = link->cset; in cgroup_css_links_read()
138 struct css_set *tcset; in cgroup_css_links_read()
Dcgroup.c726 struct css_set init_css_set = {
750 static bool css_set_threaded(struct css_set *cset) in css_set_threaded()
764 static bool css_set_populated(struct css_set *cset) in css_set_populated()
828 static void css_set_update_populated(struct css_set *cset, bool populated) in css_set_update_populated()
844 static void css_set_skip_task_iters(struct css_set *cset, in css_set_skip_task_iters()
869 struct css_set *from_cset, struct css_set *to_cset, in css_set_move_task()
923 void put_css_set_locked(struct css_set *cset) in put_css_set_locked()
970 static bool compare_css_sets(struct css_set *cset, in compare_css_sets()
971 struct css_set *old_cset, in compare_css_sets()
1049 static struct css_set *find_existing_css_set(struct css_set *old_cset, in find_existing_css_set()
[all …]
Dpids.c238 static int pids_can_fork(struct task_struct *task, struct css_set *cset) in pids_can_fork()
262 static void pids_cancel_fork(struct task_struct *task, struct css_set *cset) in pids_cancel_fork()
Dnamespace.c56 struct css_set *cset; in copy_cgroup_ns()
Dcpuset.c3395 static int cpuset_can_fork(struct task_struct *task, struct css_set *cset) in cpuset_can_fork()
3434 static void cpuset_cancel_fork(struct task_struct *task, struct css_set *cset) in cpuset_cancel_fork()
/Linux-v6.6/include/linux/
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()
Dcgroup-defs.h212 struct css_set { struct
229 struct css_set *dom_cset; argument
293 struct css_set *mg_dst_cset; argument
686 struct css_set *cset);
687 void (*cancel_fork)(struct task_struct *task, struct css_set *cset);
Dcgroup.h65 struct css_set *cur_cset;
66 struct css_set *cur_dcset;
73 extern struct css_set init_css_set;
421 static inline struct css_set *task_css_set(struct task_struct *task) in task_css_set()
552 struct css_set *cset = task_css_set(task); in task_under_cgroup_hierarchy()
775 struct css_set *root_cset;
Dsched.h1225 struct css_set __rcu *cgroups;
/Linux-v6.6/tools/perf/util/bpf_skel/vmlinux/
Dvmlinux.h83 struct css_set { struct
99 struct css_set *cgroups; argument
/Linux-v6.6/include/linux/sched/
Dtask.h16 struct css_set;
43 struct css_set *cset;
/Linux-v6.6/Documentation/admin-guide/cgroup-v1/
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-v6.6/tools/testing/selftests/bpf/progs/
Drcu_read_lock.c33 struct css_set *cgroups; in get_cgroup_id()
/Linux-v6.6/kernel/sched/
Dpsi.c1143 void cgroup_move_task(struct task_struct *task, struct css_set *to) in cgroup_move_task()
/Linux-v6.6/Documentation/bpf/
Dkfuncs.rst252 struct css_set __rcu *cgroups;
/Linux-v6.6/kernel/bpf/
Dverifier.c6044 struct css_set __rcu *cgroups; in BTF_TYPE_SAFE_RCU()
6054 BTF_TYPE_SAFE_RCU(struct css_set) { in BTF_TYPE_SAFE_RCU() argument
6107 BTF_TYPE_EMIT(BTF_TYPE_SAFE_RCU(struct css_set)); in type_is_rcu()