| /linux/tools/testing/selftests/bpf/prog_tests/ |
| A D | xdp_context_test_run.c | 21 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()
|
| A D | dummy_st_ops.c | 31 .ctx_in = args, in test_dummy_init_ret_value() 58 .ctx_in = args, in test_dummy_init_ptr_arg() 82 .ctx_in = args, in test_dummy_multiple_args()
|
| A D | raw_tp_test_run.c | 20 .ctx_in = args, in test_raw_tp_test_run() 50 test_attr.ctx_in = args; in test_raw_tp_test_run()
|
| A D | skb_helpers.c | 15 .ctx_in = &skb, in test_skb_helpers()
|
| A D | syscall.c | 24 .ctx_in = &ctx, in test_syscall()
|
| A D | test_profiler.c | 18 test_attr.ctx_in = args; in sanity_run()
|
| A D | skb_ctx.c | 26 .ctx_in = &skb, in test_skb_ctx()
|
| A D | kfree_skb.c | 58 .ctx_in = &skb, in serial_test_kfree_skb()
|
| A D | flow_dissector.c | 585 tattr.ctx_in = &ctx; in test_flow_dissector()
|
| A D | sk_lookup.c | 1062 .ctx_in = &ctx, in run_sk_assign()
|
| /linux/net/bpf/ |
| A D | bpf_dummy_struct_ops.c | 25 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()
|
| A D | test_run.c | 341 void __user *ctx_in = u64_to_user_ptr(kattr->test.ctx_in); in bpf_prog_test_run_raw_tp() local 361 info.ctx = memdup_user(ctx_in, ctx_size_in); in bpf_prog_test_run_raw_tp() 397 void __user *data_in = u64_to_user_ptr(kattr->test.ctx_in); in bpf_ctx_init() 1033 void __user *ctx_in = u64_to_user_ptr(kattr->test.ctx_in); in bpf_prog_test_run_syscall() local 1050 ctx = memdup_user(ctx_in, ctx_size_in); in bpf_prog_test_run_syscall() 1064 if (copy_to_user(ctx_in, ctx, ctx_size_in)) in bpf_prog_test_run_syscall()
|
| /linux/tools/lib/bpf/ |
| A D | bpf.h | 217 const void *ctx_in; /* optional */ member 272 const void *ctx_in; /* optional */ member
|
| A D | skel_internal.h | 103 attr.test.ctx_in = (long) opts->ctx; in bpf_load_and_run()
|
| A D | bpf.c | 868 attr.test.ctx_in = ptr_to_u64(test_attr->ctx_in); in bpf_prog_test_run_xattr() 902 attr.test.ctx_in = ptr_to_u64(OPTS_GET(opts, ctx_in, NULL)); in bpf_prog_test_run_opts()
|
| /linux/drivers/crypto/chelsio/ |
| A D | chcr_algo.h | 158 #define FILL_SEC_CPL_IVGEN_HDRLEN(last, more, ctx_in, mac, ivdrop, len) htonl( \ argument 164 SCMD_KEY_CTX_INLINE_V((ctx_in)) | \
|
| /linux/tools/perf/util/ |
| A D | bpf_counter.h | 121 .ctx_in = NULL, in bperf_trigger_reading()
|
| /linux/tools/bpf/bpftool/Documentation/ |
| A D | bpftool-prog.rst | 34 …ROG* **data_in** *FILE* [**data_out** *FILE* [**data_size_out** *L*]] [**ctx_in** *FILE* [**ctx_ou… 172 …ROG* **data_in** *FILE* [**data_out** *FILE* [**data_size_out** *L*]] [**ctx_in** *FILE* [**ctx_ou… 182 **ctx_in**. Again, "**-**" can be used to read from standard 202 not all of them can take the **ctx_in**/**ctx_out**
|
| /linux/tools/bpf/bpftool/ |
| A D | prog.c | 1193 void *ctx_in = NULL, *ctx_out = NULL; in do_run() local 1301 err = get_run_data(ctx_fname_in, &ctx_in, &test_attr.ctx_size_in); in do_run() 1305 if (ctx_in) { in do_run() 1317 test_attr.ctx_in = ctx_in; in do_run() 1356 free(ctx_in); in do_run()
|
| /linux/tools/bpf/bpftool/bash-completion/ |
| A D | bpftool | 571 data_in|data_out|ctx_in|ctx_out) 580 ctx_in ctx_out ctx_size_out repeat'
|
| /linux/drivers/crypto/ |
| A D | s5p-sss.c | 1716 const struct s5p_hash_reqctx *ctx_in = in; in s5p_hash_import() local 1719 if (ctx_in->bufcnt > BUFLEN) { in s5p_hash_import()
|
| A D | omap-sham.c | 1419 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()
|
| /linux/tools/include/uapi/linux/ |
| A D | bpf.h | 1383 __aligned_u64 ctx_in; member
|
| /linux/include/uapi/linux/ |
| A D | bpf.h | 1383 __aligned_u64 ctx_in; member
|
| /linux/kernel/bpf/ |
| A D | syscall.c | 3336 if ((attr->test.ctx_size_in && !attr->test.ctx_in) || in bpf_prog_test_run() 3337 (!attr->test.ctx_size_in && attr->test.ctx_in)) in bpf_prog_test_run()
|