Home
last modified time | relevance | path

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

1234567

/linux/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()
588 usleep(1); in lsm_subtest()
619 usleep(1); /* trigger */ in tp_btf_subtest()
633 usleep(1); /* trigger */ in tp_btf_subtest()
647 usleep(1); /* trigger */ in tp_btf_subtest()
698 usleep(1); /* trigger */ in raw_tp_subtest()
718 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 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 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 Dtest_mmap_inner_array.c31 usleep(1); in test_mmap_inner_array()
45 usleep(1); in test_mmap_inner_array()
H A Dsubprogs.c45 usleep(1); in test_subprogs_with_jit_harden_toggling()
75 usleep(1); in test_subprogs_alone()
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 Dtimer.c222 usleep(50); /* 10 usecs should be enough, but give it extra */
255 usleep(500);
343 usleep(50);
/linux/tools/testing/selftests/net/af_unix/
H A Dso_peek_off.c109 usleep(1000); in TEST_F()
116 usleep(1000); in TEST_F()
145 usleep(1000); in TEST_F()
152 usleep(1000); in TEST_F()
/linux/tools/testing/selftests/futex/functional/
H A Dfutex_requeue_pi.c168 usleep(1000 * (long)args->id); in waiterfn()
205 usleep(1000); in broadcast_wakerfn()
206 usleep(1000); in broadcast_wakerfn()
251 usleep(1000); in signal_wakerfn()
252 usleep(1000); in signal_wakerfn()
281 usleep(SIGNAL_PERIOD_US); in signal_wakerfn()
H A Dfutex_wait.c53 usleep(WAKE_WAIT_US); in TEST()
89 usleep(WAKE_WAIT_US); in TEST()
130 usleep(WAKE_WAIT_US); in TEST()
H A Dfutex_requeue.c47 usleep(WAKE_WAIT_US); in TEST()
85 usleep(WAKE_WAIT_US); in TEST()
/linux/tools/testing/selftests/cgroup/
H A Dtest_freezer.c126 usleep(1000); in child_fn()
350 usleep(1000); in forkbomb_fn()
374 usleep(100000); in test_cgfreezer_forkbomb()
853 usleep(1000); in test_cgfreezer_time_empty()
946 usleep(1000); in test_cgfreezer_time_simple()
973 usleep(1000); in test_cgfreezer_time_simple()
1203 usleep(1000); in test_cgfreezer_time_migrate()
1262 usleep(1000); in test_cgfreezer_time_parent()
1293 usleep(100000); in test_cgfreezer_time_parent()
1427 usleep(1000); in test_cgfreezer_time_nested()
H A Dtest_kill.c51 usleep(1000); in child_fn()
214 usleep(1000); in forkbomb_fn()
239 usleep(100000); in test_cgkill_forkbomb()
/linux/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/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/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/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/tools/testing/selftests/namespaces/
H A Dlistns_efault_test.c106 usleep(50000); in TEST()
312 usleep(50000); in TEST()
369 usleep(10000); in TEST()
457 usleep(50000); in TEST()
/linux/tools/testing/selftests/timens/
H A Dclock_nanosleep.c81 usleep(10000 << j); in run_test()
86 usleep(10000 << j); in run_test()
/linux/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()
/linux/tools/testing/selftests/rlimits/
H A Drlimits-per-userns.c111 usleep(250000); in main()
135 usleep(250000); in main()

1234567