/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H 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()
|
H A D | dummy_st_ops.c | 32 .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()
|
H A D | xdp_do_redirect.c | 95 struct xdp_md ctx_in = { .data = sizeof(__u64), in test_xdp_do_redirect() local 100 .ctx_in = &ctx_in, in test_xdp_do_redirect() 101 .ctx_size_in = sizeof(ctx_in), in test_xdp_do_redirect() 206 ctx_in.ingress_ifindex = ifindex_src; in test_xdp_do_redirect()
|
H A D | raw_tp_test_run.c | 17 .ctx_in = args, in test_raw_tp_test_run() 46 opts.ctx_in = args; in test_raw_tp_test_run()
|
H A D | skb_helpers.c | 15 .ctx_in = &skb, in test_skb_helpers()
|
H A D | skb_load_bytes.c | 15 .ctx_in = &skb, in test_skb_load_bytes()
|
H A D | syscall.c | 24 .ctx_in = &ctx, in test_syscall()
|
H A D | time_tai.c | 30 .ctx_in = &skb, in test_time_tai()
|
H A D | test_profiler.c | 16 test_attr.ctx_in = args; in sanity_run()
|
H A D | kfunc_call.c | 102 topts.ctx_in = &args; in verify_success() 168 topts.ctx_in = &args; in verify_fail()
|
H A D | skb_ctx.c | 26 .ctx_in = &skb, in test_skb_ctx()
|
H A D | test_ldsx_insn.c | 101 .ctx_in = &skb, in test_ctx_member_narrow_sign_ext()
|
H A D | kfree_skb.c | 60 .ctx_in = &skb, in serial_test_kfree_skb()
|
H A D | fib_lookup.c | 173 .ctx_in = &skb, in test_fib_lookup()
|
/openbmc/linux/net/bpf/ |
H 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()
|
H A D | test_run.c | 727 void __user *ctx_in = u64_to_user_ptr(kattr->test.ctx_in); in bpf_prog_test_run_raw_tp() local 747 info.ctx = memdup_user(ctx_in, ctx_size_in); in bpf_prog_test_run_raw_tp() 783 void __user *data_in = u64_to_user_ptr(kattr->test.ctx_in); in bpf_ctx_init() 1480 void __user *ctx_in = u64_to_user_ptr(kattr->test.ctx_in); in bpf_prog_test_run_syscall() local 1498 ctx = memdup_user(ctx_in, ctx_size_in); in bpf_prog_test_run_syscall() 1512 if (copy_to_user(ctx_in, ctx, ctx_size_in)) in bpf_prog_test_run_syscall()
|
/openbmc/linux/samples/hid/ |
H A D | hid_surface_dial.c | 97 .ctx_in = &args, in attach_prog() 125 .ctx_in = &args, in set_haptic()
|
H A D | hid_mouse.c | 88 .ctx_in = &args, in main()
|
/openbmc/linux/drivers/crypto/chelsio/ |
H 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)) | \
|
/openbmc/linux/tools/perf/util/ |
H A D | bpf_counter.h | 126 .ctx_in = NULL, in bperf_trigger_reading()
|
/openbmc/linux/tools/lib/bpf/ |
H A D | bpf.h | 452 const void *ctx_in; /* optional */ member 620 const void *ctx_in; /* optional */ member
|
H A D | skel_internal.h | 350 attr.test.ctx_in = (long) opts->ctx; in bpf_load_and_run()
|
/openbmc/linux/tools/bpf/bpftool/Documentation/ |
H A D | bpftool-prog.rst | 38 …ROG* **data_in** *FILE* [**data_out** *FILE* [**data_size_out** *L*]] [**ctx_in** *FILE* [**ctx_ou… 189 …ROG* **data_in** *FILE* [**data_out** *FILE* [**data_size_out** *L*]] [**ctx_in** *FILE* [**ctx_ou… 199 **ctx_in**. Again, "**-**" can be used to read from standard 219 not all of them can take the **ctx_in**/**ctx_out**
|
/openbmc/linux/tools/bpf/bpftool/ |
H A D | prog.c | 1277 void *ctx_in = NULL, *ctx_out = NULL; in do_run() local 1386 err = get_run_data(ctx_fname_in, &ctx_in, &test_attr.ctx_size_in); in do_run() 1390 if (ctx_in) { in do_run() 1401 test_attr.ctx_in = ctx_in; in do_run() 1440 free(ctx_in); in do_run()
|
/openbmc/linux/tools/testing/selftests/hid/ |
H A D | hid_bpf.c | 519 .ctx_in = &args, in load_programs() 750 .ctx_in = &args, in TEST_F()
|