/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/ |
D | cgrp_local_storage.c | 155 static void test_cgroup_iter_sleepable(int cgroup_fd, __u64 cgroup_id) in test_cgroup_iter_sleepable() argument 189 ASSERT_EQ(skel->bss->cgroup_id, cgroup_id, "cgroup_id"); in test_cgroup_iter_sleepable() 196 static void test_yes_rcu_lock(__u64 cgroup_id) in test_yes_rcu_lock() argument 218 ASSERT_EQ(skel->bss->cgroup_id, cgroup_id, "cgroup_id"); in test_yes_rcu_lock() 241 __u64 cgroup_id; in test_cgrp_local_storage() local 248 cgroup_id = get_cgroup_id("/cgrp_local_storage"); in test_cgrp_local_storage() 258 test_cgroup_iter_sleepable(cgroup_fd, cgroup_id); in test_cgrp_local_storage() 260 test_yes_rcu_lock(cgroup_id); in test_cgrp_local_storage()
|
D | rcu_read_lock.c | 13 static unsigned long long cgroup_id; variable 43 ASSERT_EQ(skel->bss->cgroup_id, cgroup_id, "cgroup_id"); in test_success() 137 cgroup_id = get_cgroup_id("/rcu_read_lock"); in test_rcu_read_lock()
|
D | cgroup_link.c | 220 CHECK(info.cgroup.cgroup_id == 0, "cgroup_id", "unexpected %llu\n", info.cgroup.cgroup_id); in serial_test_cgroup_link() 229 CHECK(info.cgroup.cgroup_id != 0, "cgroup_id", "unexpected %llu\n", info.cgroup.cgroup_id); in serial_test_cgroup_link()
|
D | cgroup_hierarchical_stats.c | 193 get_attach_counter(unsigned long long cgroup_id, const char *file_name) in get_attach_counter() argument 208 ASSERT_EQ(id, cgroup_id, "cgroup_id"); in get_attach_counter()
|
D | cgroup_iter.c | 120 linfo.cgroup.cgroup_id = (__u64)cg_id[PARENT]; in test_invalid_cgroup_spec()
|
/linux-6.6.21/tools/testing/selftests/bpf/progs/ |
D | cgrp_ls_sleepable.c | 19 __u64 cgroup_id; variable 36 cgroup_id = cgrp->kn->id; in cgroup_iter() 56 cgroup_id = cgrp->kn->id; in no_rcu_lock() 76 cgroup_id = cgrp->kn->id; in yes_rcu_lock()
|
D | cgroup_hierarchical_stats.c | 43 static uint64_t cgroup_id(struct cgroup *cgrp) in cgroup_id() function 68 __u64 cg_id = cgroup_id(dst_cgrp); in BPF_PROG() 87 __u64 cg_id = cgroup_id(cgrp); in BPF_PROG() 88 __u64 parent_cg_id = parent ? cgroup_id(parent) : 0; in BPF_PROG() 137 __u64 cg_id = cgrp ? cgroup_id(cgrp) : 0; in BPF_PROG()
|
D | cgroup_iter.c | 12 static inline u64 cgroup_id(struct cgroup *cgrp) in cgroup_id() function 33 BPF_SEQ_PRINTF(seq, "%8llu\n", cgroup_id(cgrp)); in cgroup_id_printer() 35 if (terminal_cgroup == cgroup_id(cgrp)) in cgroup_id_printer()
|
D | rcu_read_lock.c | 20 __u64 flags, task_storage_val, cgroup_id; variable 44 cgroup_id = cgroups->dfl_cgrp->kn->id; in get_cgroup_id()
|
/linux-6.6.21/include/trace/events/ |
D | cgroup.h | 69 __entry->id = cgroup_id(cgrp); 138 __entry->dst_id = cgroup_id(dst_cgrp); 182 __entry->id = cgroup_id(cgrp);
|
/linux-6.6.21/kernel/bpf/ |
D | cgroup_iter.c | 199 u64 id = linfo->cgroup.cgroup_id; in bpf_iter_attach_cgroup() 268 info->iter.cgroup.cgroup_id = cgroup_id(aux->cgroup.start); in bpf_iter_cgroup_fill_link_info()
|
D | cgroup.c | 216 key.cgroup_inode_id = cgroup_id(cgrp); in bpf_cgroup_storages_alloc() 1238 cg_id = cgroup_id(cg_link->cgroup); in bpf_cgroup_link_show_fdinfo() 1257 cg_id = cgroup_id(cg_link->cgroup); in bpf_cgroup_link_fill_link_info() 1260 info->cgroup.cgroup_id = cg_id; in bpf_cgroup_link_fill_link_info()
|
/linux-6.6.21/tools/build/feature/ |
D | test-file-handle.c | 11 uint64_t cgroup_id; in main() member
|
/linux-6.6.21/tools/cgroup/ |
D | memcg_slabinfo.py | 169 cgroup_id = stat(args.cgroup).st_ino 171 memcg = MEMCGS[cgroup_id]
|
/linux-6.6.21/tools/bpf/bpftool/Documentation/ |
D | bpftool-link.rst | 86 cgroup_id 614 attach_type egress 96 "cgroup_id": 614,
|
/linux-6.6.21/tools/perf/util/bpf_skel/ |
D | off_cpu.bpf.c | 32 __u64 cgroup_id; member 218 .cgroup_id = needs_cgroup ? get_cgroup_id(next) : 0, in off_cpu_stat()
|
/linux-6.6.21/net/ipv4/ |
D | inet_diag.c | 47 u64 cgroup_id; member 176 cgroup_id(sock_cgroup_ptr(&sk->sk_cgrp_data)), in inet_diag_msg_attrs_fill() 749 u64 cgroup_id; in inet_diag_bc_run() local 751 cgroup_id = get_unaligned((const u64 *)(op + 1)); in inet_diag_bc_run() 752 if (cgroup_id != entry->cgroup_id) in inet_diag_bc_run() 810 entry.cgroup_id = sk_fullsock(sk) ? in inet_diag_bc_sk() 811 cgroup_id(sock_cgroup_ptr(&sk->sk_cgrp_data)) : 0; in inet_diag_bc_sk()
|
/linux-6.6.21/tools/perf/util/ |
D | cgroup.c | 57 uint64_t cgroup_id; in read_cgroup_id() member 66 handle.fh.handle_bytes = sizeof(handle.cgroup_id); in read_cgroup_id() 70 cgrp->id = handle.cgroup_id; in read_cgroup_id()
|
D | bpf_off_cpu.c | 31 u64 cgroup_id; member 377 data.array[n++] = key.cgroup_id; in off_cpu_write()
|
D | sort.h | 102 struct namespace_id cgroup_id; member
|
/linux-6.6.21/tools/bpf/bpftool/ |
D | link.c | 217 jsonw_lluint_field(wtr, "cgroup_id", info->iter.cgroup.cgroup_id); in show_iter_json() 434 info->cgroup.cgroup_id); in show_link_close_json() 563 printf("cgroup_id %llu ", info->iter.cgroup.cgroup_id); in show_iter_plain() 770 printf("\n\tcgroup_id %zu ", (size_t)info->cgroup.cgroup_id); in show_link_close_plain()
|
/linux-6.6.21/include/linux/ |
D | cgroup.h | 325 static inline u64 cgroup_id(const struct cgroup *cgrp) in cgroup_id() function 642 static inline u64 cgroup_id(const struct cgroup *cgrp) { return 1; } in cgroup_id() function
|
/linux-6.6.21/net/netfilter/ |
D | nft_socket.c | 52 cgid = cgroup_id(cgrp); in nft_sock_get_eval_cgroupv2()
|
/linux-6.6.21/tools/include/uapi/linux/ |
D | bpf.h | 112 __u64 cgroup_id; member 6489 __u64 cgroup_id; member 6507 __u64 cgroup_id; member
|
/linux-6.6.21/include/uapi/linux/ |
D | bpf.h | 112 __u64 cgroup_id; member 6489 __u64 cgroup_id; member 6507 __u64 cgroup_id; member
|