Home
last modified time | relevance | path

Searched refs:cgrp (Results 1 - 2 of 2) sorted by relevance

/device/soc/rockchip/common/sdk_linux/kernel/cgroup/
H A Dcgroup-v1.c209 void cgroup1_pidlist_destroy_all(struct cgroup *cgrp) in cgroup1_pidlist_destroy_all() argument
213 mutex_lock(&cgrp->pidlist_mutex); in cgroup1_pidlist_destroy_all()
214 list_for_each_entry_safe(l, tmp_l, &cgrp->pidlists, links) in cgroup1_pidlist_destroy_all()
216 mutex_unlock(&cgrp->pidlist_mutex); in cgroup1_pidlist_destroy_all()
219 BUG_ON(!list_empty(&cgrp->pidlists)); in cgroup1_pidlist_destroy_all()
291 static struct cgroup_pidlist *cgroup_pidlist_find(struct cgroup *cgrp, enum cgroup_filetype type) in cgroup_pidlist_find() argument
297 lockdep_assert_held(&cgrp->pidlist_mutex); in cgroup_pidlist_find()
299 list_for_each_entry(l, &cgrp->pidlists, links) if (l->key.type == type && l->key.ns == ns) return l; in cgroup_pidlist_find()
309 static struct cgroup_pidlist *cgroup_pidlist_find_create(struct cgroup *cgrp, enum cgroup_filetype type) in cgroup_pidlist_find_create() argument
313 lockdep_assert_held(&cgrp in cgroup_pidlist_find_create()
338 pidlist_array_load(struct cgroup *cgrp, enum cgroup_filetype type, struct cgroup_pidlist **lp) pidlist_array_load() argument
414 struct cgroup *cgrp = seq_css(s)->cgroup; cgroup_pidlist_start() local
512 struct cgroup *cgrp; cgroup1_procs_write_func() local
[all...]
H A Dcpuset.c2787 * cgrp: control group that the new cpuset will be part of
3659 struct cgroup *cgrp; in cpuset_print_current_mems_allowed() local
3663 cgrp = task_cs(current)->css.cgroup; in cpuset_print_current_mems_allowed()
3665 pr_cont_cgroup_name(cgrp); in cpuset_print_current_mems_allowed()

Completed in 6 milliseconds