| /linux/tools/testing/selftests/bpf/prog_tests/ |
| A 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()
|
| A D | ksyms_btf.c | 44 usleep(1); in test_basic() 101 usleep(1); in test_weak_syms() 128 usleep(1); in test_weak_syms_lskel()
|
| A 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()
|
| A D | timer_mim.c | 30 usleep(200); /* 100 times more than interval */ in timer_mim() 45 usleep(200); /* 100 times more than interval */ in timer_mim()
|
| A D | bpf_cookie.c | 48 usleep(1); in kprobe_subtest() 134 usleep(1); in tp_subtest() 156 usleep(1); in tp_subtest()
|
| A D | ringbuf.c | 219 usleep(50000); in test_ringbuf() 224 usleep(50000); in test_ringbuf() 269 usleep(50000); in test_ringbuf()
|
| A D | mmap.c | 109 usleep(1); in test_mmap() 188 usleep(1); in test_mmap() 287 usleep(1); in test_mmap()
|
| A D | stack_var_off.c | 27 usleep(1); in test_stack_var_off()
|
| A D | static_linked.c | 28 usleep(1); in test_static_linked()
|
| /linux/tools/testing/selftests/futex/functional/ |
| A 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()
|
| A 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()
|
| A D | futex_requeue.c | 79 usleep(WAKE_WAIT_US); in main() 112 usleep(WAKE_WAIT_US); in main()
|
| A D | futex_waitv.c | 100 usleep(WAKE_WAIT_US); in main() 133 usleep(WAKE_WAIT_US); in main()
|
| /linux/tools/testing/selftests/perf_events/ |
| A 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/tools/testing/selftests/cgroup/ |
| A D | test_kill.c | 51 usleep(1000); in child_fn() 214 usleep(1000); in forkbomb_fn() 239 usleep(100000); in test_cgkill_forkbomb()
|
| /linux/tools/testing/selftests/powerpc/signal/ |
| A D | sig_sc_double_restart.c | 146 usleep(100000); /* Hack to get reader waiting */ in test_restart() 148 usleep(100000); in test_restart()
|
| /linux/tools/testing/selftests/timers/ |
| A 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/Documentation/timers/ |
| A 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/tools/testing/selftests/timens/ |
| A D | clock_nanosleep.c | 81 usleep(10000 << j); in run_test() 86 usleep(10000 << j); in run_test()
|
| /linux/tools/power/acpi/os_specific/service_layers/ |
| A 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/tools/testing/selftests/rlimits/ |
| A D | rlimits-per-userns.c | 111 usleep(250000); in main() 135 usleep(250000); in main()
|
| /linux/tools/power/cpupower/bench/ |
| A D | benchmark.c | 127 usleep(sleep_time); in start_benchmark() 153 usleep(sleep_time); in start_benchmark()
|
| /linux/samples/bpf/ |
| A D | do_hbm_test.sh | 212 usleep 100000 263 usleep 100000 345 usleep 100000
|
| /linux/tools/testing/selftests/bpf/map_tests/ |
| A D | sk_storage_map.c | 60 usleep(500); in wait_for_threads_err() 84 usleep(50); in wait_for_threads_done() 92 usleep(50); in wait_for_threads_redo() 100 usleep(50); in wait_for_map()
|
| /linux/tools/testing/selftests/powerpc/nx-gzip/ |
| A D | gzip_vas.c | 164 usleep(1); in nx_wait_for_csb() 250 usleep(1); in nxu_run_job()
|