Lines Matching +full:wait +full:- +full:state

1 /* SPDX-License-Identifier: GPL-2.0 */
6 * Linux wait-bit related types and methods:
8 #include <linux/wait.h>
55 * wait_on_bit - wait for a bit to be cleared
58 * @mode: the task state to sleep in
66 * Returned value will be zero if the bit was cleared, or non-zero
82 * wait_on_bit_io - wait for a bit to be cleared
85 * @mode: the task state to sleep in
87 * Use the standard hashed waitqueue table to wait for a bit
91 * Returned value will be zero if the bit was cleared, or non-zero
107 * wait_on_bit_timeout - wait for a bit to be cleared or a timeout elapses
110 * @mode: the task state to sleep in
113 * Use the standard hashed waitqueue table to wait for a bit
118 * @timeout elapsed, or non-zero if the @timeout elapsed or process
134 * wait_on_bit_action - wait for a bit to be cleared
138 * @mode: the task state to sleep in
140 * Use the standard hashed waitqueue table to wait for a bit
145 * Returned value will be zero if the bit was cleared, or non-zero
160 * wait_on_bit_lock - wait for a bit to be cleared, when wanting to set it
163 * @mode: the task state to sleep in
175 * set. Returns non-zero if a signal was delivered to the process and
188 * wait_on_bit_lock_io - wait for a bit to be cleared, when wanting to set it
191 * @mode: the task state to sleep in
193 * Use the standard hashed waitqueue table to wait for a bit
199 * set. Returns non-zero if a signal was delivered to the process and
212 * wait_on_bit_lock_action - wait for a bit to be cleared, when wanting to set it
216 * @mode: the task state to sleep in
218 * Use the standard hashed waitqueue table to wait for a bit
225 * set. Returns non-zero if a signal was delivered to the process and
242 #define ___wait_var_event(var, condition, state, exclusive, ret, cmd) \ argument
254 state); \
258 if (___wait_is_interruptible(state) && __int) { \
322 * clear_and_wake_up_bit - clear a bit and wake up anyone waiting on that bit
328 * non-atomically under a lock.