/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/ |
D | bpf_loop.c | 19 usleep(1); in check_nr_loops() 27 usleep(1); in check_nr_loops() 36 usleep(1); in check_nr_loops() 55 usleep(1); in check_callback_fn_stop() 76 usleep(1); in check_null_callback_ctx() 93 usleep(1); in check_invalid_flags() 113 usleep(1); in check_nested_calls() 132 usleep(1); in check_non_constant_callback() 136 usleep(1); in check_non_constant_callback() 165 usleep(1); in check_stack()
|
D | link_pinning.c | 24 usleep(1); in test_link_pinning_subtest() 41 usleep(1); in test_link_pinning_subtest() 49 usleep(1); in test_link_pinning_subtest() 67 usleep(1); in test_link_pinning_subtest() 80 usleep(1); in test_link_pinning_subtest()
|
D | ksyms_btf.c | 45 usleep(1); in test_basic() 102 usleep(1); in test_weak_syms() 129 usleep(1); in test_weak_syms_lskel()
|
D | btf_map_in_map.c | 52 usleep(1); in test_lookup_update() 65 usleep(1); in test_lookup_update() 76 usleep(1); in test_lookup_update()
|
D | subprogs.c | 45 usleep(1); in test_subprogs_with_jit_harden_toggling() 75 usleep(1); in test_subprogs_alone()
|
D | iters.c | 25 usleep(1); in subtest_num_iters() 75 usleep(1); in subtest_testmod_seq_iters()
|
D | cgroup_tcp_skb.c | 164 usleep(100000); /* 0.1s */ in close_connection() 169 usleep(100000); /* 0.1s */ in close_connection() 189 usleep(100000); /* 0.1s */ in close_connection() 206 usleep(100000); /* 0.1s */ in close_connection()
|
D | timer_mim.c | 29 usleep(200); /* 100 times more than interval */ in timer_mim() 44 usleep(200); /* 100 times more than interval */ in timer_mim()
|
D | cgroup_iter.c | 238 usleep(8000); in test_walk_dead_self_only() 240 usleep(8000); in test_walk_dead_self_only() 242 usleep(1000); in test_walk_dead_self_only()
|
D | lru_bug.c | 17 usleep(1); in test_lru_bug()
|
D | core_kern.c | 21 usleep(1); in test_core_kern_lskel()
|
/linux-6.6.21/tools/testing/selftests/futex/functional/ |
D | futex_requeue_pi.c | 117 usleep(1000 * (long)args->id); in waiterfn() 155 usleep(1000); in broadcast_wakerfn() 156 usleep(1000); in broadcast_wakerfn() 203 usleep(1000); in signal_wakerfn() 204 usleep(1000); in signal_wakerfn() 236 usleep(SIGNAL_PERIOD_US); in signal_wakerfn()
|
D | futex_wait.c | 84 usleep(WAKE_WAIT_US); in main() 112 usleep(WAKE_WAIT_US); in main() 151 usleep(WAKE_WAIT_US); in main()
|
D | futex_requeue.c | 79 usleep(WAKE_WAIT_US); in main() 112 usleep(WAKE_WAIT_US); in main()
|
/linux-6.6.21/tools/testing/selftests/perf_events/ |
D | remove_on_exec.c | 156 usleep(100000); /* ... give time for event to trigger (in case of bug). */ in TEST_F() 189 usleep(100000); /* ... give time for event to trigger (in case of bug). */ in TEST_F() 215 usleep(100000); /* ... give time for event to trigger (in case of bug). */ in TEST_F()
|
/linux-6.6.21/tools/testing/selftests/user_events/ |
D | abi_test.c | 170 usleep(100000); in TEST_F() 180 usleep(100000); in TEST_F() 203 usleep(100000); in clone_check()
|
/linux-6.6.21/tools/testing/selftests/cgroup/ |
D | test_kill.c | 51 usleep(1000); in child_fn() 214 usleep(1000); in forkbomb_fn() 239 usleep(100000); in test_cgkill_forkbomb()
|
/linux-6.6.21/tools/testing/selftests/powerpc/signal/ |
D | sig_sc_double_restart.c | 146 usleep(100000); /* Hack to get reader waiting */ in test_restart() 148 usleep(100000); in test_restart()
|
/linux-6.6.21/tools/testing/selftests/timens/ |
D | clock_nanosleep.c | 81 usleep(10000 << j); in run_test() 86 usleep(10000 << j); in run_test()
|
/linux-6.6.21/tools/testing/selftests/timers/ |
D | freq-step.c | 156 usleep(1e6 * MEAN_SAMPLE_INTERVAL / 10); in run_test() 163 usleep(rand() % 2000000 * STEP_INTERVAL / 10); in run_test() 168 usleep(rand() % 2000000 * MEAN_SAMPLE_INTERVAL); in run_test()
|
/linux-6.6.21/Documentation/timers/ |
D | timers-howto.rst | 66 - Why not usleep? 69 for usleep *may* not be worth it. Such an evaluation 85 - Why is there no "usleep" / What is a good range? 88 usleep function would likely introduce a large number
|
/linux-6.6.21/tools/testing/selftests/rlimits/ |
D | rlimits-per-userns.c | 111 usleep(250000); in main() 135 usleep(250000); in main()
|
/linux-6.6.21/tools/power/cpupower/bench/ |
D | benchmark.c | 127 usleep(sleep_time); in start_benchmark() 153 usleep(sleep_time); in start_benchmark()
|
/linux-6.6.21/tools/power/acpi/os_specific/service_layers/ |
D | osunixxf.c | 773 usleep(10 * ACPI_USEC_PER_MSEC); /* ten milliseconds */ in acpi_os_wait_semaphore() 776 usleep(ACPI_USEC_PER_MSEC); /* one millisecond */ in acpi_os_wait_semaphore() 940 usleep(microseconds); in acpi_os_stall() 967 usleep((milliseconds % ACPI_MSEC_PER_SEC) * ACPI_USEC_PER_MSEC); in acpi_os_sleep()
|
/linux-6.6.21/samples/bpf/ |
D | do_hbm_test.sh | 212 usleep 100000 263 usleep 100000 345 usleep 100000
|