Lines Matching refs:word

12 wait_queue_head_t *bit_waitqueue(void *word, int bit)  in bit_waitqueue()  argument
15 unsigned long val = (unsigned long)word << shift | bit; in bit_waitqueue()
58 int __sched out_of_line_wait_on_bit(void *word, int bit, in out_of_line_wait_on_bit() argument
61 struct wait_queue_head *wq_head = bit_waitqueue(word, bit); in out_of_line_wait_on_bit()
62 DEFINE_WAIT_BIT(wq_entry, word, bit); in out_of_line_wait_on_bit()
69 void *word, int bit, wait_bit_action_f *action, in out_of_line_wait_on_bit_timeout() argument
72 struct wait_queue_head *wq_head = bit_waitqueue(word, bit); in out_of_line_wait_on_bit_timeout()
73 DEFINE_WAIT_BIT(wq_entry, word, bit); in out_of_line_wait_on_bit_timeout()
111 int __sched out_of_line_wait_on_bit_lock(void *word, int bit, in out_of_line_wait_on_bit_lock() argument
114 struct wait_queue_head *wq_head = bit_waitqueue(word, bit); in out_of_line_wait_on_bit_lock()
115 DEFINE_WAIT_BIT(wq_entry, word, bit); in out_of_line_wait_on_bit_lock()
121 void __wake_up_bit(struct wait_queue_head *wq_head, void *word, int bit) in __wake_up_bit() argument
123 struct wait_bit_key key = __WAIT_BIT_KEY_INITIALIZER(word, bit); in __wake_up_bit()
147 void wake_up_bit(void *word, int bit) in wake_up_bit() argument
149 __wake_up_bit(bit_waitqueue(word, bit), word, bit); in wake_up_bit()
197 __sched int bit_wait(struct wait_bit_key *word, int mode) in bit_wait() argument
207 __sched int bit_wait_io(struct wait_bit_key *word, int mode) in bit_wait_io() argument
217 __sched int bit_wait_timeout(struct wait_bit_key *word, int mode) in bit_wait_timeout() argument
221 if (time_after_eq(now, word->timeout)) in bit_wait_timeout()
223 schedule_timeout(word->timeout - now); in bit_wait_timeout()
231 __sched int bit_wait_io_timeout(struct wait_bit_key *word, int mode) in bit_wait_io_timeout() argument
235 if (time_after_eq(now, word->timeout)) in bit_wait_io_timeout()
237 io_schedule_timeout(word->timeout - now); in bit_wait_io_timeout()