Searched refs:cg_id (Results 1 – 7 of 7) sorted by relevance
| /tools/testing/selftests/bpf/progs/ |
| A D | cgroup_hierarchical_stats.c | 61 return bpf_map_update_elem(&attach_counters, &cg_id, in create_attach_counter() 69 __u64 cg_id = cgroup_id(dst_cgrp); in BPF_PROG() local 72 &cg_id); in BPF_PROG() 76 else if (create_percpu_attach_counter(cg_id, 1)) in BPF_PROG() 88 __u64 cg_id = cgroup_id(cgrp); in BPF_PROG() local 95 &cg_id, cpu); in BPF_PROG() 104 if (create_attach_counter(cg_id, delta, 0)) in BPF_PROG() 138 __u64 cg_id = cgrp ? cgroup_id(cgrp) : 0; in BPF_PROG() local 141 if (!cg_id) in BPF_PROG() 150 cg_id); in BPF_PROG() [all …]
|
| A D | iters_task_failure.c | 33 u64 cg_id = bpf_get_current_cgroup_id(); in BPF_PROG() local 34 struct cgroup *cgrp = bpf_cgroup_from_id(cg_id); in BPF_PROG() 68 u64 cg_id = bpf_get_current_cgroup_id(); in BPF_PROG() local 69 struct cgroup *cgrp = bpf_cgroup_from_id(cg_id); in BPF_PROG() 91 u64 cg_id = bpf_get_current_cgroup_id(); in BPF_PROG() local 92 struct cgroup *cgrp = bpf_cgroup_from_id(cg_id); in BPF_PROG()
|
| A D | get_cgroup_id_kern.c | 7 __u64 cg_id; variable 16 cg_id = bpf_get_current_cgroup_id(); in trace()
|
| A D | iters_css_task.c | 19 u64 cg_id; variable 33 cgrp = bpf_cgroup_from_id(cg_id); in BPF_PROG()
|
| /tools/testing/selftests/bpf/prog_tests/ |
| A D | cgroup_iter.c | 25 static unsigned long long cg_id[] = {0, 0, 0, 0}; variable 38 cg_id[i] = get_cgroup_id(cg_path[i]); in setup_cgroups() 121 linfo.cgroup.cgroup_id = (__u64)cg_id[PARENT]; in test_invalid_cgroup_spec() 135 cg_id[PARENT], cg_id[CHILD1], cg_id[CHILD2]); in test_walk_preorder() 146 cg_id[CHILD1], cg_id[CHILD2], cg_id[PARENT]); in test_walk_postorder() 156 skel->bss->terminal_cgroup = cg_id[ROOT]; in test_walk_ancestors_up() 160 cg_id[PARENT], cg_id[ROOT]); in test_walk_ancestors_up() 175 PROLOGUE "%8llu\n" EPILOGUE, cg_id[PARENT]); in test_early_termination() 187 PROLOGUE "%8llu\n" EPILOGUE, cg_id[PARENT]); in test_walk_self_only() 288 PROLOGUE "%8llu\n" EPILOGUE, cg_id[CHILD2]); in test_walk_self_only_css_task()
|
| A D | iters.c | 210 int err, cg_fd, cg_id; in subtest_css_task_iters() local 219 cg_id = get_cgroup_id(cgrp_path); in subtest_css_task_iters() 229 skel->bss->cg_id = cg_id; in subtest_css_task_iters()
|
| A D | cgroup_get_current_cgroup_id.c | 39 ASSERT_EQ(skel->bss->cg_id, ucgid, "compare cgroup ids"); in test_cgroup_get_current_cgroup_id()
|
Completed in 11 milliseconds