Home
last modified time | relevance | path

Searched refs:usleep (Results 1 – 25 of 140) sorted by relevance

123456

/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/
Dbpf_loop.c19 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()
Dlink_pinning.c24 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()
Dksyms_btf.c45 usleep(1); in test_basic()
102 usleep(1); in test_weak_syms()
129 usleep(1); in test_weak_syms_lskel()
Dbtf_map_in_map.c52 usleep(1); in test_lookup_update()
65 usleep(1); in test_lookup_update()
76 usleep(1); in test_lookup_update()
Dsubprogs.c45 usleep(1); in test_subprogs_with_jit_harden_toggling()
75 usleep(1); in test_subprogs_alone()
Diters.c25 usleep(1); in subtest_num_iters()
75 usleep(1); in subtest_testmod_seq_iters()
Dcgroup_tcp_skb.c164 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()
Dtimer_mim.c29 usleep(200); /* 100 times more than interval */ in timer_mim()
44 usleep(200); /* 100 times more than interval */ in timer_mim()
Dcgroup_iter.c238 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()
Dlru_bug.c17 usleep(1); in test_lru_bug()
Dcore_kern.c21 usleep(1); in test_core_kern_lskel()
/linux-6.6.21/tools/testing/selftests/futex/functional/
Dfutex_requeue_pi.c117 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()
Dfutex_wait.c84 usleep(WAKE_WAIT_US); in main()
112 usleep(WAKE_WAIT_US); in main()
151 usleep(WAKE_WAIT_US); in main()
Dfutex_requeue.c79 usleep(WAKE_WAIT_US); in main()
112 usleep(WAKE_WAIT_US); in main()
/linux-6.6.21/tools/testing/selftests/perf_events/
Dremove_on_exec.c156 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/
Dabi_test.c170 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/
Dtest_kill.c51 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/
Dsig_sc_double_restart.c146 usleep(100000); /* Hack to get reader waiting */ in test_restart()
148 usleep(100000); in test_restart()
/linux-6.6.21/tools/testing/selftests/timens/
Dclock_nanosleep.c81 usleep(10000 << j); in run_test()
86 usleep(10000 << j); in run_test()
/linux-6.6.21/tools/testing/selftests/timers/
Dfreq-step.c156 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/
Dtimers-howto.rst66 - 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/
Drlimits-per-userns.c111 usleep(250000); in main()
135 usleep(250000); in main()
/linux-6.6.21/tools/power/cpupower/bench/
Dbenchmark.c127 usleep(sleep_time); in start_benchmark()
153 usleep(sleep_time); in start_benchmark()
/linux-6.6.21/tools/power/acpi/os_specific/service_layers/
Dosunixxf.c773 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/
Ddo_hbm_test.sh212 usleep 100000
263 usleep 100000
345 usleep 100000

123456