Home
last modified time | relevance | path

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

12

/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 …]
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.c7 .cb[0] = 1, in test_skb_ctx()
8 .cb[1] = 2, in test_skb_ctx()
9 .cb[2] = 3, in test_skb_ctx()
10 .cb[3] = 4, in test_skb_ctx()
11 .cb[4] = 5, in test_skb_ctx()
81 CHECK_ATTR(skb.cb[i] != i + 2, in test_skb_ctx()
84 skb.cb[i], i + 2); in test_skb_ctx()
/tools/testing/selftests/bpf/progs/
Dtest_skb_ctx.c14 if (skb->cb[i] != i + 1) in process()
16 skb->cb[i]++; in process()
Dbtf_dump_test_case_ordering.c55 struct callback_head cb; member
Dtest_verif_scale1.c24 ctx->tc_index = jhash(ptr, nh_off, ctx->cb[0] + i++); \ in balancer_ingress()
Dtest_verif_scale3.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/util/
Dunwind.h26 int (*get_entries)(unwind_entry_cb_t cb, void *arg,
32 int unwind__get_entries(unwind_entry_cb_t cb, void *arg,
67 unwind__get_entries(unwind_entry_cb_t cb __maybe_unused, in unwind__get_entries()
Dunwind-libunwind.c83 int unwind__get_entries(unwind_entry_cb_t cb, void *arg, in unwind__get_entries() argument
88 return thread->mg->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.c221 int unwind__get_entries(unwind_entry_cb_t cb, void *arg, in unwind__get_entries() argument
230 .cb = cb, in unwind__get_entries()
276 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
587 return cb(&e, arg); in entry()
640 static int get_entries(struct unwind_info *ui, unwind_entry_cb_t cb, in get_entries() argument
698 ret = ips[j] ? entry(ips[j], ui->thread, cb, arg) : 0; in get_entries()
704 static int _unwind__get_entries(unwind_entry_cb_t cb, void *arg, in _unwind__get_entries() argument
720 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);
Dhelp-unknown-cmd.c15 void *cb __maybe_unused) in perf_unknown_cmd_config()
Dstat-display.c542 void (*cb)(struct perf_stat_config *config, struct evsel *counter, void *data, in collect_all_aliases()
559 cb(config, alias, data, false); in collect_all_aliases()
564 void (*cb)(struct perf_stat_config *config, struct evsel *counter, void *data, in collect_data()
570 cb(config, counter, data, true); in collect_data()
574 collect_all_aliases(config, counter, cb, data); in collect_data()
Devlist.c1677 perf_evsel__sb_cb_t cb, in perf_evlist__add_sb_event() argument
1691 evsel->side_band.cb = cb; in perf_evlist__add_sb_event()
1729 if (evsel && evsel->side_band.cb) in perf_evlist__poll_thread()
1730 evsel->side_band.cb(event, evsel->side_band.data); in perf_evlist__poll_thread()
Dhist.h176 hists__resort_cb_t cb, void *cb_arg);
180 hists__resort_cb_t cb);
/tools/perf/jvmti/
Dlibjvmti.c354 jvmtiEventCallbacks cb; in Agent_OnLoad() local
399 memset(&cb, 0, sizeof(cb)); in Agent_OnLoad()
401 cb.CompiledMethodLoad = compiled_method_load_cb; in Agent_OnLoad()
402 cb.DynamicCodeGenerated = code_generated_cb; in Agent_OnLoad()
404 ret = (*jvmti)->SetEventCallbacks(jvmti, &cb, sizeof(cb)); in Agent_OnLoad()
/tools/build/feature/
Dtest-jvmti.c7 jvmtiEventCallbacks cb __attribute__((unused)); in main() local
/tools/perf/
Dbuiltin-help.c274 static int perf_help_config(const char *var, const char *value, void *cb) in perf_help_config() argument
276 enum help_format *help_formatp = cb; in perf_help_config()
Dbuiltin-ftrace.c402 static int perf_ftrace_config(const char *var, const char *value, void *cb) in perf_ftrace_config() argument
404 struct perf_ftrace *ftrace = cb; in perf_ftrace_config()
/tools/perf/util/intel-pt-decoder/
Dintel-pt-decoder.h243 int (*lookahead)(void *data, intel_pt_lookahead_cb_t cb, void *cb_data);

12