/kernel/linux/linux-6.6/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() 104 .ctx_size_in = sizeof(args), in test_dummy_multiple_args() 131 .ctx_size_in = sizeof(args), in test_dummy_sleepable()
|
H A 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()
|
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() 39 /* ctx_in != NULL, ctx_size_in == 0 */ in test_skb_ctx() 41 tattr.ctx_size_in = 0; in test_skb_ctx() 43 ASSERT_NEQ(err, 0, "ctx_size_in"); 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 | skb_load_bytes.c | 16 .ctx_size_in = sizeof(skb), in test_skb_load_bytes()
|
H A D | syscall.c | 25 .ctx_size_in = sizeof(ctx), in test_syscall()
|
H A D | time_tai.c | 31 .ctx_size_in = sizeof(skb), in test_time_tai()
|
H A D | test_profiler.c | 17 test_attr.ctx_size_in = sizeof(args); in sanity_run()
|
H A D | kfunc_call.c | 103 topts.ctx_size_in = sizeof(args); in verify_success() 169 topts.ctx_size_in = sizeof(args); in verify_fail()
|
H A D | kfree_skb.c | 60 .ctx_size_in = sizeof(skb), in serial_test_kfree_skb()
|
H A D | test_ldsx_insn.c | 102 .ctx_size_in = sizeof(skb), in test_ctx_member_narrow_sign_ext()
|
H A D | fib_lookup.c | 174 .ctx_size_in = sizeof(skb), in test_fib_lookup()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
H A D | raw_tp_test_run.c | 21 .ctx_size_in = sizeof(args), in test_raw_tp_test_run() 51 test_attr.ctx_size_in = sizeof(__u64); in test_raw_tp_test_run() 56 test_attr.ctx_size_in = sizeof(args); in test_raw_tp_test_run()
|
H A D | skb_ctx.c | 25 .ctx_size_in = sizeof(skb), in test_skb_ctx() 38 /* ctx_in != NULL, ctx_size_in == 0 */ in test_skb_ctx() 40 tattr.ctx_size_in = 0; in test_skb_ctx() 42 CHECK_ATTR(err == 0, "ctx_size_in", "err %d errno %d\n", err, errno); in test_skb_ctx() 43 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 | test_profiler.c | 19 test_attr.ctx_size_in = sizeof(args); in sanity_run()
|
H A D | kfree_skb.c | 58 .ctx_size_in = sizeof(skb), in test_kfree_skb()
|
/kernel/linux/linux-6.6/samples/hid/ |
H A D | hid_surface_dial.c | 98 .ctx_size_in = sizeof(args), in attach_prog() 126 .ctx_size_in = sizeof(args), in set_haptic()
|
H A D | hid_mouse.c | 89 .ctx_size_in = sizeof(args), in main()
|
/kernel/linux/linux-5.10/net/bpf/ |
H A D | test_run.c | 269 __u32 ctx_size_in = kattr->test.ctx_size_in; in bpf_prog_test_run_raw_tp() local 280 if (ctx_size_in < prog->aux->max_ctx_offset || in bpf_prog_test_run_raw_tp() 281 ctx_size_in > MAX_BPF_FUNC_ARGS * sizeof(u64)) in bpf_prog_test_run_raw_tp() 287 if (ctx_size_in) { in bpf_prog_test_run_raw_tp() 288 info.ctx = kzalloc(ctx_size_in, GFP_USER); in bpf_prog_test_run_raw_tp() 291 if (copy_from_user(info.ctx, ctx_in, ctx_size_in)) { in bpf_prog_test_run_raw_tp() 331 u32 size = kattr->test.ctx_size_in; in bpf_ctx_init()
|
/kernel/linux/linux-6.6/net/bpf/ |
H A D | test_run.c | 721 __u32 ctx_size_in = kattr->test.ctx_size_in; in bpf_prog_test_run_raw_tp() local 732 if (ctx_size_in < prog->aux->max_ctx_offset || in bpf_prog_test_run_raw_tp() 733 ctx_size_in > MAX_BPF_FUNC_ARGS * sizeof(u64)) in bpf_prog_test_run_raw_tp() 739 if (ctx_size_in) { in bpf_prog_test_run_raw_tp() 740 info.ctx = memdup_user(ctx_in, ctx_size_in); in bpf_prog_test_run_raw_tp() 778 u32 size = kattr->test.ctx_size_in; in bpf_ctx_init() 1474 __u32 ctx_size_in = kattr->test.ctx_size_in; in bpf_prog_test_run_syscall() local 1486 if (ctx_size_in < pro in bpf_prog_test_run_syscall() [all...] |
/kernel/linux/linux-5.10/tools/lib/bpf/ |
H A D | bpf.h | 210 __u32 ctx_size_in; member 273 __u32 ctx_size_in; member
|
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | bpf_counter.h | 127 .ctx_size_in = 0, in bperf_trigger_reading()
|
/kernel/linux/linux-6.6/tools/lib/bpf/ |
H A D | bpf.h | 453 __u32 ctx_size_in; member 622 __u32 ctx_size_in; member
|