| /tools/testing/selftests/bpf/progs/ |
| A D | test_check_mtu.c | 55 return retval; in xdp_use_helper() 81 return retval; in xdp_exceed_mtu() 105 return retval; in xdp_minus_delta() 129 return retval; in xdp_input_len() 153 return retval; in xdp_input_len_exceed() 172 return retval; in tc_use_helper() 196 return retval; in tc_exceed_mtu() 223 return retval; in tc_exceed_mtu_da() 245 return retval; in tc_minus_delta() 265 return retval; in tc_input_len() [all …]
|
| /tools/tracing/rtla/src/ |
| A D | osnoise.c | 56 int retval; in osnoise_set_cpus() local 88 int retval; in osnoise_restore_cpus() local 222 int retval; in __osnoise_write_runtime() local 238 int retval; in __osnoise_write_period() local 264 int retval; in osnoise_set_runtime_period() local 314 int retval; in osnoise_restore_runtime_period() local 323 if (retval) in osnoise_restore_runtime_period() 376 int retval; in osnoise_set_timerlat_period_us() local 395 int retval; in osnoise_restore_timerlat_period_us() local 455 int retval; in osnoise_set_stop_us() local [all …]
|
| A D | timerlat_u.c | 38 int retval; in timerlat_u_main() local 47 if (retval == -1) { in timerlat_u_main() 54 if (retval < 0) { in timerlat_u_main() 60 if (retval) { in timerlat_u_main() 68 if (!retval) { in timerlat_u_main() 70 pthread_exit(&retval); in timerlat_u_main() 91 if (retval < 0) in timerlat_u_main() 109 int i, retval; in timerlat_u_send_kill() local 115 if (!retval) in timerlat_u_send_kill() 142 int retval = 1; in timerlat_u_dispatcher() local [all …]
|
| A D | timerlat.c | 27 int retval, i; in timerlat_apply_config() local 33 if (retval) { in timerlat_apply_config() 48 retval = osnoise_set_stop_us(tool->context, params->stop_us); in timerlat_apply_config() 49 if (retval) { in timerlat_apply_config() 55 if (retval) { in timerlat_apply_config() 62 retval = osnoise_set_timerlat_period_us(tool->context, in timerlat_apply_config() 66 if (retval) { in timerlat_apply_config() 73 if (retval) { in timerlat_apply_config() 81 if (retval == -1) { in timerlat_apply_config() 102 if (retval) { in timerlat_apply_config() [all …]
|
| A D | trace.c | 19 int retval; in enable_tracer_by_name() local 43 int retval; in disable_tracer() local 46 if (retval < 0) in disable_tracer() 99 retval = write(out_fd, buffer, retval); in save_trace_to_file() 104 retval = 0; in save_trace_to_file() 334 int retval; in trace_event_disable_filter() local 376 if (retval) in trace_event_save_hist() 412 int retval; in trace_event_disable_trigger() local 465 int retval; in trace_event_enable_filter() local 500 int retval; in trace_event_enable_trigger() local [all …]
|
| A D | utils.c | 245 int retval; in __set_sched_attr() local 303 if (retval) in procfs_is_workload_pid() 324 int retval; in set_comm_sched_attr() local 341 if (!retval) in set_comm_sched_attr() 346 if (retval) { in set_comm_sched_attr() 502 int retval; in set_cpu_dma_latency() local 786 int retval; in set_pid_cgroup() local 790 if (!retval) { in set_pid_cgroup() 845 int retval; in set_comm_cgroup() local 889 if (!retval) in set_comm_cgroup() [all …]
|
| A D | osnoise_top.c | 326 int retval; in osnoise_top_parse_args() local 391 if (retval) in osnoise_top_parse_args() 523 int retval; in osnoise_top_apply_config() local 526 if (retval) in osnoise_top_apply_config() 531 if (retval) { in osnoise_top_apply_config() 599 int retval; in osnoise_top_main() local 612 if (retval) { in osnoise_top_main() 620 if (retval) { in osnoise_top_main() 627 if (retval) { in osnoise_top_main() 650 if (retval) in osnoise_top_main() [all …]
|
| A D | osnoise_hist.c | 144 int retval = 0; in osnoise_init_trace_hist() local 158 if (retval) in osnoise_init_trace_hist() 162 if (retval) in osnoise_init_trace_hist() 485 int retval; in osnoise_hist_parse_args() local 556 if (retval) in osnoise_hist_parse_args() 705 int retval; in osnoise_hist_apply_config() local 708 if (retval) in osnoise_hist_apply_config() 771 int retval; in osnoise_hist_main() local 784 if (retval) { in osnoise_hist_main() 792 if (retval) { in osnoise_hist_main() [all …]
|
| A D | timerlat_top.c | 548 int retval; in timerlat_top_parse_args() local 647 if (retval) in timerlat_top_parse_args() 839 int retval; in timerlat_top_apply_config() local 842 if (retval) in timerlat_top_apply_config() 926 int retval; in timerlat_top_main_loop() local 1046 int retval; in timerlat_top_main() local 1086 if (retval) { in timerlat_top_main() 1092 if (retval) { in timerlat_top_main() 1155 if (retval) in timerlat_top_main() 1202 if (retval) in timerlat_top_main() [all …]
|
| A D | rtla.c | 66 int retval; in main() local 69 retval = run_command(argc, argv, 0); in main() 70 if (retval) in main() 82 retval = run_command(argc, argv, 1); in main() 83 if (retval) in main()
|
| /tools/testing/selftests/mincore/ |
| A D | mincore_selftest.c | 32 int retval; in TEST() local 41 EXPECT_EQ(0, retval); in TEST() 46 EXPECT_EQ(-1, retval); in TEST() 59 EXPECT_EQ(-1, retval); in TEST() 65 EXPECT_EQ(-1, retval); in TEST() 87 int retval; in TEST() local 100 ASSERT_EQ(0, retval); in TEST() 143 int retval; in TEST() local 192 int retval; in TEST() local 219 if (retval) { in TEST() [all …]
|
| /tools/testing/selftests/bpf/verifier/ |
| A D | jmp32.c | 20 { .retval = 0, 23 { .retval = 2, 26 { .retval = 2, 52 { .retval = 0, 55 { .retval = 2, 58 { .retval = 2, 77 .retval = 2, 288 .retval = 2, 358 .retval = 2, 428 .retval = 2, [all …]
|
| A D | event_output.c | 45 .retval = 1, 53 .retval = 1, 61 .retval = 1, 69 .retval = 1, 77 .retval = 1, 85 .retval = 1, 93 .retval = 1, 101 .retval = 1, 109 .retval = 1, 118 .retval = 1,
|
| A D | dead_code.c | 13 .retval = 7, 24 .retval = 7, 39 .retval = 1, 50 .retval = 7, 62 .retval = 7, 76 .retval = 7, 92 .retval = 7, 110 .retval = 7, 128 .retval = 7, 144 .retval = 2, [all …]
|
| A D | ld_dw.c | 8 .retval = 4090, 17 .retval = 2047, 26 .retval = 511, 35 .retval = 5, 44 .retval = 1000000 - 6,
|
| A D | basic_instr.c | 14 .retval = -3, 30 .retval = 1, 40 .retval = 0, 61 .retval = 0, 72 .retval = 43724, 104 .retval = 1, 118 .retval = 1, 132 .retval = 1, 146 .retval = 1, 161 .retval = 1, [all …]
|
| A D | jset.c | 34 { .retval = 2, 37 { .retval = 2, 40 { .retval = 2, 43 { .retval = 2, 46 { .retval = 2, 49 { .retval = 0, 52 { .retval = 0, 72 .retval = 2, 86 .retval = 1,
|
| /tools/verification/rv/src/ |
| A D | in_kernel.c | 39 int retval; in __ikm_read_enable() local 44 if (retval < 0) in __ikm_read_enable() 70 retval = 0; in __ikm_find_monitor_name() 92 return retval; in __ikm_find_monitor_name() 123 int retval; in ikm_write_enable() local 235 int retval; in ikm_write_reactor() local 525 int retval; in ikm_enable_trace_events() local 529 if (retval) in ikm_enable_trace_events() 537 if (retval) in ikm_enable_trace_events() 590 int retval; in ikm_setup_trace_instance() local [all …]
|
| /tools/testing/selftests/timers/ |
| A D | rtcpie.c | 32 int i, fd, retval; in main() local 62 retval = ioctl(fd, RTC_IRQP_READ, &old_pie_rate); in main() 63 if (retval == -1) { in main() 80 retval = ioctl(fd, RTC_IRQP_SET, tmp); in main() 81 if (retval == -1) { in main() 96 retval = ioctl(fd, RTC_PIE_ON, 0); in main() 97 if (retval == -1) { in main() 105 retval = read(fd, &data, sizeof(unsigned long)); in main() 106 if (retval == -1) { in main() 126 retval = ioctl(fd, RTC_PIE_OFF, 0); in main() [all …]
|
| /tools/testing/selftests/bpf/prog_tests/ |
| A D | kfunc_call.c | 26 int retval; member 35 .retval = __retval, \ 44 .retval = __retval, \ 49 #define TC_TEST(name, retval) __BPF_TEST_SUCCESS(name, retval, tc_test) argument 50 #define SYSCALL_TEST(name, retval) __BPF_TEST_SUCCESS(name, retval, syscall_test) argument 51 #define SYSCALL_NULL_CTX_TEST(name, retval) __BPF_TEST_SUCCESS(name, retval, syscall_null_ctx_test) argument 53 #define TC_FAIL(name, retval, error_msg) __BPF_TEST_FAIL(name, retval, tc_test, error_msg) argument 130 if (!ASSERT_EQ(topts.retval, param->retval, "retval")) in verify_success() 145 ASSERT_EQ(topts.retval, param->retval, "retval"); in verify_success() 193 if (!param->retval) { in verify_fail() [all …]
|
| A D | map_kptr.c | 27 ASSERT_OK(opts.retval, "test_map_kptr_ref1 retval"); in test_map_kptr_success() 30 ASSERT_OK(opts.retval, "test_map_kptr_ref2 retval"); in test_map_kptr_success() 57 ASSERT_OK(opts.retval, "test_map_kptr_ref3 retval"); in test_map_kptr_success() 65 ASSERT_OK(opts.retval, "test_map_kptr_ref3 retval"); in test_map_kptr_success() 72 ASSERT_OK(opts.retval, "test_map_kptr_ref3 retval"); in test_map_kptr_success() 79 ASSERT_OK(opts.retval, "test_map_kptr_ref3 retval"); in test_map_kptr_success() 86 ASSERT_OK(opts.retval, "test_map_kptr_ref3 retval"); in test_map_kptr_success() 93 ASSERT_OK(opts.retval, "test_map_kptr_ref3 retval"); in test_map_kptr_success() 100 ASSERT_OK(opts.retval, "test_map_kptr_ref3 retval"); in test_map_kptr_success() 107 ASSERT_OK(opts.retval, "test_map_kptr_ref3 retval"); in test_map_kptr_success() [all …]
|
| A D | pe_preserve_elems.c | 33 if (CHECK(opts.retval != 0, "bpf_perf_event_read_value", in test_one_map() 34 "failed with %d\n", opts.retval)) in test_one_map() 45 CHECK(opts.retval != 0, "bpf_perf_event_read_value", in test_one_map() 46 "failed with %d\n", opts.retval); in test_one_map() 48 CHECK(opts.retval != -ENOENT, "bpf_perf_event_read_value", in test_one_map() 50 opts.retval); in test_one_map()
|
| A D | res_spin_lock.c | 28 if (err || topts.retval) { in spin_lock_thread() 30 ASSERT_OK(topts.retval, "test_run retval"); in spin_lock_thread() 61 ASSERT_OK(topts.retval, "retval"); in test_res_spin_lock_success() 66 ASSERT_OK(topts.retval, "retval"); in test_res_spin_lock_success() 79 topts.retval = 0; in test_res_spin_lock_success() 82 while (!topts.retval && !err && !READ_ONCE(skel->bss->err)) { in test_res_spin_lock_success() 97 ASSERT_EQ(topts.retval, -EDEADLK, "timeout"); in test_res_spin_lock_success()
|
| A D | local_kptr_stash.c | 25 ASSERT_OK(opts.retval, "local_kptr_stash_add_nodes retval"); in test_local_kptr_stash_simple() 46 ASSERT_OK(opts.retval, "local_kptr_stash_add_plain retval"); in test_local_kptr_stash_plain() 67 ASSERT_OK(opts.retval, "local_kptr_stash_add_local_with_root retval"); in test_local_kptr_stash_local_with_root() 88 ASSERT_OK(opts.retval, "local_kptr_stash_add_nodes retval"); in test_local_kptr_stash_unstash() 92 ASSERT_EQ(opts.retval, 42, "local_kptr_stash_add_nodes retval"); in test_local_kptr_stash_unstash() 114 ASSERT_EQ(opts.retval, 2, "refcount_acquire_without_unstash retval"); in test_refcount_acquire_without_unstash() 118 ASSERT_OK(opts.retval, "stash_refcounted_node retval"); in test_refcount_acquire_without_unstash() 123 ASSERT_EQ(opts.retval, 42, "refcount_acquire_without_unstash (2) retval"); in test_refcount_acquire_without_unstash()
|
| /tools/testing/selftests/cpu-hotplug/ |
| A D | cpu-on-off-test.sh | 7 retval=0 106 retval=1 109 retval=1 119 retval=1 122 retval=1 132 retval=1 135 retval=1 145 retval=1 148 retval=1 211 exit $retval [all …]
|