Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/kernel/cgroup/
H A Dcgroup-internal.h98 struct css_set *cset;
131 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()
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.c775 static bool css_set_threaded(struct css_set *cset) in css_set_threaded()
789 static bool css_set_populated(struct css_set *cset) in css_set_populated()
853 static void css_set_update_populated(struct css_set *cset, bool populated) in css_set_update_populated()
869 static void css_set_skip_task_iters(struct css_set *cset, in css_set_skip_task_iters()
894 struct css_set *from_cset, struct css_set *to_cset, in css_set_move_task()
948 void put_css_set_locked(struct css_set *cset) in put_css_set_locked()
995 static bool compare_css_sets(struct css_set *cset, in compare_css_sets()
996 struct css_set *old_cset, in compare_css_sets()
1074 static struct css_set *find_existing_css_set(struct css_set *old_cset, in find_existing_css_set()
1080 struct css_set *cset; in find_existing_css_set()
[all …]
H A Dpids.c218 static int pids_can_fork(struct task_struct *task, struct css_set *cset) in pids_can_fork()
242 static void pids_cancel_fork(struct task_struct *task, struct css_set *cset) in pids_cancel_fork()
H A Dnamespace.c56 struct css_set *cset; in copy_cgroup_ns()
/OK3568_Linux_fs/kernel/include/linux/
H A Dpsi.h10 struct css_set;
32 void cgroup_move_task(struct task_struct *p, struct css_set *to);
57 static inline void cgroup_move_task(struct task_struct *p, struct css_set *to) in cgroup_move_task()
H A Dcgroup-defs.h196 struct css_set { struct
213 struct css_set *dom_cset; argument
276 struct css_set *mg_dst_cset; argument
286 struct css_set cset; argument
645 struct css_set *cset);
646 void (*cancel_fork)(struct task_struct *task, struct css_set *cset);
H A Dcgroup.h66 struct css_set *cur_cset;
67 struct css_set *cur_dcset;
484 static inline struct css_set *task_css_set(struct task_struct *task) in task_css_set()
617 struct css_set *cset = task_css_set(task); in task_under_cgroup_hierarchy()
873 struct css_set *root_cset;
H A Dsched.h1115 struct css_set __rcu *cgroups;
/OK3568_Linux_fs/kernel/include/linux/sched/
H A Dtask.h16 struct css_set;
36 struct css_set *cset;
/OK3568_Linux_fs/kernel/Documentation/admin-guide/cgroup-v1/
H A Dcgroups.rst176 css_set.
178 - A css_set contains a set of reference-counted pointers to
188 field of each task_struct using the css_set, anchored at
189 css_set->tasks.
200 css_set at system boot.
202 - in fork and exit, to attach and detach a task from its css_set.
267 css_set pointer - if there's an already existing css_set with the
269 css_set is allocated. The appropriate existing css_set is located by
276 cg_cgroup_links for a single css_set on its cg_link_list.
279 each css_set that references the cgroup, and sub-iterating over
[all …]
/OK3568_Linux_fs/kernel/kernel/sched/
H A Dpsi.c1021 void cgroup_move_task(struct task_struct *task, struct css_set *to) in cgroup_move_task()