Lines Matching +full:timeout +full:- +full:ms
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
23 * is supposed to take 1ms, the hypervisor could sleep our partition for
24 * longer (eg 10ms). With the right timing these errors can add up.
34 * spin_event_timeout - spin until a condition gets true or a timeout elapses
36 * @timeout: timeout, in microseconds
40 * The process spins until the condition evaluates to true (non-zero) or the
41 * timeout elapses. The return value of this macro is the value of
44 * timeout has occurred.
47 * until a status bit changes. The timeout ensures that the loop still
51 * gcc will optimize out the if-statement if @delay is a constant.
53 #define spin_event_timeout(condition, timeout, delay) \ argument
56 unsigned long __loops = tb_ticks_per_usec * timeout; \