Home
last modified time | relevance | path

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

1234567

/linux-6.15/tools/testing/selftests/bpf/prog_tests/
H A 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()
H A 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()
H A Dmap_btf.c23 usleep(1); in do_test_normal_map_btf()
44 usleep(4000); in do_test_normal_map_btf()
70 usleep(1); in do_test_map_in_map_btf()
88 usleep(10000); in do_test_map_in_map_btf()
H A Dbpf_cookie.c59 usleep(1); in kprobe_subtest()
392 usleep(1); in tp_subtest()
414 usleep(1); in tp_subtest()
567 usleep(1); in lsm_subtest()
598 usleep(1); /* trigger */ in tp_btf_subtest()
612 usleep(1); /* trigger */ in tp_btf_subtest()
626 usleep(1); /* trigger */ in tp_btf_subtest()
658 usleep(1); /* trigger */ in raw_tp_subtest()
673 usleep(1); /* trigger */ in raw_tp_subtest()
H A Dksyms_btf.c45 usleep(1); in test_basic()
102 usleep(1); in test_weak_syms()
129 usleep(1); in test_weak_syms_lskel()
H A Dtest_mmap_inner_array.c31 usleep(1); in test_mmap_inner_array()
45 usleep(1); in test_mmap_inner_array()
H A 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()
H A Dsubprogs.c45 usleep(1); in test_subprogs_with_jit_harden_toggling()
75 usleep(1); in test_subprogs_alone()
H A 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()
H A Dtimer_mim.c29 usleep(200); /* 100 times more than interval */ in timer_mim()
44 usleep(200); /* 100 times more than interval */ in timer_mim()
H A Dsubskeleton.c72 usleep(1); in subtest_skel_subskeleton()
127 usleep(1); in subtest_obj_subskeleton()
H A Dcgroup_iter.c239 usleep(8000); in test_walk_dead_self_only()
241 usleep(8000); in test_walk_dead_self_only()
243 usleep(1000); in test_walk_dead_self_only()
H A Dlru_bug.c17 usleep(1); in test_lru_bug()
/linux-6.15/tools/testing/selftests/futex/functional/
H A Dfutex_requeue_pi.c119 usleep(1000 * (long)args->id); in waiterfn()
157 usleep(1000); in broadcast_wakerfn()
158 usleep(1000); in broadcast_wakerfn()
205 usleep(1000); in signal_wakerfn()
206 usleep(1000); in signal_wakerfn()
238 usleep(SIGNAL_PERIOD_US); in signal_wakerfn()
H A Dfutex_wait.c84 usleep(WAKE_WAIT_US); in main()
112 usleep(WAKE_WAIT_US); in main()
151 usleep(WAKE_WAIT_US); in main()
H A Dfutex_requeue.c79 usleep(WAKE_WAIT_US); in main()
112 usleep(WAKE_WAIT_US); in main()
/linux-6.15/tools/testing/selftests/perf_events/
H A 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.15/tools/testing/selftests/cgroup/
H A Dtest_kill.c51 usleep(1000); in child_fn()
214 usleep(1000); in forkbomb_fn()
239 usleep(100000); in test_cgkill_forkbomb()
/linux-6.15/tools/testing/selftests/powerpc/signal/
H A Dsig_sc_double_restart.c146 usleep(100000); /* Hack to get reader waiting */ in test_restart()
148 usleep(100000); in test_restart()
/linux-6.15/tools/testing/selftests/user_events/
H A Dabi_test.c39 usleep(1000); in wait_for_delete()
357 usleep(100000); in TEST_F()
367 usleep(100000); in TEST_F()
390 usleep(100000); in clone_check()
/linux-6.15/tools/testing/selftests/timens/
H A Dclock_nanosleep.c81 usleep(10000 << j); in run_test()
86 usleep(10000 << j); in run_test()
/linux-6.15/tools/testing/selftests/timers/
H A 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.15/tools/testing/selftests/rlimits/
H A Drlimits-per-userns.c111 usleep(250000); in main()
135 usleep(250000); in main()
/linux-6.15/tools/power/cpupower/bench/
H A Dbenchmark.c127 usleep(sleep_time); in start_benchmark()
153 usleep(sleep_time); in start_benchmark()
/linux-6.15/tools/power/acpi/os_specific/service_layers/
H A 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()

1234567