/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/ |
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()
|
D | xdp_context_test_run.c | 22 opts.ctx_size_in = sizeof(ctx); in test_xdp_context_error() 51 opts.ctx_size_in = sizeof(bad_ctx); in test_xdp_context_test_run() 59 opts.ctx_size_in = sizeof(ctx_in); in test_xdp_context_test_run() 68 ASSERT_EQ(opts.ctx_size_out, opts.ctx_size_in, "valid-ctxsize"); in test_xdp_context_test_run()
|
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()
|
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()
|
D | skb_helpers.c | 16 .ctx_size_in = sizeof(skb), in test_skb_helpers()
|
D | pro_epilogue.c | 26 topts.ctx_size_in = sizeof(args); in test_tailcall()
|
D | skb_load_bytes.c | 16 .ctx_size_in = sizeof(skb), in test_skb_load_bytes()
|
D | time_tai.c | 31 .ctx_size_in = sizeof(skb), in test_time_tai()
|
D | test_profiler.c | 17 test_attr.ctx_size_in = sizeof(args); in sanity_run()
|
D | kfunc_call.c | 105 topts.ctx_size_in = sizeof(args); in verify_success() 171 topts.ctx_size_in = sizeof(args); in verify_fail()
|
D | syscall.c | 25 .ctx_size_in = sizeof(ctx), in test_syscall_load_prog()
|
D | dynptr.c | 108 .ctx_size_in = sizeof(skb), in verify_success()
|
D | test_ldsx_insn.c | 102 .ctx_size_in = sizeof(skb), in test_ctx_member_narrow_sign_ext()
|
D | kfree_skb.c | 61 .ctx_size_in = sizeof(skb), in serial_test_kfree_skb()
|
D | xdp_do_redirect.c | 101 .ctx_size_in = sizeof(ctx_in), in test_xdp_do_redirect()
|
D | fib_lookup.c | 310 .ctx_size_in = sizeof(skb), in test_fib_lookup()
|
D | flow_dissector.c | 646 topts.ctx_size_in = sizeof(ctx); in test_flow_dissector()
|
/linux-6.12.1/net/bpf/ |
D | test_run.c | 758 __u32 ctx_size_in = kattr->test.ctx_size_in; in bpf_prog_test_run_raw_tp() local 769 if (ctx_size_in < prog->aux->max_ctx_offset || in bpf_prog_test_run_raw_tp() 770 ctx_size_in > MAX_BPF_FUNC_ARGS * sizeof(u64)) in bpf_prog_test_run_raw_tp() 776 if (ctx_size_in) { in bpf_prog_test_run_raw_tp() 777 info.ctx = memdup_user(ctx_in, ctx_size_in); in bpf_prog_test_run_raw_tp() 815 u32 size = kattr->test.ctx_size_in; in bpf_ctx_init() 1537 __u32 ctx_size_in = kattr->test.ctx_size_in; in bpf_prog_test_run_syscall() local 1549 if (ctx_size_in < prog->aux->max_ctx_offset || in bpf_prog_test_run_syscall() 1550 ctx_size_in > U16_MAX) in bpf_prog_test_run_syscall() 1553 if (ctx_size_in) { in bpf_prog_test_run_syscall() [all …]
|
D | bpf_dummy_struct_ops.c | 35 size_in = kattr->test.ctx_size_in; in dummy_ops_init_args()
|
/linux-6.12.1/tools/perf/util/ |
D | bpf_counter.h | 127 .ctx_size_in = 0, in bperf_trigger_reading()
|
/linux-6.12.1/samples/hid/ |
D | hid_surface_dial.c | 97 .ctx_size_in = sizeof(args), in set_haptic()
|
/linux-6.12.1/tools/lib/bpf/ |
D | bpf.h | 473 __u32 ctx_size_in; member 663 __u32 ctx_size_in; member
|
D | skel_internal.h | 351 attr.test.ctx_size_in = opts->ctx->sz; in bpf_load_and_run()
|
D | bpf.c | 994 attr.test.ctx_size_in = OPTS_GET(opts, ctx_size_in, 0); in bpf_prog_test_run_opts()
|
/linux-6.12.1/tools/testing/selftests/hid/ |
D | hid_bpf.c | 408 .ctx_size_in = sizeof(args), in TEST_F() 454 .ctx_size_in = sizeof(args), in TEST_F() 503 .ctx_size_in = sizeof(args), in TEST_F()
|