| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | dummy_st_ops.c | 33 .ctx_size_in = sizeof(args), in test_dummy_init_ret_value() 59 .ctx_size_in = sizeof(args), in test_dummy_init_ptr_arg() 105 .ctx_size_in = sizeof(args), in test_dummy_multiple_args() 134 .ctx_size_in = sizeof(args), in test_dummy_sleepable() 159 .ctx_size_in = sizeof(args), in test_dummy_sleepable_reject_null()
|
| H A D | raw_tp_test_run.c | 18 .ctx_size_in = sizeof(args), in test_raw_tp_test_run() 47 opts.ctx_size_in = sizeof(__u64); in test_raw_tp_test_run() 52 opts.ctx_size_in = sizeof(args); in test_raw_tp_test_run()
|
| H A D | skb_ctx.c | 27 .ctx_size_in = sizeof(skb), in test_skb_ctx() 41 tattr.ctx_size_in = 0; in test_skb_ctx() 44 tattr.ctx_size_in = sizeof(skb); in test_skb_ctx()
|
| H A D | skb_helpers.c | 16 .ctx_size_in = sizeof(skb), in test_skb_helpers()
|
| H A D | pro_epilogue.c | 27 topts.ctx_size_in = sizeof(args); in test_tailcall()
|
| H A D | skb_load_bytes.c | 16 .ctx_size_in = sizeof(skb), in test_skb_load_bytes()
|
| H A D | xdp_context_test_run.c | 44 opts.ctx_size_in = sizeof(ctx); in test_xdp_context_error() 74 opts.ctx_size_in = sizeof(bad_ctx); in test_xdp_context_test_run() 82 opts.ctx_size_in = sizeof(ctx_in); in test_xdp_context_test_run() 91 ASSERT_EQ(opts.ctx_size_out, opts.ctx_size_in, "valid-ctxsize"); in test_xdp_context_test_run()
|
| H A D | test_profiler.c | 17 test_attr.ctx_size_in = sizeof(args); in sanity_run()
|
| H A D | time_tai.c | 31 .ctx_size_in = sizeof(skb), in test_time_tai()
|
| H A D | syscall.c | 25 .ctx_size_in = sizeof(ctx), in test_syscall_load_prog()
|
| H A D | kfunc_call.c | 111 topts.ctx_size_in = sizeof(args); in verify_success() 177 topts.ctx_size_in = sizeof(args); in verify_fail()
|
| H A D | test_ldsx_insn.c | 102 .ctx_size_in = sizeof(skb), in test_ctx_member_narrow_sign_ext()
|
| H A D | kfree_skb.c | 61 .ctx_size_in = sizeof(skb), in serial_test_kfree_skb()
|
| H A D | dynptr.c | 136 .ctx_size_in = sizeof(skb), in verify_success()
|
| H A D | xdp_do_redirect.c | 111 .ctx_size_in = sizeof(ctx_in), in test_xdp_do_redirect()
|
| H A D | global_data_init.c | 76 .ctx_size_in = sizeof(args), in test_percpu_data_on_cpus()
|
| H A D | fib_lookup.c | 700 .ctx_size_in = sizeof(skb), in test_fib_lookup() 877 .ctx_size_in = sizeof(skb), in test_fib_lookup_vlan_netns()
|
| H A D | xdp_bonding.c | 519 .ctx_size_in = sizeof(ctx_in), in test_xdp_bonding_redirect_no_up()
|
| H A D | flow_dissector.c | 833 topts.ctx_size_in = sizeof(ctx); in test_flow_dissector_skb()
|
| /linux/tools/testing/selftests/bpf/libarena/include/libarena/ |
| H A D | userspace.h | 47 opts.ctx_size_in = argsize; in libarena_run_prog_args() 62 opts.ctx_size_in = sizeof(args); in libarena_get_arena_base() 132 opts.ctx_size_in = sizeof(args); in libarena_asan_init()
|
| /linux/net/bpf/ |
| H A D | test_run.c | 787 __u32 ctx_size_in = kattr->test.ctx_size_in; in bpf_prog_test_run_raw_tp() local 798 if (ctx_size_in < prog->aux->max_ctx_offset || in bpf_prog_test_run_raw_tp() 799 ctx_size_in > MAX_BPF_FUNC_ARGS * sizeof(u64)) in bpf_prog_test_run_raw_tp() 812 if (ctx_size_in) { in bpf_prog_test_run_raw_tp() 813 info.ctx = memdup_user(ctx_in, ctx_size_in); in bpf_prog_test_run_raw_tp() 858 u32 size = kattr->test.ctx_size_in; in bpf_ctx_init() 1683 __u32 ctx_size_in = kattr->test.ctx_size_in; in bpf_prog_test_run_syscall() local 1695 if (ctx_size_in < prog->aux->max_ctx_offset || in bpf_prog_test_run_syscall() 1696 ctx_size_in > U16_MAX) in bpf_prog_test_run_syscall() 1699 if (ctx_size_in) { in bpf_prog_test_run_syscall() [all …]
|
| /linux/samples/hid/ |
| H A D | hid_surface_dial.c | 97 .ctx_size_in = sizeof(args), in set_haptic()
|
| /linux/tools/testing/selftests/hid/ |
| H A D | hid_bpf.c | 396 .ctx_size_in = sizeof(args), in TEST_F() 442 .ctx_size_in = sizeof(args), in TEST_F() 491 .ctx_size_in = sizeof(args), in TEST_F()
|
| /linux/tools/lib/bpf/ |
| H A D | skel_internal.h | 417 attr.test.ctx_size_in = opts->ctx->sz; in bpf_load_and_run()
|
| /linux/tools/perf/util/ |
| H A D | bpf_counter.c | 87 .ctx_size_in = 0, in bperf_trigger_reading()
|