Searched refs:ctx_size_in (Results 1 – 14 of 14) sorted by relevance
| /OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/prog_tests/ |
| H A D | skb_ctx.c | 25 .ctx_size_in = sizeof(skb), in test_skb_ctx() 40 tattr.ctx_size_in = 0; in test_skb_ctx() 43 tattr.ctx_size_in = sizeof(skb); in test_skb_ctx()
|
| 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_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()
|
| H A D | flow_dissector.c | 586 tattr.ctx_size_in = sizeof(ctx); in test_flow_dissector()
|
| H A D | sk_lookup.c | 1063 .ctx_size_in = sizeof(ctx), in run_sk_assign()
|
| /OK3568_Linux_fs/kernel/net/bpf/ |
| H A D | test_run.c | 312 __u32 ctx_size_in = kattr->test.ctx_size_in; in bpf_prog_test_run_raw_tp() local 323 if (ctx_size_in < prog->aux->max_ctx_offset || in bpf_prog_test_run_raw_tp() 324 ctx_size_in > MAX_BPF_FUNC_ARGS * sizeof(u64)) in bpf_prog_test_run_raw_tp() 330 if (ctx_size_in) { in bpf_prog_test_run_raw_tp() 331 info.ctx = kzalloc(ctx_size_in, GFP_USER); in bpf_prog_test_run_raw_tp() 334 if (copy_from_user(info.ctx, ctx_in, ctx_size_in)) { in bpf_prog_test_run_raw_tp() 374 u32 size = kattr->test.ctx_size_in; in bpf_ctx_init()
|
| /OK3568_Linux_fs/kernel/tools/lib/bpf/ |
| H A D | bpf.h | 210 __u32 ctx_size_in; member 266 __u32 ctx_size_in; member
|
| H A D | bpf.c | 715 attr.test.ctx_size_in = test_attr->ctx_size_in; in bpf_prog_test_run_xattr() 741 attr.test.ctx_size_in = OPTS_GET(opts, ctx_size_in, 0); in bpf_prog_test_run_opts()
|
| /OK3568_Linux_fs/kernel/tools/include/uapi/linux/ |
| H A D | bpf.h | 591 __u32 ctx_size_in; /* input: len of ctx_in */ member
|
| /OK3568_Linux_fs/kernel/include/uapi/linux/ |
| H A D | bpf.h | 591 __u32 ctx_size_in; /* input: len of ctx_in */ member
|
| /OK3568_Linux_fs/kernel/tools/bpf/bpftool/ |
| H A D | prog.c | 1278 err = get_run_data(ctx_fname_in, &ctx_in, &test_attr.ctx_size_in); in do_run()
|
| /OK3568_Linux_fs/kernel/kernel/bpf/ |
| H A D | syscall.c | 3137 if ((attr->test.ctx_size_in && !attr->test.ctx_in) || in bpf_prog_test_run() 3138 (!attr->test.ctx_size_in && attr->test.ctx_in)) in bpf_prog_test_run()
|