| /linux/tools/testing/selftests/bpf/prog_tests/ |
| 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_context_test_run.c | 43 opts.ctx_in = &ctx; in test_xdp_context_error() 56 struct xdp_md ctx_in, ctx_out; in test_xdp_context_test_run() local 73 opts.ctx_in = bad_ctx; in test_xdp_context_test_run() 81 opts.ctx_in = &ctx_in; in test_xdp_context_test_run() 82 opts.ctx_size_in = sizeof(ctx_in); in test_xdp_context_test_run() 83 memset(&ctx_in, 0, sizeof(ctx_in)); in test_xdp_context_test_run() 84 ctx_in.data_meta = 0; in test_xdp_context_test_run() 85 ctx_in.data = sizeof(__u32); in test_xdp_context_test_run() 86 ctx_in.data_end = ctx_in.data + sizeof(pkt_v4); in test_xdp_context_test_run()
|
| H A D | xdp_do_redirect.c | 105 struct xdp_md ctx_in = { .data = sizeof(__u64), in test_xdp_do_redirect() local 110 .ctx_in = &ctx_in, in test_xdp_do_redirect() 111 .ctx_size_in = sizeof(ctx_in), in test_xdp_do_redirect() 216 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 | xdp_bonding.c | 513 struct xdp_md ctx_in = {}; in test_xdp_bonding_redirect_no_up() local 518 .ctx_in = &ctx_in, in test_xdp_bonding_redirect_no_up() 519 .ctx_size_in = sizeof(ctx_in), in test_xdp_bonding_redirect_no_up() 573 ctx_in.data_end = sizeof(pkt); in test_xdp_bonding_redirect_no_up() 574 ctx_in.ingress_ifindex = veth1_ifindex; in test_xdp_bonding_redirect_no_up()
|
| H A D | skb_helpers.c | 15 .ctx_in = &skb, in test_skb_helpers()
|
| H A D | pro_epilogue.c | 26 topts.ctx_in = &args; in test_tailcall()
|
| H A D | skb_load_bytes.c | 15 .ctx_in = &skb, in test_skb_load_bytes()
|
| H A D | test_profiler.c | 16 test_attr.ctx_in = args; in sanity_run()
|
| H A D | time_tai.c | 30 .ctx_in = &skb, in test_time_tai()
|
| H A D | syscall.c | 24 .ctx_in = &ctx, in test_syscall_load_prog()
|
| H A D | kfunc_call.c | 110 topts.ctx_in = &args; in verify_success() 176 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 | dynptr.c | 135 .ctx_in = &skb, in verify_success()
|
| H A D | global_data_init.c | 75 .ctx_in = args, in test_percpu_data_on_cpus()
|
| H A D | fib_lookup.c | 699 .ctx_in = &skb, in test_fib_lookup() 876 .ctx_in = &skb, in test_fib_lookup_vlan_netns()
|
| /linux/tools/testing/selftests/bpf/libarena/include/libarena/ |
| H A D | userspace.h | 46 opts.ctx_in = args; in libarena_run_prog_args() 61 opts.ctx_in = &args; in libarena_get_arena_base() 131 opts.ctx_in = &args; in libarena_asan_init()
|
| /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)) | \
|
| /linux/samples/hid/ |
| H A D | hid_surface_dial.c | 96 .ctx_in = &args, in set_haptic()
|
| /linux/net/bpf/ |
| H A D | test_run.c | 786 void __user *ctx_in = u64_to_user_ptr(kattr->test.ctx_in); in bpf_prog_test_run_raw_tp() local 813 info.ctx = memdup_user(ctx_in, ctx_size_in); in bpf_prog_test_run_raw_tp() 856 void __user *data_in = u64_to_user_ptr(kattr->test.ctx_in); in bpf_ctx_init() 1682 void __user *ctx_in = u64_to_user_ptr(kattr->test.ctx_in); in bpf_prog_test_run_syscall() local 1700 ctx = memdup_user(ctx_in, ctx_size_in); in bpf_prog_test_run_syscall() 1714 if (copy_to_user(ctx_in, ctx, ctx_size_in)) in bpf_prog_test_run_syscall()
|
| /linux/tools/testing/selftests/hid/ |
| H A D | hid_bpf.c | 395 .ctx_in = &args, in TEST_F() 441 .ctx_in = &args, in TEST_F() 490 .ctx_in = &args, in TEST_F()
|
| /linux/tools/bpf/bpftool/Documentation/ |
| H A D | bpftool-prog.rst | 39 | **bpftool** **prog run** *PROG* **data_in** *FILE* [**data_out** *FILE* [**data_size_out** *L*]] [**ctx_in** *FILE* [**ctx_out** *FILE* [**ctx_size_out** *M*]]] [**repeat** *N*] 189 bpftool prog run *PROG* data_in *FILE* [data_out *FILE* [data_size_out *L*]] [ctx_in *FILE* [ctx_out *FILE* [ctx_size_out *M*]]] [repeat *N*] 197 is read from *FILE* passed with **ctx_in**. Again, "**-**" can be used to 214 them can take the **ctx_in**/**ctx_out** arguments. bpftool does not
|
| /linux/tools/lib/bpf/ |
| H A D | skel_internal.h | 416 attr.test.ctx_in = (long) opts->ctx; in bpf_load_and_run()
|