Home
last modified time | relevance | path

Searched refs:cb (Results 1 – 25 of 52) sorted by relevance

123

/tools/testing/selftests/bpf/verifier/
Dctx_skb.c396 offsetof(struct __sk_buff, cb[0])),
398 offsetof(struct __sk_buff, cb[0]) + 1),
400 offsetof(struct __sk_buff, cb[0]) + 2),
402 offsetof(struct __sk_buff, cb[0]) + 3),
404 offsetof(struct __sk_buff, cb[1])),
406 offsetof(struct __sk_buff, cb[1]) + 1),
408 offsetof(struct __sk_buff, cb[1]) + 2),
410 offsetof(struct __sk_buff, cb[1]) + 3),
412 offsetof(struct __sk_buff, cb[2])),
414 offsetof(struct __sk_buff, cb[2]) + 1),
[all …]
Druntime_jit.c58 offsetof(struct __sk_buff, cb[0])),
60 offsetof(struct __sk_buff, cb[0])),
80 offsetof(struct __sk_buff, cb[0])),
82 offsetof(struct __sk_buff, cb[0])),
102 offsetof(struct __sk_buff, cb[0])),
104 offsetof(struct __sk_buff, cb[0])),
124 offsetof(struct __sk_buff, cb[0])),
126 offsetof(struct __sk_buff, cb[0])),
146 offsetof(struct __sk_buff, cb[0])),
148 offsetof(struct __sk_buff, cb[0])),
[all …]
Dleak_ptr.c6 offsetof(struct __sk_buff, cb[0])),
9 offsetof(struct __sk_buff, cb[0])),
23 offsetof(struct __sk_buff, cb[0])),
25 offsetof(struct __sk_buff, cb[0])),
39 offsetof(struct __sk_buff, cb[0])),
Dcgroup_skb.c61 offsetof(struct __sk_buff, cb[0])),
63 offsetof(struct __sk_buff, cb[1])),
65 offsetof(struct __sk_buff, cb[2])),
67 offsetof(struct __sk_buff, cb[3])),
69 offsetof(struct __sk_buff, cb[4])),
73 offsetof(struct __sk_buff, cb[0])),
75 offsetof(struct __sk_buff, cb[1])),
77 offsetof(struct __sk_buff, cb[2])),
79 offsetof(struct __sk_buff, cb[3])),
81 offsetof(struct __sk_buff, cb[4])),
/tools/testing/selftests/bpf/prog_tests/
Dskb_ctx.c8 .cb[0] = 1, in test_skb_ctx()
9 .cb[1] = 2, in test_skb_ctx()
10 .cb[2] = 3, in test_skb_ctx()
11 .cb[3] = 4, in test_skb_ctx()
12 .cb[4] = 5, in test_skb_ctx()
88 CHECK_ATTR(skb.cb[i] != i + 2, in test_skb_ctx()
91 skb.cb[i], i + 2); in test_skb_ctx()
Dkfree_skb.c14 } cb = { variable
31 if (CHECK(meta->cb8_0 != cb.cb8[0], "check_cb8_0", "cb8_0 %x != %x\n", in on_sample()
32 meta->cb8_0, cb.cb8[0])) in on_sample()
34 if (CHECK(meta->cb32_0 != cb.cb32[0], "check_cb32_0", in on_sample()
36 meta->cb32_0, cb.cb32[0])) in on_sample()
120 memcpy(skb.cb, &cb, sizeof(cb)); in test_kfree_skb()
Dperf_branches.c61 void (*cb)(struct test_perf_branches *)) in test_perf_branches_common()
93 cb(skel); in test_perf_branches_common()
Dfexit_bpf2bpf.c58 test_cb cb) in test_fexit_bpf2bpf_common() argument
130 if (cb) { in test_fexit_bpf2bpf_common()
131 err = cb(obj); in test_fexit_bpf2bpf_common()
/tools/perf/util/
Dsideband_evlist.c16 evsel__sb_cb_t cb, void *data) in evlist__add_sb_event() argument
29 evsel->side_band.cb = cb; in evlist__add_sb_event()
67 if (evsel && evsel->side_band.cb) in perf_evlist__poll_thread()
68 evsel->side_band.cb(event, evsel->side_band.data); in perf_evlist__poll_thread()
84 void evlist__set_cb(struct evlist *evlist, evsel__sb_cb_t cb, void *data) in evlist__set_cb() argument
92 evsel->side_band.cb = cb; in evlist__set_cb()
Dunwind.h24 int (*get_entries)(unwind_entry_cb_t cb, void *arg,
30 int unwind__get_entries(unwind_entry_cb_t cb, void *arg,
64 unwind__get_entries(unwind_entry_cb_t cb __maybe_unused, in unwind__get_entries()
Dunwind-libunwind.c81 int unwind__get_entries(unwind_entry_cb_t cb, void *arg, in unwind__get_entries() argument
86 return thread->maps->unwind_libunwind_ops->get_entries(cb, arg, thread, data, max_stack); in unwind__get_entries()
Dunwind-libdw.h19 unwind_entry_cb_t cb; member
Dcolor_config.c40 void *cb __maybe_unused) in perf_color_default_config()
Dunwind-libdw.c222 int unwind__get_entries(unwind_entry_cb_t cb, void *arg, in unwind__get_entries() argument
231 .cb = cb, in unwind__get_entries()
277 err = ui->entries[j].ip ? ui->cb(&ui->entries[j], ui->arg) : 0; in unwind__get_entries()
Dunwind-libunwind-local.c573 unwind_entry_cb_t cb, void *arg) in entry() argument
588 return cb(&e, arg); in entry()
641 static int get_entries(struct unwind_info *ui, unwind_entry_cb_t cb, in get_entries() argument
699 ret = ips[j] ? entry(ips[j], ui->thread, cb, arg) : 0; in get_entries()
705 static int _unwind__get_entries(unwind_entry_cb_t cb, void *arg, in _unwind__get_entries() argument
721 return get_entries(&ui, cb, arg, max_stack); in _unwind__get_entries()
Dcolor.h34 int perf_color_default_config(const char *var, const char *value, void *cb);
/tools/testing/selftests/bpf/progs/
Dtest_skb_ctx.c14 if (skb->cb[i] != i + 1) in process()
16 skb->cb[i]++; in process()
Dkfree_skb.c48 char cb[48]; member
80 cb8 = (__u8 *)&skb->cb; in BPF_PROG()
81 cb32 = (__u32 *)&skb->cb; in BPF_PROG()
Dbtf_dump_test_case_ordering.c55 struct callback_head cb; member
Dnetif_receive_skb.c234 { .cb = {1, 2, 3, 4, 5,},}); in BPF_PROG()
237 { .cb = { 1, 2, 3, 4, 5},}); in BPF_PROG()
241 { .cb = { 0, 0, 1, 0, 0},}); in BPF_PROG()
Dtest_verif_scale3.c24 ctx->tc_index = jhash(ptr, nh_off, ctx->cb[0] + i++); \ in balancer_ingress()
Dtest_verif_scale1.c24 ctx->tc_index = jhash(ptr, nh_off, ctx->cb[0] + i++); \ in balancer_ingress()
Dtest_verif_scale2.c24 ctx->tc_index = jhash(ptr, nh_off, ctx->cb[0] + i++); \ in balancer_ingress()
/tools/perf/jvmti/
Dlibjvmti.c340 jvmtiEventCallbacks cb; in Agent_OnLoad() local
385 memset(&cb, 0, sizeof(cb)); in Agent_OnLoad()
387 cb.CompiledMethodLoad = compiled_method_load_cb; in Agent_OnLoad()
388 cb.DynamicCodeGenerated = code_generated_cb; in Agent_OnLoad()
390 ret = (*jvmti)->SetEventCallbacks(jvmti, &cb, sizeof(cb)); in Agent_OnLoad()
/tools/build/feature/
Dtest-jvmti.c7 jvmtiEventCallbacks cb __attribute__((unused)); in main() local

123