Lines Matching refs:bit
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()