Home
last modified time | relevance | path

Searched refs:ctx_in (Results 1 – 25 of 30) sorted by relevance

12

/tools/testing/selftests/bpf/prog_tests/
A Dxdp_context_test_run.c37 opts.ctx_in = &ctx; in test_xdp_context_error()
49 struct xdp_md ctx_in, ctx_out; in test_xdp_context_test_run() local
66 opts.ctx_in = bad_ctx; in test_xdp_context_test_run()
74 opts.ctx_in = &ctx_in; in test_xdp_context_test_run()
75 opts.ctx_size_in = sizeof(ctx_in); in test_xdp_context_test_run()
76 memset(&ctx_in, 0, sizeof(ctx_in)); in test_xdp_context_test_run()
77 ctx_in.data_meta = 0; in test_xdp_context_test_run()
78 ctx_in.data = sizeof(__u32); in test_xdp_context_test_run()
79 ctx_in.data_end = ctx_in.data + sizeof(pkt_v4); in test_xdp_context_test_run()
A Ddummy_st_ops.c32 .ctx_in = args, in test_dummy_init_ret_value()
58 .ctx_in = args, in test_dummy_init_ptr_arg()
104 .ctx_in = args, in test_dummy_multiple_args()
133 .ctx_in = args, in test_dummy_sleepable()
158 .ctx_in = args, in test_dummy_sleepable_reject_null()
A Draw_tp_test_run.c17 .ctx_in = args, in test_raw_tp_test_run()
46 opts.ctx_in = args; in test_raw_tp_test_run()
A Dxdp_do_redirect.c105 struct xdp_md ctx_in = { .data = sizeof(__u64), in test_xdp_do_redirect() local
110 .ctx_in = &ctx_in, in test_xdp_do_redirect()
111 .ctx_size_in = sizeof(ctx_in), in test_xdp_do_redirect()
216 ctx_in.ingress_ifindex = ifindex_src; in test_xdp_do_redirect()
A Dskb_helpers.c15 .ctx_in = &skb, in test_skb_helpers()
A Dpro_epilogue.c26 topts.ctx_in = &args; in test_tailcall()
A Dskb_load_bytes.c15 .ctx_in = &skb, in test_skb_load_bytes()
A Dtime_tai.c30 .ctx_in = &skb, in test_time_tai()
A Dtest_profiler.c16 test_attr.ctx_in = args; in sanity_run()
A Dsyscall.c24 .ctx_in = &ctx, in test_syscall_load_prog()
A Dskb_ctx.c26 .ctx_in = &skb, in test_skb_ctx()
A Dkfunc_call.c104 topts.ctx_in = &args; in verify_success()
170 topts.ctx_in = &args; in verify_fail()
A Dtest_ldsx_insn.c101 .ctx_in = &skb, in test_ctx_member_narrow_sign_ext()
A Dkfree_skb.c60 .ctx_in = &skb, in serial_test_kfree_skb()
A Ddynptr.c133 .ctx_in = &skb, in verify_success()
A Dfib_lookup.c309 .ctx_in = &skb, in test_fib_lookup()
/tools/testing/selftests/sched_ext/
A Denq_select_cpu.c34 .ctx_in = args, in test_select_cpu_from_user()
A Dallowed_cpus.c32 .ctx_in = args, in test_select_cpu_from_user()
/tools/perf/util/
A Dbpf_counter.h126 .ctx_in = NULL, in bperf_trigger_reading()
/tools/lib/bpf/
A Dbpf.h480 const void *ctx_in; /* optional */ member
670 const void *ctx_in; /* optional */ member
A Dskel_internal.h350 attr.test.ctx_in = (long) opts->ctx; in bpf_load_and_run()
/tools/testing/selftests/hid/
A Dhid_bpf.c384 .ctx_in = &args, in TEST_F()
430 .ctx_in = &args, in TEST_F()
479 .ctx_in = &args, in TEST_F()
/tools/bpf/bpftool/Documentation/
A Dbpftool-prog.rst39 …ROG* **data_in** *FILE* [**data_out** *FILE* [**data_size_out** *L*]] [**ctx_in** *FILE* [**ctx_ou…
189 bpftool prog run *PROG* data_in *FILE* [data_out *FILE* [data_size_out *L*]] [ctx_in *FILE* [ctx_ou…
197 is read from *FILE* passed with **ctx_in**. Again, "**-**" can be used to
214 them can take the **ctx_in**/**ctx_out** arguments. bpftool does not
/tools/bpf/bpftool/
A Dprog.c1327 void *ctx_in = NULL, *ctx_out = NULL; in do_run() local
1436 err = get_run_data(ctx_fname_in, &ctx_in, &test_attr.ctx_size_in); in do_run()
1440 if (ctx_in) { in do_run()
1451 test_attr.ctx_in = ctx_in; in do_run()
1490 free(ctx_in); in do_run()
/tools/bpf/bpftool/bash-completion/
A Dbpftool582 data_in|data_out|ctx_in|ctx_out)
591 ctx_in ctx_out ctx_size_out repeat'

Completed in 33 milliseconds

12