Home
last modified time | relevance | path

Searched refs:ctx_out (Results 1 – 13 of 13) sorted by relevance

/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/prog_tests/
H A Dskb_helpers.c17 .ctx_out = &skb, in test_skb_helpers()
H A Dskb_ctx.c26 .ctx_out = &skb, in test_skb_ctx()
H A Dsk_lookup.c1064 .ctx_out = &ctx, in run_sk_assign()
/OK3568_Linux_fs/kernel/tools/lib/bpf/
H A Dbpf.h211 void *ctx_out; /* optional */ member
265 void *ctx_out; /* optional */ member
H A Dbpf.c714 attr.test.ctx_out = ptr_to_u64(test_attr->ctx_out); in bpf_prog_test_run_xattr()
746 attr.test.ctx_out = ptr_to_u64(OPTS_GET(opts, ctx_out, NULL)); in bpf_prog_test_run_opts()
/OK3568_Linux_fs/kernel/tools/bpf/bpftool/Documentation/
H A Dbpftool-prog.rst32 …ILE* [**data_out** *FILE* [**data_size_out** *L*]] [**ctx_in** *FILE* [**ctx_out** *FILE* [**ctx_s…
169 …ILE* [**data_out** *FILE* [**data_size_out** *L*]] [**ctx_in** *FILE* [**ctx_out** *FILE* [**ctx_s…
183 written to the *FILE* passed with **ctx_out**. For both
199 not all of them can take the **ctx_in**/**ctx_out**
/OK3568_Linux_fs/kernel/net/bpf/
H A Dtest_run.c319 kattr->test.ctx_out || kattr->test.duration || in bpf_prog_test_run_raw_tp()
373 void __user *data_out = u64_to_user_ptr(kattr->test.ctx_out); in bpf_ctx_init()
405 void __user *data_out = u64_to_user_ptr(kattr->test.ctx_out); in bpf_ctx_finish()
688 if (kattr->test.ctx_in || kattr->test.ctx_out) in bpf_prog_test_run_xdp()
/OK3568_Linux_fs/kernel/tools/bpf/bpftool/
H A Dprog.c1170 void *ctx_in = NULL, *ctx_out = NULL; in do_run() local
1285 err = alloc_run_data(&ctx_out, test_attr.ctx_size_out); in do_run()
1295 test_attr.ctx_out = ctx_out; in do_run()
1316 err += print_run_output(test_attr.ctx_out, in do_run()
1331 free(ctx_out); in do_run()
/OK3568_Linux_fs/kernel/tools/bpf/bpftool/bash-completion/
H A Dbpftool566 data_in|data_out|ctx_in|ctx_out)
575 ctx_in ctx_out ctx_size_out repeat'
/OK3568_Linux_fs/external/rockit/mpi/example/mod/
H A Dtest_mpi_vi.cpp1219 static RK_S32 test_vi_muti_vi_loop(TEST_VI_CTX_S *ctx_out) { in test_vi_muti_vi_loop() argument
1261 while (loopCount < ctx_out->loopCountSet) { in test_vi_muti_vi_loop()
/OK3568_Linux_fs/kernel/tools/include/uapi/linux/
H A Dbpf.h597 __aligned_u64 ctx_out; member
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Dbpf.h597 __aligned_u64 ctx_out; member
/OK3568_Linux_fs/kernel/kernel/bpf/
H A Dsyscall.c3141 if ((attr->test.ctx_size_out && !attr->test.ctx_out) || in bpf_prog_test_run()
3142 (!attr->test.ctx_size_out && attr->test.ctx_out)) in bpf_prog_test_run()