| /tools/testing/selftests/bpf/prog_tests/ |
| A D | exceptions.c | 34 goto done; in test_exceptions_success() 39 goto done; in test_exceptions_success() 129 goto done; in test_exceptions_success() 139 goto done; in test_exceptions_success() 149 goto done; in test_exceptions_success() 159 goto done; in test_exceptions_success() 169 goto done; in test_exceptions_success() 179 goto done; in test_exceptions_success() 189 goto done; in test_exceptions_success() 200 goto done; in test_exceptions_success() [all …]
|
| A D | test_tunnel.c | 667 done: in test_vxlan_tunnel() 722 done: in test_ip6vxlan_tunnel() 773 done: in test_ipip_tunnel() 825 done: in test_xfrm_tunnel() 879 done: in test_gre_tunnel() 921 done: in test_ip6gre_tunnel() 962 done: in test_erspan_tunnel() 998 done: in test_ip6erspan_tunnel() 1025 done: in test_geneve_tunnel() 1052 done: in test_ip6geneve_tunnel() [all …]
|
| A D | bpf_iter_setsockopt.c | 118 goto done; in do_bpf_iter_setsockopt() 122 goto done; in do_bpf_iter_setsockopt() 127 goto done; in do_bpf_iter_setsockopt() 134 goto done; in do_bpf_iter_setsockopt() 137 goto done; in do_bpf_iter_setsockopt() 141 goto done; in do_bpf_iter_setsockopt() 147 goto done; in do_bpf_iter_setsockopt() 153 goto done; in do_bpf_iter_setsockopt() 172 done: in do_bpf_iter_setsockopt() 199 goto done; in serial_test_bpf_iter_setsockopt() [all …]
|
| A D | sk_storage_omem_uncharge.c | 25 goto done; in test_sk_storage_omem_uncharge() 30 goto done; in test_sk_storage_omem_uncharge() 35 goto done; in test_sk_storage_omem_uncharge() 40 goto done; in test_sk_storage_omem_uncharge() 44 goto done; in test_sk_storage_omem_uncharge() 52 done: in test_sk_storage_omem_uncharge()
|
| A D | tcpbpf_user.c | 56 goto done; in run_test() 60 goto done; in run_test() 64 goto done; in run_test() 72 goto done; in run_test() 76 goto done; in run_test() 84 goto done; in run_test() 88 goto done; in run_test() 97 goto done; in run_test() 102 done: in run_test()
|
| A D | xfrm_info.c | 231 goto done; in setup_xfrmi_external_dev() 235 goto done; in setup_xfrmi_external_dev() 238 goto done; in setup_xfrmi_external_dev() 241 done: in setup_xfrmi_external_dev() 303 goto done; in _test_xfrm_info() 306 goto done; in _test_xfrm_info() 309 goto done; in _test_xfrm_info() 314 goto done; in _test_xfrm_info() 316 goto done; in _test_xfrm_info() 327 done: in _test_xfrm_info() [all …]
|
| A D | sockopt_qos_to_cc.c | 43 goto done; in test_sockopt_qos_to_cc() 49 goto done; in test_sockopt_qos_to_cc() 54 goto done; in test_sockopt_qos_to_cc() 61 goto done; in test_sockopt_qos_to_cc() 65 done: in test_sockopt_qos_to_cc()
|
| A D | sock_fields.c | 284 goto done; in test() 289 goto done; in test() 294 goto done; in test() 299 goto done; in test() 305 goto done; in test() 308 goto done; in test() 329 goto done; in test() 334 goto done; in test() 338 done: in test() 362 goto done; in serial_test_sock_fields() [all …]
|
| A D | vrf_socket_lookup.c | 244 goto done; in _test_vrf_socket_lookup() 249 goto done; in _test_vrf_socket_lookup() 253 goto done; in _test_vrf_socket_lookup() 259 goto done; in _test_vrf_socket_lookup() 263 goto done; in _test_vrf_socket_lookup() 266 goto done; in _test_vrf_socket_lookup() 269 goto done; in _test_vrf_socket_lookup() 272 goto done; in _test_vrf_socket_lookup() 274 done: in _test_vrf_socket_lookup() 294 goto done; in test_vrf_socket_lookup() [all …]
|
| A D | sock_iter_batch.c | 118 done: in get_nth_socket() 134 goto done; in destroy() 139 goto done; in destroy() 143 goto done; in destroy() 154 done: in destroy() 507 done: in add_some() 550 done: in add_some_established() 579 done: in force_realloc() 842 done: in do_resume_test() 960 done: in do_test() [all …]
|
| A D | tc_redirect.c | 421 goto done; in test_tcp() 426 goto done; in test_tcp() 430 goto done; in test_tcp() 434 goto done; in test_tcp() 446 done: in test_tcp() 578 done: in wait_netstamp_needed_key() 680 done: in test_inet_dtime() 976 done: in test_tc_redirect_dtime() 1007 done: in test_tc_redirect_neigh_fib() 1043 done: in test_tc_redirect_neigh() [all …]
|
| A D | netns_cookie.c | 32 goto done; in test_netns_cookie() 37 goto done; in test_netns_cookie() 43 goto done; in test_netns_cookie() 48 goto done; in test_netns_cookie() 94 done: in test_netns_cookie()
|
| /tools/perf/bench/ |
| A D | breakpoint.c | 70 unsigned int *done = (unsigned int *)arg; in passive_thread() local 72 while (!__atomic_load_n(done, __ATOMIC_RELAXED)) in passive_thread() 73 futex_wait(done, 0, NULL, 0); in passive_thread() 79 unsigned int *done = (unsigned int *)arg; in active_thread() local 81 while (!__atomic_load_n(done, __ATOMIC_RELAXED)); in active_thread() 87 unsigned int i, done; in breakpoint_thread() local 96 done = 0; in breakpoint_thread() 101 __atomic_store_n(&done, 1, __ATOMIC_RELAXED); in breakpoint_thread() 102 futex_wake(&done, thread_params.nthreads, 0); in breakpoint_thread() 239 __atomic_store_n(&done, 1, __ATOMIC_RELAXED); in bench_breakpoint_enable() [all …]
|
| A D | sched-messaging.c | 105 int ret, done = 0; in sender() local 108 ret = write(ctx->out_fds[j], data + done, in sender() 109 sizeof(data) - done); in sender() 112 done += ret; in sender() 113 if (done < DATASIZE) in sender() 136 int ret, done = 0; in receiver() local 139 ret = read(ctx->in_fds[0], data + done, DATASIZE - done); in receiver() 142 done += ret; in receiver() 143 if (done < DATASIZE) in receiver()
|
| /tools/perf/tests/workloads/ |
| A D | noploop.c | 9 static volatile sig_atomic_t done; variable 13 done = 1; in sighandler() 28 while (!done) in noploop()
|
| A D | sqrtloop.c | 10 static volatile sig_atomic_t done; variable 14 done = 1; in sighandler() 22 while (!done) in __sqrtloop()
|
| A D | datasym.c | 19 static volatile sig_atomic_t done; variable 23 done = 1; in sighandler() 37 while (!done) { in datasym()
|
| A D | leafloop.c | 13 static volatile sig_atomic_t done; variable 17 done = 1; in sighandler() 22 while (!done) in leaf()
|
| A D | thloop.c | 9 static volatile sig_atomic_t done; variable 16 done = 1; in sighandler() 21 while (!done); in test_loop()
|
| /tools/testing/selftests/futex/functional/ |
| A D | futex_numa.c | 101 volatile int * done; member 116 while (!*args->done) { in threadfn() 144 while (!*args->done) { in contendfn() 157 static volatile int done = 0; variable 200 args->done = &done; in main() 221 args->done = &done; in main() 237 done = true; in main()
|
| /tools/testing/selftests/timers/ |
| A D | threadtest.c | 35 int done = 0; variable 56 done = 1; in checklist() 83 while (!done) { in shared_thread() 108 while (!done) { in independent_thread() 174 if (done) { in main() 182 done = 1; in main()
|
| /tools/testing/selftests/bpf/progs/ |
| A D | dynptr_success.c | 155 goto done; in test_ringbuf() 166 done: in test_ringbuf() 228 goto done; in test_adjust() 233 goto done; in test_adjust() 240 goto done; in test_adjust() 245 goto done; in test_adjust() 252 goto done; in test_adjust() 261 done: in test_adjust() 319 done: in test_adjust_err() 369 done: in test_zero_size_dynptr() [all …]
|
| A D | linked_list_peek.c | 58 goto done; in list_peek() 64 goto done; in list_peek() 70 goto done; in list_peek() 76 goto done; in list_peek() 79 done: in list_peek()
|
| A D | normal_map_btf.c | 30 bool done = false; variable 39 if (done || (int)bpf_get_current_pid_tgid() != pid) in add_to_list_in_array() 53 done = true; in add_to_list_in_array()
|
| /tools/testing/selftests/mm/ |
| A D | droppable.c | 41 for (bool done = false; !done;) { in main() local 44 done = true; in main()
|