/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | xdp_context_test_run.c | 21 opts.ctx_in = &ctx; 33 struct xdp_md ctx_in, ctx_out; local 50 opts.ctx_in = bad_ctx; 58 opts.ctx_in = &ctx_in; 59 opts.ctx_size_in = sizeof(ctx_in); 60 memset(&ctx_in, 0, sizeof(ctx_in)); 61 ctx_in.data_meta = 0; 62 ctx_in [all...] |
H A D | skb_helpers.c | 15 .ctx_in = &skb,
|
H A D | skb_load_bytes.c | 15 .ctx_in = &skb,
|
H A D | dummy_st_ops.c | 32 .ctx_in = args, 58 .ctx_in = args, 103 .ctx_in = args, 130 .ctx_in = args,
|
H A D | raw_tp_test_run.c | 17 .ctx_in = args, 46 opts.ctx_in = args;
|
H A D | xdp_do_redirect.c | 95 struct xdp_md ctx_in = { .data = sizeof(__u64), local 100 .ctx_in = &ctx_in, 101 .ctx_size_in = sizeof(ctx_in), 206 ctx_in.ingress_ifindex = ifindex_src;
|
H A D | test_profiler.c | 16 test_attr.ctx_in = args;
|
H A D | syscall.c | 24 .ctx_in = &ctx,
|
H A D | time_tai.c | 30 .ctx_in = &skb,
|
H A D | skb_ctx.c | 26 .ctx_in = &skb, 39 /* ctx_in != NULL, ctx_size_in == 0 */
|
H A D | kfree_skb.c | 59 .ctx_in = &skb,
|
H A D | test_ldsx_insn.c | 101 .ctx_in = &skb,
|
H A D | kfunc_call.c | 102 topts.ctx_in = &args; 168 topts.ctx_in = &args;
|
H A D | fib_lookup.c | 241 .ctx_in = &skb,
|
H A D | flow_dissector.c | 646 topts.ctx_in = &ctx;
|
/linux-master/net/bpf/ |
H A D | bpf_dummy_struct_ops.c | 32 void __user *ctx_in; local 43 ctx_in = u64_to_user_ptr(kattr->test.ctx_in); 44 if (copy_from_user(args->args, ctx_in, size_in))
|
H A D | test_run.c | 732 void __user *ctx_in = u64_to_user_ptr(kattr->test.ctx_in); local 752 info.ctx = memdup_user(ctx_in, ctx_size_in); 788 void __user *data_in = u64_to_user_ptr(kattr->test.ctx_in); 1485 void __user *ctx_in = u64_to_user_ptr(kattr->test.ctx_in); local 1503 ctx = memdup_user(ctx_in, ctx_size_in); 1517 if (copy_to_user(ctx_in, ctx, ctx_size_in))
|
/linux-master/samples/hid/ |
H A D | hid_surface_dial.c | 97 .ctx_in = &args, 125 .ctx_in = &args,
|
H A D | hid_mouse.c | 88 .ctx_in = &args,
|
/linux-master/tools/perf/util/ |
H A D | bpf_counter.h | 126 .ctx_in = NULL,
|
/linux-master/drivers/crypto/chelsio/ |
H A D | chcr_algo.h | 158 #define FILL_SEC_CPL_IVGEN_HDRLEN(last, more, ctx_in, mac, ivdrop, len) htonl( \ 164 SCMD_KEY_CTX_INLINE_V((ctx_in)) | \
|
/linux-master/tools/lib/bpf/ |
H A D | bpf.h | 472 const void *ctx_in; /* optional */ member in struct:bpf_prog_test_run_attr 652 const void *ctx_in; /* optional */ member in struct:bpf_test_run_opts
|
H A D | skel_internal.h | 350 attr.test.ctx_in = (long) opts->ctx;
|
/linux-master/tools/bpf/bpftool/ |
H A D | prog.c | 1113 p_err("cannot use standard input for both data_in and ctx_in"); 1145 p_err("failed to allocate memory for data_in/ctx_in: %s", 1154 p_err("failed to read data_in/ctx_in from %s: %s", 1160 p_err("data_in/ctx_in is too long (max: %d)", 1168 p_err("failed to reallocate data_in/ctx_in: %s", 1274 void *ctx_in = NULL, *ctx_out = NULL; local 1290 if (detect_common_prefix(*argv, "ctx_in", "ctx_out", 1322 } else if (is_prefix(*argv, "ctx_in")) { 1365 p_err("expected no more arguments, 'data_in', 'data_out', 'data_size_out', 'ctx_in', 'ctx_out', 'ctx_size_out' or 'repeat', got: '%s'?", 1383 err = get_run_data(ctx_fname_in, &ctx_in, [all...] |
/linux-master/tools/testing/selftests/hid/ |
H A D | hid_bpf.c | 519 .ctx_in = &args, 750 .ctx_in = &args,
|