Home
last modified time | relevance | path

Searched refs:ctx_size_in (Results 1 – 25 of 30) sorted by relevance

12

/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dxdp_context_test_run.c22 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 Ddummy_st_ops.c33 .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 Draw_tp_test_run.c18 .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 Dskb_ctx.c27 .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 Dskb_helpers.c16 .ctx_size_in = sizeof(skb), in test_skb_helpers()
H A Dskb_load_bytes.c16 .ctx_size_in = sizeof(skb), in test_skb_load_bytes()
H A Dsyscall.c25 .ctx_size_in = sizeof(ctx), in test_syscall()
H A Dtest_profiler.c17 test_attr.ctx_size_in = sizeof(args); in sanity_run()
H A Dtime_tai.c31 .ctx_size_in = sizeof(skb), in test_time_tai()
H A Dkfunc_call.c103 topts.ctx_size_in = sizeof(args); in verify_success()
169 topts.ctx_size_in = sizeof(args); in verify_fail()
H A Dtest_ldsx_insn.c102 .ctx_size_in = sizeof(skb), in test_ctx_member_narrow_sign_ext()
H A Dkfree_skb.c60 .ctx_size_in = sizeof(skb), in serial_test_kfree_skb()
H A Dxdp_do_redirect.c101 .ctx_size_in = sizeof(ctx_in), in test_xdp_do_redirect()
H A Dfib_lookup.c174 .ctx_size_in = sizeof(skb), in test_fib_lookup()
H A Dflow_dissector.c647 topts.ctx_size_in = sizeof(ctx); in test_flow_dissector()
/openbmc/linux/net/bpf/
H A Dtest_run.c727 __u32 ctx_size_in = kattr->test.ctx_size_in; in bpf_prog_test_run_raw_tp() local
738 if (ctx_size_in < prog->aux->max_ctx_offset || in bpf_prog_test_run_raw_tp()
745 if (ctx_size_in) { in bpf_prog_test_run_raw_tp()
746 info.ctx = memdup_user(ctx_in, ctx_size_in); in bpf_prog_test_run_raw_tp()
784 u32 size = kattr->test.ctx_size_in; in bpf_ctx_init()
1480 __u32 ctx_size_in = kattr->test.ctx_size_in; in bpf_prog_test_run_syscall() local
1493 ctx_size_in > U16_MAX) in bpf_prog_test_run_syscall()
1496 if (ctx_size_in) { in bpf_prog_test_run_syscall()
1497 ctx = memdup_user(ctx_in, ctx_size_in); in bpf_prog_test_run_syscall()
1510 if (ctx_size_in) in bpf_prog_test_run_syscall()
[all …]
H A Dbpf_dummy_struct_ops.c28 size_in = kattr->test.ctx_size_in; in dummy_ops_init_args()
/openbmc/linux/samples/hid/
H A Dhid_surface_dial.c98 .ctx_size_in = sizeof(args), in attach_prog()
126 .ctx_size_in = sizeof(args), in set_haptic()
H A Dhid_mouse.c89 .ctx_size_in = sizeof(args), in main()
/openbmc/linux/tools/perf/util/
H A Dbpf_counter.h127 .ctx_size_in = 0, in bperf_trigger_reading()
/openbmc/linux/tools/lib/bpf/
H A Dbpf.h453 __u32 ctx_size_in; member
622 __u32 ctx_size_in; member
H A Dskel_internal.h351 attr.test.ctx_size_in = opts->ctx->sz; in bpf_load_and_run()
H A Dbpf.c969 attr.test.ctx_size_in = OPTS_GET(opts, ctx_size_in, 0); in bpf_prog_test_run_opts()
/openbmc/linux/tools/testing/selftests/hid/
H A Dhid_bpf.c520 .ctx_size_in = sizeof(args), in load_programs()
751 .ctx_size_in = sizeof(args), in TEST_F()
/openbmc/linux/Documentation/hid/
H A Dhid-bpf.rst422 .ctx_size_in = sizeof(args),
503 .ctx_size_in = sizeof(args),

12