Lines Matching refs:cgroups
259 /* collect given cgroups only */
299 /* collect all cgroups first and then match with the pattern */
315 /* collect all cgroups in the cgroup_list */
323 /* allow empty cgroups, i.e., skip */
370 fprintf(stderr, "must define events before cgroups\n");
378 /* allow empty cgroups, i.e., skip */
389 /* nr_cgroups is increased een for empty cgroups */
428 fprintf(stderr, "must define events before cgroups\n");
567 down_write(&env->cgroups.lock);
568 cgrp = __cgroup__findnew(&env->cgroups.tree, id, true, path);
569 up_write(&env->cgroups.lock);
582 down_read(&env->cgroups.lock);
583 cgrp = __cgroup__findnew(&env->cgroups.tree, id, false, NULL);
584 up_read(&env->cgroups.lock);
593 down_write(&env->cgroups.lock);
594 while (!RB_EMPTY_ROOT(&env->cgroups.tree)) {
595 node = rb_first(&env->cgroups.tree);
598 rb_erase(node, &env->cgroups.tree);
601 up_write(&env->cgroups.lock);
616 /* collect all cgroups in the cgroup_list */