Lines Matching +full:zero +full:- +full:based
1 // SPDX-License-Identifier: GPL-2.0
16 /// which automatically chooses the best sleep method based on a duration.
20 /// to call this function with an out-of-range value, in which case the function
24 /// The behavior above differs from the C side [`fsleep()`] for which out-of-range
35 let delta = if (Delta::ZERO..=MAX_DELTA).contains(&delta) { in fsleep()
51 /// Inserts a delay based on microseconds with busy waiting.
57 /// call this function with an out-of-range value.
59 /// The behavior above differs from the C side [`udelay()`] for which out-of-range
69 let delta = if (Delta::ZERO..=MAX_UDELAY_DELTA).contains(&delta) { in udelay()
76 // Note that the kernel is compiled with `-fno-strict-overflow` in udelay()
77 // so any out-of-range value could lead to unexpected behavior in udelay()