Home
last modified time | relevance | path

Searched refs:css_set (Results 1 – 13 of 13) 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 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()
H A Dcgroup.c748 struct css_set init_css_set = {
772 static bool css_set_threaded(struct css_set *cset) in css_set_threaded()
786 static bool css_set_populated(struct css_set *cset) in css_set_populated()
850 static void css_set_update_populated(struct css_set *cset, bool populated) in css_set_update_populated()
866 static void css_set_skip_task_iters(struct css_set *cset, in css_set_skip_task_iters()
891 struct css_set *from_cset, struct css_set *to_cset, in css_set_move_task()
945 void put_css_set_locked(struct css_set *cset) in put_css_set_locked()
992 static bool compare_css_sets(struct css_set *cset, in compare_css_sets()
993 struct css_set *old_cset, in compare_css_sets()
1071 static struct css_set *find_existing_css_set(struct css_set *old_cset, in find_existing_css_set()
[all …]
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 Dcpuset.c3633 static int cpuset_can_fork(struct task_struct *task, struct css_set *cset) in cpuset_can_fork()
3672 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.h255 struct css_set { struct
272 struct css_set *dom_cset; argument
336 struct css_set *mg_dst_cset; argument
751 struct css_set *cset);
752 void (*cancel_fork)(struct task_struct *task, struct css_set *cset);
H A Dcgroup.h64 struct css_set *cur_cset;
65 struct css_set *cur_dcset;
77 extern struct css_set init_css_set;
438 static inline struct css_set *task_css_set(struct task_struct *task) in task_css_set()
569 struct css_set *cset = task_css_set(task); in task_under_cgroup_hierarchy()
790 struct css_set *root_cset;
/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.c7105 struct css_set __rcu *cgroups; in BTF_TYPE_SAFE_RCU()
7115 BTF_TYPE_SAFE_RCU(struct css_set) { in BTF_TYPE_SAFE_RCU() argument
7171 BTF_TYPE_EMIT(BTF_TYPE_SAFE_RCU(struct css_set)); in type_is_rcu()