| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | bpf_gotox.c | 18 static void __test_run(struct bpf_program *prog, void *ctx_in, size_t ctx_size_in) in __test_run() argument 21 .ctx_in = ctx_in, in __test_run() 41 __u64 ctx_in, in check_simple() argument 46 __test_run(prog, &ctx_in, sizeof(ctx_in)); in check_simple() 54 __u64 ctx_in, in check_simple_fentry() argument 57 skel->bss->in_user = ctx_in; in check_simple_fentry()
|
| H A D | xdp_context_test_run.c | 38 opts.ctx_in = &ctx; in test_xdp_context_error() 51 struct xdp_md ctx_in, ctx_out; in test_xdp_context_test_run() local 68 opts.ctx_in = bad_ctx; in test_xdp_context_test_run() 76 opts.ctx_in = &ctx_in; in test_xdp_context_test_run() 77 opts.ctx_size_in = sizeof(ctx_in); in test_xdp_context_test_run() 78 memset(&ctx_in, 0, sizeof(ctx_in)); in test_xdp_context_test_run() 79 ctx_in.data_meta = 0; in test_xdp_context_test_run() 80 ctx_in.data = sizeof(__u32); in test_xdp_context_test_run() 81 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 | 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_pull_data.c | 37 topts.ctx_in = &ctx; in find_xdp_sizes() 77 topts.ctx_in = &ctx; in run_test()
|
| 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 | kfunc_call.c | 104 topts.ctx_in = &args; in verify_success() 170 topts.ctx_in = &args; in verify_fail()
|
| 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 | syscall.c | 24 .ctx_in = &ctx, in test_syscall_load_prog()
|
| 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()
|
| /linux/net/bpf/ |
| H A D | bpf_dummy_struct_ops.c | 32 void __user *ctx_in; in dummy_ops_init_args() local 43 ctx_in = u64_to_user_ptr(kattr->test.ctx_in); in dummy_ops_init_args() 44 if (copy_from_user(args->args, ctx_in, size_in)) in dummy_ops_init_args()
|
| H A D | test_run.c | 750 void __user *ctx_in = u64_to_user_ptr(kattr->test.ctx_in); in bpf_prog_test_run_raw_tp() local 770 info.ctx = memdup_user(ctx_in, ctx_size_in); in bpf_prog_test_run_raw_tp() 806 void __user *data_in = u64_to_user_ptr(kattr->test.ctx_in); in bpf_ctx_init() 1616 void __user *ctx_in = u64_to_user_ptr(kattr->test.ctx_in); in bpf_prog_test_run_syscall() local 1634 ctx = memdup_user(ctx_in, ctx_size_in); in bpf_prog_test_run_syscall() 1648 if (copy_to_user(ctx_in, ctx, ctx_size_in)) in bpf_prog_test_run_syscall()
|
| /linux/tools/testing/selftests/sched_ext/ |
| H A D | allowed_cpus.c | 32 .ctx_in = args, in test_select_cpu_from_user()
|
| H A D | enq_select_cpu.c | 34 .ctx_in = args, in test_select_cpu_from_user()
|
| /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/tools/lib/bpf/ |
| H A D | bpf.h | 491 const void *ctx_in; /* optional */ 681 const void *ctx_in; /* optional */ 483 const void *ctx_in; /* optional */ global() member 673 const void *ctx_in; /* optional */ global() member
|
| /linux/tools/testing/selftests/hid/ |
| H A D | hid_bpf.c | 384 .ctx_in = &args, in TEST_F() 430 .ctx_in = &args, in TEST_F() 479 .ctx_in = &args, in TEST_F()
|