Home
last modified time | relevance | path

Searched refs:out (Results 1 – 25 of 682) sorted by relevance

12345678910>>...28

/tools/testing/selftests/bpf/progs/
A Dtest_core_reloc_type_based.c14 char out[256]; member
112 struct core_reloc_type_based_output *out = (void *)&data.out; in test_core_type_based() local
116 out->union_exists = bpf_core_type_exists(union a_union); in test_core_type_based()
117 out->enum_exists = bpf_core_type_exists(enum an_enum); in test_core_type_based()
131 out->enum_matches = bpf_core_type_matches(enum an_enum); in test_core_type_based()
142 out->struct_sz = bpf_core_type_size(struct a_struct); in test_core_type_based()
143 out->union_sz = bpf_core_type_size(union a_union); in test_core_type_based()
144 out->enum_sz = bpf_core_type_size(enum an_enum); in test_core_type_based()
148 out->typedef_int_sz = bpf_core_type_size(int_typedef); in test_core_type_based()
149 out->typedef_enum_sz = bpf_core_type_size(enum_typedef); in test_core_type_based()
[all …]
A Dtest_core_reloc_type_id.c14 char out[256]; member
86 struct core_reloc_type_id_output *out = (void *)&data.out; in test_core_type_id() local
92 out->local_anon_void_ptr = bpf_core_type_id_local(void *); in test_core_type_id()
93 out->local_anon_arr = bpf_core_type_id_local(_Bool[47]); in test_core_type_id()
95 out->local_struct = bpf_core_type_id_local(struct a_struct); in test_core_type_id()
96 out->local_union = bpf_core_type_id_local(union a_union); in test_core_type_id()
97 out->local_enum = bpf_core_type_id_local(enum an_enum); in test_core_type_id()
98 out->local_int = bpf_core_type_id_local(int); in test_core_type_id()
104 out->targ_union = bpf_core_type_id_kernel(union a_union); in test_core_type_id()
105 out->targ_enum = bpf_core_type_id_kernel(enum an_enum); in test_core_type_id()
[all …]
A Dtest_core_reloc_existence.c13 char out[256]; member
45 struct core_reloc_existence_output *out = (void *)&data.out; in test_core_existence() local
49 out->a_value = BPF_CORE_READ(in, a); in test_core_existence()
51 out->a_value = 0xff000001u; in test_core_existence()
55 out->b_value = BPF_CORE_READ(in, b); in test_core_existence()
57 out->b_value = 0xff000002u; in test_core_existence()
61 out->c_value = BPF_CORE_READ(in, c); in test_core_existence()
63 out->c_value = 0xff000003u; in test_core_existence()
69 out->arr_value = 0xff000004u; in test_core_existence()
73 out->s_value = BPF_CORE_READ(in, s.x); in test_core_existence()
[all …]
A Dtest_core_reloc_size.c13 char out[256]; member
49 struct core_reloc_size_output *out = (void *)&data.out; in test_core_size() local
51 out->int_sz = bpf_core_field_size(in->int_field); in test_core_size()
52 out->int_off = bpf_core_field_offset(in->int_field); in test_core_size()
54 out->struct_sz = bpf_core_field_size(in->struct_field); in test_core_size()
55 out->struct_off = bpf_core_field_offset(in->struct_field); in test_core_size()
57 out->union_sz = bpf_core_field_size(in->union_field); in test_core_size()
58 out->union_off = bpf_core_field_offset(in->union_field); in test_core_size()
60 out->arr_sz = bpf_core_field_size(in->arr_field); in test_core_size()
61 out->arr_off = bpf_core_field_offset(in->arr_field); in test_core_size()
[all …]
A Dtest_core_reloc_module.c20 char out[256]; member
44 struct core_reloc_module_output *out = (void *)&data.out; in BPF_PROG() local
55 out->len = BPF_CORE_READ(read_ctx, len); in BPF_PROG()
56 out->off = BPF_CORE_READ(read_ctx, off); in BPF_PROG()
60 out->buf_exists = bpf_core_field_exists(read_ctx->buf); in BPF_PROG()
61 out->off_exists = bpf_core_field_exists(read_ctx->off); in BPF_PROG()
64 out->comm_len = BPF_CORE_READ_STR_INTO(&out->comm, task, comm); in BPF_PROG()
78 struct core_reloc_module_output *out = (void *)&data.out; in BPF_PROG() local
89 out->len = read_ctx->len; in BPF_PROG()
90 out->off = read_ctx->off; in BPF_PROG()
[all …]
A Dtest_core_reloc_enum64val.c14 char out[256]; member
48 struct core_reloc_enum64val_output *out = (void *)&data.out; in test_core_enum64val() local
52 out->unsigned_val1_exists = bpf_core_enum_value_exists(named_unsigned, UNSIGNED_ENUM64_VAL1); in test_core_enum64val()
53out->unsigned_val2_exists = bpf_core_enum_value_exists(enum named_unsigned_enum64, UNSIGNED_ENUM64… in test_core_enum64val()
55 out->signed_val1_exists = bpf_core_enum_value_exists(named_signed, SIGNED_ENUM64_VAL1); in test_core_enum64val()
56 out->signed_val2_exists = bpf_core_enum_value_exists(enum named_signed_enum64, SIGNED_ENUM64_VAL2); in test_core_enum64val()
57 out->signed_val3_exists = bpf_core_enum_value_exists(enum named_signed_enum64, SIGNED_ENUM64_VAL3); in test_core_enum64val()
59 out->unsigned_val1 = bpf_core_enum_value(named_unsigned, UNSIGNED_ENUM64_VAL1); in test_core_enum64val()
60 out->unsigned_val2 = bpf_core_enum_value(named_unsigned, UNSIGNED_ENUM64_VAL2); in test_core_enum64val()
61 out->signed_val1 = bpf_core_enum_value(named_signed, SIGNED_ENUM64_VAL1); in test_core_enum64val()
[all …]
A Dtest_core_reloc_enumval.c14 char out[256]; member
48 struct core_reloc_enumval_output *out = (void *)&data.out; in test_core_enumval() local
52 out->named_val1_exists = bpf_core_enum_value_exists(named, NAMED_ENUM_VAL1); in test_core_enumval()
53 out->named_val2_exists = bpf_core_enum_value_exists(enum named_enum, NAMED_ENUM_VAL2); in test_core_enumval()
56 out->anon_val1_exists = bpf_core_enum_value_exists(anon, ANON_ENUM_VAL1); in test_core_enumval()
57 out->anon_val2_exists = bpf_core_enum_value_exists(anon_enum, ANON_ENUM_VAL2); in test_core_enumval()
58 out->anon_val3_exists = bpf_core_enum_value_exists(anon_enum, ANON_ENUM_VAL3); in test_core_enumval()
60 out->named_val1 = bpf_core_enum_value(named, NAMED_ENUM_VAL1); in test_core_enumval()
61 out->named_val2 = bpf_core_enum_value(named, NAMED_ENUM_VAL2); in test_core_enumval()
64 out->anon_val1 = bpf_core_enum_value(anon, ANON_ENUM_VAL1); in test_core_enumval()
[all …]
A Dtest_core_reloc_ints.c13 char out[256]; member
33 struct core_reloc_ints *out = (void *)&data.out; in test_core_ints() local
35 if (CORE_READ(&out->u8_field, &in->u8_field) || in test_core_ints()
36 CORE_READ(&out->s8_field, &in->s8_field) || in test_core_ints()
37 CORE_READ(&out->u16_field, &in->u16_field) || in test_core_ints()
38 CORE_READ(&out->s16_field, &in->s16_field) || in test_core_ints()
39 CORE_READ(&out->u32_field, &in->u32_field) || in test_core_ints()
40 CORE_READ(&out->s32_field, &in->s32_field) || in test_core_ints()
41 CORE_READ(&out->u64_field, &in->u64_field) || in test_core_ints()
42 CORE_READ(&out->s64_field, &in->s64_field)) in test_core_ints()
A Dtest_core_reloc_kernel.c14 char out[256]; member
54 struct core_reloc_kernel_output *out = (void *)&data.out; in test_core_kernel() local
70 out->valid[1] = BPF_CORE_READ(task, in test_core_kernel()
72 out->valid[2] = BPF_CORE_READ(task, in test_core_kernel()
75 out->valid[3] = BPF_CORE_READ(task, in test_core_kernel()
78 out->valid[4] = BPF_CORE_READ(task, in test_core_kernel()
81 out->valid[5] = BPF_CORE_READ(task, in test_core_kernel()
85 out->valid[6] = BPF_CORE_READ(task, in test_core_kernel()
89 out->valid[7] = BPF_CORE_READ(task, in test_core_kernel()
93 out->valid[8] = BPF_CORE_READ(task, in test_core_kernel()
[all …]
/tools/perf/util/
A Ddata-convert-json.c36 FILE *out; member
44 fputc('"', out); in output_json_string()
62 fputc(*s, out); in output_json_string()
68 fputc('"', out); in output_json_string()
78 fputc(',', out); in output_json_delimiters()
79 fputc('\n', out); in output_json_delimiters()
125 FILE *out = c->out; in output_sample_callchain_entry() local
156 FILE *out = c->out; in process_sample_event() local
265 FILE *out = c->out; in output_headers() local
369 if (!c.out) { in bt_convert__perf2json()
[all …]
/tools/testing/selftests/bpf/prog_tests/
A Dxdp_synproxy.c16 goto out; \
84 goto out; in test_synproxy()
107 goto out; in test_synproxy()
115 goto out; in test_synproxy()
118 goto out; in test_synproxy()
130 goto out; in test_synproxy()
137 goto out; in test_synproxy()
141 goto out; in test_synproxy()
145 goto out; in test_synproxy()
156 goto out; in test_synproxy()
[all …]
A Dxdp_flowtable.c83 goto out; in test_xdp_flowtable()
90 SYS(out, in test_xdp_flowtable()
101 SYS(out, in test_xdp_flowtable()
104 SYS(out, in test_xdp_flowtable()
107 SYS(out, in test_xdp_flowtable()
112 SYS(out, in test_xdp_flowtable()
118 goto out; in test_xdp_flowtable()
128 goto out; in test_xdp_flowtable()
132 goto out; in test_xdp_flowtable()
136 goto out; in test_xdp_flowtable()
[all …]
A Dtailcalls.c144 out: in test_tailcall_1()
224 out: in test_tailcall_2()
384 out: in test_tailcall_count()
495 out: in test_tailcall_4()
585 out: in test_tailcall_5()
668 out: in test_tailcall_bpf2bpf_1()
748 out: in test_tailcall_bpf2bpf_2()
827 out: in test_tailcall_bpf2bpf_3()
925 out: in test_tailcall_bpf2bpf_4()
978 out: in test_tailcall_bpf2bpf_6()
[all …]
A Dtest_bpffs.c41 goto out; in fn()
45 goto out; in fn()
52 goto out; in fn()
56 goto out; in fn()
60 goto out; in fn()
63 goto out; in fn()
67 goto out; in fn()
70 goto out; in fn()
74 goto out; in fn()
77 goto out; in fn()
[all …]
A Dpinning.c50 goto out; in test_pinning()
58 goto out; in test_pinning()
63 goto out; in test_pinning()
68 goto out; in test_pinning()
74 goto out; in test_pinning()
80 goto out; in test_pinning()
84 goto out; in test_pinning()
91 goto out; in test_pinning()
96 goto out; in test_pinning()
102 goto out; in test_pinning()
[all …]
A Dxdp_bonding.c276 goto out; in test_xdp_bonding_with_mode()
279 goto out; in test_xdp_bonding_with_mode()
323 out: in test_xdp_bonding_with_mode()
339 goto out; in test_xdp_bonding_redirect_multi()
343 goto out; in test_xdp_bonding_redirect_multi()
361 goto out; in test_xdp_bonding_redirect_multi()
374 out: in test_xdp_bonding_redirect_multi()
450 out: in test_xdp_bonding_attach()
489 out: in test_xdp_bonding_nested()
606 out: in test_xdp_bonding_features()
[all …]
A Dcore_autosize.c49 } out; variable
170 err = bpf_map__lookup_elem(bss_map, &zero, sizeof(zero), &out, sizeof(out), 0); in test_core_autosize()
174 ASSERT_EQ(out.ptr_samesized, 0x01020304, "ptr_samesized"); in test_core_autosize()
177 ASSERT_EQ(out.val3_samesized, 0xfeed, "val3_samesized"); in test_core_autosize()
178 ASSERT_EQ(out.val4_samesized, 0xb9, "val4_samesized"); in test_core_autosize()
188 ASSERT_EQ(out.val3_downsized, 0xfeed, "val3_downsized"); in test_core_autosize()
189 ASSERT_EQ(out.val4_downsized, 0xb9, "val4_downsized"); in test_core_autosize()
196 ASSERT_EQ(out.ptr_probed, 0x01020304, "ptr_probed"); in test_core_autosize()
198 ASSERT_EQ(out.val2_probed, 0x0a0b0c0d, "val2_probed"); in test_core_autosize()
199 ASSERT_EQ(out.val3_probed, 0xfeed, "val3_probed"); in test_core_autosize()
[all …]
A Dbpf_qdisc.c59 goto out; in test_fifo()
62 out: in test_fifo()
75 goto out; in test_fq()
78 out: in test_fq()
97 goto out; in test_qdisc_attach_to_mq()
109 out: in test_qdisc_attach_to_mq()
128 goto out; in test_qdisc_attach_to_non_root()
139 out: in test_qdisc_attach_to_non_root()
186 goto out; in test_default_qdisc_attach_to_mq()
190 goto out; in test_default_qdisc_attach_to_mq()
[all …]
/tools/testing/selftests/openat2/
A Dresolve_test.c118 } out; member
171 .out.path = "etc", .pass = true }, in test_openat2_opath_tests()
214 .out.path = NULL, .pass = true }, in test_openat2_opath_tests()
217 .out.path = NULL, .pass = true }, in test_openat2_opath_tests()
220 .out.path = NULL, .pass = true }, in test_openat2_opath_tests()
223 .out.path = NULL, .pass = true }, in test_openat2_opath_tests()
331 .out.path = "/", .pass = true }, in test_openat2_opath_tests()
334 .out.path = "/", .pass = true }, in test_openat2_opath_tests()
470 failed = (fd != test->out.err); in test_openat2_opath_tests()
490 test->out.path ?: "."); in test_openat2_opath_tests()
[all …]
/tools/perf/tests/shell/
A Dtest_task_analyzer.sh74 out="$tmpdir/perf.out"
75 perf script report task-analyzer > "$out"
81 out="$tmpdir/perf.out"
88 out="$tmpdir/perf.out"
90 > "$out"
96 out="$tmpdir/perf.out"
98 --limit-to-tasks perf > "$out"
104 out="$tmpdir/perf.out"
111 out="$tmpdir/perf.out"
118 out="$tmpdir/perf.out"
[all …]
/tools/testing/selftests/riscv/hwprobe/
A Dhwprobe.c9 long out; in main() local
24 out = riscv_hwprobe(pairs, 8, 1, &cpus, 0); in main()
25 if (out != 0) in main()
43 out = riscv_hwprobe(pairs, 8, 0, 0, 0); in main()
44 ksft_test_result(out == 0, "NULL CPU set\n"); in main()
46 out = riscv_hwprobe(pairs, 8, 0, &cpus, 0); in main()
47 ksft_test_result(out != 0, "Bad CPU set\n"); in main()
49 out = riscv_hwprobe(pairs, 8, 1, 0, 0); in main()
53 out = riscv_hwprobe(pairs, 1, 1, &cpus, 0); in main()
60 out = riscv_hwprobe(pairs, 2, 0, 0, 0); in main()
[all …]
/tools/testing/selftests/cgroup/
A Dtest_zswap.c126 goto out; in test_zswap_usage()
128 goto out; in test_zswap_usage()
130 goto out; in test_zswap_usage()
135 goto out; in test_zswap_usage()
150 out: in test_zswap_usage()
205 out: in test_swapin_nozswap()
245 out: in test_zswapin()
317 out: in attempt_writeback()
390 out: in test_zswap_writeback()
446 out: in test_no_invasive_cgroup_shrink()
[all …]
/tools/testing/selftests/coredump/
A Dstackdump_test.c236 out: in create_and_listen_unix_socket()
361 out: in TEST_F()
450 out: in TEST_F()
565 out: in TEST_F()
812 out: in TEST_F()
931 out: in TEST_F()
1044 out: in TEST_F()
1142 out: in TEST_F()
1239 out: in TEST_F()
1338 out: in TEST_F()
[all …]
/tools/testing/selftests/exec/
A Dcheck-exec-tests.sh24 local out
27 out="$(PATH="." "$@" "${script}")" || ret=$?
34 echo "ERROR: Wrong output for direct file execution: ${out}"
44 local out
47 out="$("$@" ./inc "${script}")" || ret=$?
64 local out
67 out="$("$@" ./inc -i < "${script}")" || ret=$?
83 local out
86 out="$(cat script-exec.inc | "$@" ./inc -i)" || ret=$?
98 local out
[all …]
/tools/testing/selftests/net/tcp_ao/
A Dsetsockopt-closed.c636 out.get_all = 0; in test_einval_get_keys()
637 out.prefix = 0; in test_einval_get_keys()
642 out.get_all = 0; in test_einval_get_keys()
643 out.prefix = 0; in test_einval_get_keys()
661 out.prefix = 2; in test_einval_get_keys()
683 out.sndid = 1; in test_einval_get_keys()
688 out.rcvid = 1; in test_einval_get_keys()
706 out.sndid = 1; in test_einval_get_keys()
712 out.rcvid = 1; in test_einval_get_keys()
730 out.sndid = 1; in test_einval_get_keys()
[all …]

Completed in 50 milliseconds

12345678910>>...28