/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/ |
D | cgrp_local_storage.c | 174 static void test_cgroup_iter_sleepable(int cgroup_fd, __u64 cgroup_id) in test_cgroup_iter_sleepable() argument 210 ASSERT_EQ(skel->bss->cgroup_id, cgroup_id, "cgroup_id"); in test_cgroup_iter_sleepable() 217 static void test_yes_rcu_lock(__u64 cgroup_id) in test_yes_rcu_lock() argument 240 ASSERT_EQ(skel->bss->cgroup_id, cgroup_id, "cgroup_id"); in test_yes_rcu_lock() 283 __u64 cgroup_id; in cgrp2_local_storage() local 292 cgroup_id = get_cgroup_id("/cgrp_local_storage"); in cgrp2_local_storage() 302 test_cgroup_iter_sleepable(cgroup_fd, cgroup_id); in cgrp2_local_storage() 304 test_yes_rcu_lock(cgroup_id); in cgrp2_local_storage()
|
D | rcu_read_lock.c | 13 static unsigned long long cgroup_id; variable 47 ASSERT_EQ(skel->bss->cgroup_id, cgroup_id, "cgroup_id"); in test_success() 143 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 | 121 linfo.cgroup.cgroup_id = (__u64)cg_id[PARENT]; in test_invalid_cgroup_spec()
|
/linux-6.12.1/tools/testing/selftests/bpf/progs/ |
D | cgrp_ls_sleepable.c | 19 __u64 cgroup_id; variable 40 cgroup_id = cgrp->kn->id; in cgroup_iter() 54 cgroup_id = cgrp->kn->id; in __no_rcu_lock() 112 cgroup_id = cgrp->kn->id; in yes_rcu_lock() 123 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 | iters_css_task.c | 50 static inline u64 cgroup_id(struct cgroup *cgrp) in cgroup_id() function 73 BPF_SEQ_PRINTF(seq, "%8llu\n", 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.12.1/tools/perf/util/ |
D | bpf-filter.y | 94 unsigned long cgroup_id = 0; 103 cgroup_id = cgrp->id; 105 $$ = perf_bpf_filter_expr__new($1.term, $1.part, $2, cgroup_id);
|
D | cgroup.c | 55 uint64_t cgroup_id; in __read_cgroup_id() member 59 handle.fh.handle_bytes = sizeof(handle.cgroup_id); in __read_cgroup_id() 63 return handle.cgroup_id; in __read_cgroup_id()
|
D | bpf_off_cpu.c | 31 u64 cgroup_id; member 379 data.array[n++] = key.cgroup_id; in off_cpu_write()
|
/linux-6.12.1/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); 223 __entry->id = cgroup_id(cgrp);
|
/linux-6.12.1/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()
|
/linux-6.12.1/tools/build/feature/ |
D | test-file-handle.c | 11 uint64_t cgroup_id; in main() member
|
/linux-6.12.1/tools/cgroup/ |
D | memcg_slabinfo.py | 168 cgroup_id = stat(args.cgroup).st_ino 170 memcg = MEMCGS[cgroup_id]
|
/linux-6.12.1/tools/bpf/bpftool/Documentation/ |
D | bpftool-link.rst | 81 cgroup_id 614 attach_type egress 91 "cgroup_id": 614,
|
/linux-6.12.1/tools/perf/util/bpf_skel/ |
D | off_cpu.bpf.c | 32 __u64 cgroup_id; member 219 .cgroup_id = needs_cgroup ? get_cgroup_id(next) : 0, in off_cpu_stat()
|
/linux-6.12.1/net/ipv4/ |
D | inet_diag.c | 47 u64 cgroup_id; member 179 cgroup_id(sock_cgroup_ptr(&sk->sk_cgrp_data)), in inet_diag_msg_attrs_fill() 759 u64 cgroup_id; in inet_diag_bc_run() local 761 cgroup_id = get_unaligned((const u64 *)(op + 1)); in inet_diag_bc_run() 762 if (cgroup_id != entry->cgroup_id) in inet_diag_bc_run() 820 entry.cgroup_id = sk_fullsock(sk) ? in inet_diag_bc_sk() 821 cgroup_id(sock_cgroup_ptr(&sk->sk_cgrp_data)) : 0; in inet_diag_bc_sk()
|
/linux-6.12.1/tools/bpf/bpftool/ |
D | link.c | 217 jsonw_lluint_field(wtr, "cgroup_id", info->iter.cgroup.cgroup_id); in show_iter_json() 507 info->cgroup.cgroup_id); in show_link_close_json() 647 printf("cgroup_id %llu ", info->iter.cgroup.cgroup_id); in show_iter_plain() 899 printf("\n\tcgroup_id %zu ", (size_t)info->cgroup.cgroup_id); in show_link_close_plain()
|
/linux-6.12.1/include/linux/ |
D | cgroup.h | 324 static inline u64 cgroup_id(const struct cgroup *cgrp) in cgroup_id() function 640 static inline u64 cgroup_id(const struct cgroup *cgrp) { return 1; } in cgroup_id() function
|
/linux-6.12.1/mm/ |
D | internal.h | 326 unsigned short cgroup_id; in swap_pte_batch() local 332 cgroup_id = lookup_swap_cgroup_id(entry); in swap_pte_batch() 338 if (lookup_swap_cgroup_id(pte_to_swp_entry(pte)) != cgroup_id) in swap_pte_batch()
|
/linux-6.12.1/net/netfilter/ |
D | nft_socket.c | 53 cgid = cgroup_id(cgrp); in nft_sock_get_eval_cgroupv2()
|
/linux-6.12.1/include/uapi/linux/ |
D | bpf.h | 134 __u64 cgroup_id; member 6637 __u64 cgroup_id; member 6655 __u64 cgroup_id; member
|