Home
last modified time | relevance | path

Searched refs:ctx_in (Results 1 – 25 of 29) sorted by relevance

12

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dxdp_context_test_run.c38 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 Ddummy_st_ops.c32 .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 Dxdp_do_redirect.c105 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 Draw_tp_test_run.c17 .ctx_in = args, in test_raw_tp_test_run()
46 opts.ctx_in = args; in test_raw_tp_test_run()
H A Dxdp_bonding.c513 struct xdp_md ctx_in = {}; in test_xdp_bonding_redirect_no_up() local
518 .ctx_in = &ctx_in, in test_xdp_bonding_redirect_no_up()
519 .ctx_size_in = sizeof(ctx_in), in test_xdp_bonding_redirect_no_up()
573 ctx_in.data_end = sizeof(pkt); in test_xdp_bonding_redirect_no_up()
574 ctx_in.ingress_ifindex = veth1_ifindex; in test_xdp_bonding_redirect_no_up()
H A Dskb_helpers.c15 .ctx_in = &skb, in test_skb_helpers()
H A Dpro_epilogue.c26 topts.ctx_in = &args; in test_tailcall()
H A Dskb_load_bytes.c15 .ctx_in = &skb, in test_skb_load_bytes()
H A Dtest_profiler.c16 test_attr.ctx_in = args; in sanity_run()
H A Dtime_tai.c30 .ctx_in = &skb, in test_time_tai()
H A Dkfunc_call.c106 topts.ctx_in = &args; in verify_success()
172 topts.ctx_in = &args; in verify_fail()
H A Dsyscall.c24 .ctx_in = &ctx, in test_syscall_load_prog()
H A Dskb_ctx.c26 .ctx_in = &skb, in test_skb_ctx()
H A Dtest_ldsx_insn.c101 .ctx_in = &skb, in test_ctx_member_narrow_sign_ext()
H A Dkfree_skb.c60 .ctx_in = &skb, in serial_test_kfree_skb()
H A Ddynptr.c135 .ctx_in = &skb, in verify_success()
H A Dfib_lookup.c309 .ctx_in = &skb, in test_fib_lookup()
H A Dflow_dissector.c832 topts.ctx_in = &ctx; in test_flow_dissector_skb()
H A Dsk_lookup.c1035 .ctx_in = &ctx, in run_sk_assign()
/linux/net/bpf/
H A Dbpf_dummy_struct_ops.c32 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()
/linux/drivers/crypto/chelsio/
H A Dchcr_algo.h158 #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 Dhid_surface_dial.c96 .ctx_in = &args, in set_haptic()
/linux/tools/testing/selftests/hid/
H A Dhid_bpf.c384 .ctx_in = &args, in TEST_F()
430 .ctx_in = &args, in TEST_F()
479 .ctx_in = &args, in TEST_F()
/linux/tools/bpf/bpftool/Documentation/
H A Dbpftool-prog.rst39 | **bpftool** **prog run** *PROG* **data_in** *FILE* [**data_out** *FILE* [**data_size_out** *L*]] [**ctx_in** *FILE* [**ctx_out** *FILE* [**ctx_size_out** *M*]]] [**repeat** *N*]
189 bpftool prog run *PROG* data_in *FILE* [data_out *FILE* [data_size_out *L*]] [ctx_in *FILE* [ctx_out *FILE* [ctx_size_out *M*]]] [repeat *N*]
197 is read from *FILE* passed with **ctx_in**. Again, "**-**" can be used to
214 them can take the **ctx_in**/**ctx_out** arguments. bpftool does not
/linux/tools/perf/util/
H A Dbpf_counter.c86 .ctx_in = NULL, in bperf_trigger_reading()

12