Home
last modified time | relevance | path

Searched refs:msec_timeout (Results 1 - 7 of 7) sorted by relevance

/third_party/ltp/include/
H A Dtst_process_state.h29 #define TST_PROCESS_STATE_WAIT(pid, state, msec_timeout) \
31 (pid), (state), (msec_timeout))
36 #define TST_PROCESS_EXIT_WAIT(pid, msec_timeout) \
37 tst_process_exit_wait((pid), (msec_timeout))
52 #define TST_THREAD_STATE_WAIT(tid, state, msec_timeout) \
53 tst_thread_state_wait((tid), (state), (msec_timeout))
56 unsigned int msec_timeout);
75 const char state, unsigned int msec_timeout);
76 int tst_process_exit_wait(pid_t pid, unsigned int msec_timeout);
H A Dtst_checkpoint_fn.h20 * @msec_timeout: Timeout in milliseconds, 0 == no timeout
22 int tst_checkpoint_wait(unsigned int id, unsigned int msec_timeout);
29 * @msec_timeout: Timeout in milliseconds, 0 == no timeout
32 unsigned int msec_timeout);
36 unsigned int msec_timeout);
H A Dtst_checkpoint.h13 #define TST_CHECKPOINT_WAIT2(id, msec_timeout) \
14 tst_safe_checkpoint_wait(__FILE__, __LINE__, NULL, id, msec_timeout)
/third_party/ltp/lib/
H A Dtst_checkpoint.c83 int tst_checkpoint_wait(unsigned int id, unsigned int msec_timeout) in tst_checkpoint_wait() argument
96 timeout.tv_sec = msec_timeout/1000; in tst_checkpoint_wait()
97 timeout.tv_nsec = (msec_timeout%1000) * 1000000; in tst_checkpoint_wait()
108 unsigned int msec_timeout) in tst_checkpoint_wake()
130 if (msecs >= msec_timeout) { in tst_checkpoint_wake()
141 unsigned int msec_timeout) in tst_safe_checkpoint_wait()
145 if (!msec_timeout) in tst_safe_checkpoint_wait()
146 msec_timeout = DEFAULT_MSEC_TIMEOUT; in tst_safe_checkpoint_wait()
148 ret = tst_checkpoint_wait(id, msec_timeout); in tst_safe_checkpoint_wait()
153 msec_timeout); in tst_safe_checkpoint_wait()
107 tst_checkpoint_wake(unsigned int id, unsigned int nr_wake, unsigned int msec_timeout) tst_checkpoint_wake() argument
139 tst_safe_checkpoint_wait(const char *file, const int lineno, void (*cleanup_fn)(void), unsigned int id, unsigned int msec_timeout) tst_safe_checkpoint_wait() argument
[all...]
H A Dtst_process_state.c16 const char state, unsigned int msec_timeout) in tst_process_state_wait()
33 if (msec_timeout && msecs >= msec_timeout) { in tst_process_state_wait()
72 int tst_process_exit_wait(pid_t pid, unsigned int msec_timeout) in tst_process_exit_wait() argument
83 if (msec_timeout && msecs >= msec_timeout) { in tst_process_exit_wait()
14 tst_process_state_wait(const char *file, const int lineno, void (*cleanup_fn)(void), pid_t pid, const char state, unsigned int msec_timeout) tst_process_state_wait() argument
H A Dtst_thread_state.c15 unsigned int msec_timeout) in tst_thread_state_wait()
31 if (msec_timeout && msecs >= msec_timeout) { in tst_thread_state_wait()
14 tst_thread_state_wait(pid_t tid, const char state, unsigned int msec_timeout) tst_thread_state_wait() argument
/third_party/ltp/include/old/
H A Dold_checkpoint.h46 #define TST_SAFE_CHECKPOINT_WAIT2(cleanup_fn, id, msec_timeout) \
47 tst_safe_checkpoint_wait(__FILE__, __LINE__, cleanup_fn, id, msec_timeout);

Completed in 2 milliseconds