Home
last modified time | relevance | path

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

/Linux-v5.10/tools/testing/selftests/bpf/prog_tests/
Draw_tp_test_run.c20 .ctx_in = args, in test_raw_tp_test_run()
50 test_attr.ctx_in = args; in test_raw_tp_test_run()
Dskb_helpers.c15 .ctx_in = &skb, in test_skb_helpers()
Dtest_profiler.c18 test_attr.ctx_in = args; in sanity_run()
Dskb_ctx.c24 .ctx_in = &skb, in test_skb_ctx()
Dkfree_skb.c57 .ctx_in = &skb, in test_kfree_skb()
Dflow_dissector.c585 tattr.ctx_in = &ctx; in test_flow_dissector()
/Linux-v5.10/net/bpf/
Dtest_run.c263 void __user *ctx_in = u64_to_user_ptr(kattr->test.ctx_in); in bpf_prog_test_run_raw_tp() local
285 if (copy_from_user(info.ctx, ctx_in, ctx_size_in)) { in bpf_prog_test_run_raw_tp()
323 void __user *data_in = u64_to_user_ptr(kattr->test.ctx_in); in bpf_ctx_init()
629 if (kattr->test.ctx_in || kattr->test.ctx_out) in bpf_prog_test_run_xdp()
/Linux-v5.10/tools/lib/bpf/
Dbpf.h209 const void *ctx_in; /* optional */ member
264 const void *ctx_in; /* optional */ member
Dbpf.c713 attr.test.ctx_in = ptr_to_u64(test_attr->ctx_in); in bpf_prog_test_run_xattr()
745 attr.test.ctx_in = ptr_to_u64(OPTS_GET(opts, ctx_in, NULL)); in bpf_prog_test_run_opts()
/Linux-v5.10/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-v5.10/tools/bpf/bpftool/Documentation/
Dbpftool-prog.rst32 …ROG* **data_in** *FILE* [**data_out** *FILE* [**data_size_out** *L*]] [**ctx_in** *FILE* [**ctx_ou…
169 …ROG* **data_in** *FILE* [**data_out** *FILE* [**data_size_out** *L*]] [**ctx_in** *FILE* [**ctx_ou…
179 **ctx_in**. Again, "**-**" can be used to read from standard
199 not all of them can take the **ctx_in**/**ctx_out**
/Linux-v5.10/tools/bpf/bpftool/
Dprog.c1168 void *ctx_in = NULL, *ctx_out = NULL; in do_run() local
1276 err = get_run_data(ctx_fname_in, &ctx_in, &test_attr.ctx_size_in); in do_run()
1280 if (ctx_in) { in do_run()
1292 test_attr.ctx_in = ctx_in; in do_run()
1331 free(ctx_in); in do_run()
/Linux-v5.10/tools/bpf/bpftool/bash-completion/
Dbpftool566 data_in|data_out|ctx_in|ctx_out)
575 ctx_in ctx_out ctx_size_out repeat'
/Linux-v5.10/drivers/crypto/
Ds5p-sss.c1718 const struct s5p_hash_reqctx *ctx_in = in; in s5p_hash_import() local
1721 if (ctx_in->bufcnt > BUFLEN) { in s5p_hash_import()
Domap-sham.c1434 const struct omap_sham_reqctx *ctx_in = in; in omap_sham_import() local
1436 memcpy(rctx, in, sizeof(*rctx) + ctx_in->bufcnt); in omap_sham_import()
/Linux-v5.10/tools/include/uapi/linux/
Dbpf.h596 __aligned_u64 ctx_in; member
/Linux-v5.10/include/uapi/linux/
Dbpf.h596 __aligned_u64 ctx_in; member
/Linux-v5.10/kernel/bpf/
Dsyscall.c3112 if ((attr->test.ctx_size_in && !attr->test.ctx_in) || in bpf_prog_test_run()
3113 (!attr->test.ctx_size_in && attr->test.ctx_in)) in bpf_prog_test_run()