Home
last modified time | relevance | path

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

/linux-6.12.1/kernel/cgroup/
Dcgroup-internal.h99 struct css_set *cset;
132 struct css_set *cur_cset;
196 void put_css_set_locked(struct css_set *cset);
198 static inline void put_css_set(struct css_set *cset) in put_css_set()
218 static inline void get_css_set(struct css_set *cset) in get_css_set()
243 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.c728 struct css_set init_css_set = {
752 static bool css_set_threaded(struct css_set *cset) in css_set_threaded()
766 static bool css_set_populated(struct css_set *cset) in css_set_populated()
830 static void css_set_update_populated(struct css_set *cset, bool populated) in css_set_update_populated()
846 static void css_set_skip_task_iters(struct css_set *cset, in css_set_skip_task_iters()
871 struct css_set *from_cset, struct css_set *to_cset, in css_set_move_task()
925 void put_css_set_locked(struct css_set *cset) in put_css_set_locked()
972 static bool compare_css_sets(struct css_set *cset, in compare_css_sets()
973 struct css_set *old_cset, in compare_css_sets()
1051 static struct css_set *find_existing_css_set(struct css_set *old_cset, in find_existing_css_set()
[all …]
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()
Dnamespace.c56 struct css_set *cset; in copy_cgroup_ns()
Dcpuset.c3525 static int cpuset_can_fork(struct task_struct *task, struct css_set *cset) in cpuset_can_fork()
3564 static void cpuset_cancel_fork(struct task_struct *task, struct css_set *cset) in cpuset_cancel_fork()
/linux-6.12.1/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.h234 struct css_set { struct
251 struct css_set *dom_cset; argument
315 struct css_set *mg_dst_cset; argument
724 struct css_set *cset);
725 void (*cancel_fork)(struct task_struct *task, struct css_set *cset);
Dcgroup.h63 struct css_set *cur_cset;
64 struct css_set *cur_dcset;
71 extern struct css_set init_css_set;
419 static inline struct css_set *task_css_set(struct task_struct *task) in task_css_set()
550 struct css_set *cset = task_css_set(task); in task_under_cgroup_hierarchy()
773 struct css_set *root_cset;
Dsched.h1274 struct css_set __rcu *cgroups;
/linux-6.12.1/tools/perf/util/bpf_skel/vmlinux/
Dvmlinux.h91 struct css_set { struct
107 struct css_set *cgroups; argument
/linux-6.12.1/include/linux/sched/
Dtask.h18 struct css_set;
45 struct css_set *cset;
/linux-6.12.1/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-6.12.1/tools/testing/selftests/bpf/progs/
Drcu_read_lock.c33 struct css_set *cgroups; in get_cgroup_id()
/linux-6.12.1/kernel/sched/
Dpsi.c1146 void cgroup_move_task(struct task_struct *task, struct css_set *to) in cgroup_move_task()
/linux-6.12.1/Documentation/bpf/
Dkfuncs.rst274 struct css_set __rcu *cgroups;
/linux-6.12.1/kernel/bpf/
Dverifier.c6484 struct css_set __rcu *cgroups; in BTF_TYPE_SAFE_RCU()
6494 BTF_TYPE_SAFE_RCU(struct css_set) { in BTF_TYPE_SAFE_RCU() argument
6547 BTF_TYPE_EMIT(BTF_TYPE_SAFE_RCU(struct css_set)); in type_is_rcu()