Home
last modified time | relevance | path

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

12

/Linux-v6.1/tools/testing/selftests/bpf/prog_tests/
Dxdp_context_test_run.c21 opts.ctx_in = &ctx; in test_xdp_context_error()
33 struct xdp_md ctx_in, ctx_out; in test_xdp_context_test_run() local
50 opts.ctx_in = bad_ctx; in test_xdp_context_test_run()
58 opts.ctx_in = &ctx_in; in test_xdp_context_test_run()
59 opts.ctx_size_in = sizeof(ctx_in); in test_xdp_context_test_run()
60 memset(&ctx_in, 0, sizeof(ctx_in)); in test_xdp_context_test_run()
61 ctx_in.data_meta = 0; in test_xdp_context_test_run()
62 ctx_in.data = sizeof(__u32); in test_xdp_context_test_run()
63 ctx_in.data_end = ctx_in.data + sizeof(pkt_v4); in test_xdp_context_test_run()
Dxdp_do_redirect.c96 struct xdp_md ctx_in = { .data = sizeof(__u32), in test_xdp_do_redirect() local
101 .ctx_in = &ctx_in, in test_xdp_do_redirect()
102 .ctx_size_in = sizeof(ctx_in), in test_xdp_do_redirect()
159 ctx_in.ingress_ifindex = ifindex_src; in test_xdp_do_redirect()
Ddummy_st_ops.c31 .ctx_in = args, in test_dummy_init_ret_value()
57 .ctx_in = args, in test_dummy_init_ptr_arg()
102 .ctx_in = args, in test_dummy_multiple_args()
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()
Dskb_helpers.c15 .ctx_in = &skb, in test_skb_helpers()
Dskb_load_bytes.c15 .ctx_in = &skb, in test_skb_load_bytes()
Dsyscall.c24 .ctx_in = &ctx, in test_syscall()
Dtest_profiler.c16 test_attr.ctx_in = args; in sanity_run()
Dtime_tai.c30 .ctx_in = &skb, in test_time_tai()
Dkfunc_call.c100 topts.ctx_in = &args; in verify_success()
166 topts.ctx_in = &args; in verify_fail()
Dskb_ctx.c26 .ctx_in = &skb, in test_skb_ctx()
Dkfree_skb.c59 .ctx_in = &skb, in serial_test_kfree_skb()
Dflow_dissector.c622 topts.ctx_in = &ctx; in test_flow_dissector()
/Linux-v6.1/net/bpf/
Dbpf_dummy_struct_ops.c25 void __user *ctx_in; in dummy_ops_init_args() local
36 ctx_in = u64_to_user_ptr(kattr->test.ctx_in); in dummy_ops_init_args()
37 if (copy_from_user(args->args, ctx_in, size_in)) in dummy_ops_init_args()
Dtest_run.c854 void __user *ctx_in = u64_to_user_ptr(kattr->test.ctx_in); in bpf_prog_test_run_raw_tp() local
874 info.ctx = memdup_user(ctx_in, ctx_size_in); in bpf_prog_test_run_raw_tp()
910 void __user *data_in = u64_to_user_ptr(kattr->test.ctx_in); in bpf_ctx_init()
1608 void __user *ctx_in = u64_to_user_ptr(kattr->test.ctx_in); in bpf_prog_test_run_syscall() local
1626 ctx = memdup_user(ctx_in, ctx_size_in); in bpf_prog_test_run_syscall()
1640 if (copy_to_user(ctx_in, ctx, ctx_size_in)) in bpf_prog_test_run_syscall()
/Linux-v6.1/tools/lib/bpf/
Dbpf.h357 const void *ctx_in; /* optional */ member
416 const void *ctx_in; /* optional */ member
Dskel_internal.h350 attr.test.ctx_in = (long) opts->ctx; in bpf_load_and_run()
Dbpf.c887 attr.test.ctx_in = ptr_to_u64(OPTS_GET(opts, ctx_in, NULL)); in bpf_prog_test_run_opts()
/Linux-v6.1/tools/perf/util/
Dbpf_counter.h121 .ctx_in = NULL, in bperf_trigger_reading()
/Linux-v6.1/drivers/crypto/chelsio/
Dchcr_algo.h158 #define FILL_SEC_CPL_IVGEN_HDRLEN(last, more, ctx_in, mac, ivdrop, len) htonl( \ argument
164 SCMD_KEY_CTX_INLINE_V((ctx_in)) | \
/Linux-v6.1/tools/bpf/bpftool/Documentation/
Dbpftool-prog.rst38 …ROG* **data_in** *FILE* [**data_out** *FILE* [**data_size_out** *L*]] [**ctx_in** *FILE* [**ctx_ou…
177 …ROG* **data_in** *FILE* [**data_out** *FILE* [**data_size_out** *L*]] [**ctx_in** *FILE* [**ctx_ou…
187 **ctx_in**. Again, "**-**" can be used to read from standard
207 not all of them can take the **ctx_in**/**ctx_out**
/Linux-v6.1/tools/bpf/bpftool/
Dprog.c1265 void *ctx_in = NULL, *ctx_out = NULL; in do_run() local
1374 err = get_run_data(ctx_fname_in, &ctx_in, &test_attr.ctx_size_in); in do_run()
1378 if (ctx_in) { in do_run()
1389 test_attr.ctx_in = ctx_in; in do_run()
1428 free(ctx_in); in do_run()
/Linux-v6.1/tools/bpf/bpftool/bash-completion/
Dbpftool571 data_in|data_out|ctx_in|ctx_out)
580 ctx_in ctx_out ctx_size_out repeat'
/Linux-v6.1/drivers/crypto/
Ds5p-sss.c1716 const struct s5p_hash_reqctx *ctx_in = in; in s5p_hash_import() local
1719 if (ctx_in->bufcnt > BUFLEN) { in s5p_hash_import()
Domap-sham.c1419 const struct omap_sham_reqctx *ctx_in = in; in omap_sham_import() local
1421 memcpy(rctx, in, sizeof(*rctx) + ctx_in->bufcnt); in omap_sham_import()

12