Home
last modified time | relevance | path

Searched refs:dst_cgrp (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/include/trace/events/
Dcgroup.h122 TP_PROTO(struct cgroup *dst_cgrp, const char *path,
125 TP_ARGS(dst_cgrp, path, task, threadgroup),
137 __entry->dst_root = dst_cgrp->root->hierarchy_id;
138 __entry->dst_id = cgroup_id(dst_cgrp);
139 __entry->dst_level = dst_cgrp->level;
152 TP_PROTO(struct cgroup *dst_cgrp, const char *path,
155 TP_ARGS(dst_cgrp, path, task, threadgroup)
160 TP_PROTO(struct cgroup *dst_cgrp, const char *path,
163 TP_ARGS(dst_cgrp, path, task, threadgroup)
/linux-6.6.21/tools/testing/selftests/bpf/progs/
Dcgroup_hierarchical_stats.c65 int BPF_PROG(counter, struct cgroup *dst_cgrp, struct task_struct *leader, in BPF_PROG() argument
68 __u64 cg_id = cgroup_id(dst_cgrp); in BPF_PROG()
78 cgroup_rstat_updated(dst_cgrp, bpf_get_smp_processor_id()); in BPF_PROG()
/linux-6.6.21/kernel/cgroup/
Dcgroup-internal.h239 int cgroup_migrate_vet_dst(struct cgroup *dst_cgrp);
241 void cgroup_migrate_add_src(struct css_set *src_cset, struct cgroup *dst_cgrp,
247 int cgroup_attach_task(struct cgroup *dst_cgrp, struct task_struct *leader,
Dcgroup.c2615 int cgroup_migrate_vet_dst(struct cgroup *dst_cgrp) in cgroup_migrate_vet_dst() argument
2618 if (!cgroup_on_dfl(dst_cgrp)) in cgroup_migrate_vet_dst()
2622 if (!cgroup_is_valid_domain(dst_cgrp->dom_cgrp)) in cgroup_migrate_vet_dst()
2629 if (cgroup_can_be_thread_root(dst_cgrp) || cgroup_is_threaded(dst_cgrp)) in cgroup_migrate_vet_dst()
2633 if (dst_cgrp->subtree_control) in cgroup_migrate_vet_dst()
2692 struct cgroup *dst_cgrp, in cgroup_migrate_add_src() argument
2711 src_cgrp = cset_cgroup_from_root(src_cset, dst_cgrp->root); in cgroup_migrate_add_src()
2719 src_cset->mg_dst_cgrp = dst_cgrp; in cgroup_migrate_add_src()
2835 int cgroup_attach_task(struct cgroup *dst_cgrp, struct task_struct *leader, in cgroup_attach_task() argument
2847 cgroup_migrate_add_src(task_css_set(task), dst_cgrp, &mgctx); in cgroup_attach_task()
[all …]