Lines Matching defs:word
15 wait_queue_head_t *bit_waitqueue(unsigned long *word, int bit)
18 unsigned long val = (unsigned long)word << shift | bit;
61 int __sched out_of_line_wait_on_bit(unsigned long *word, int bit,
64 struct wait_queue_head *wq_head = bit_waitqueue(word, bit);
65 DEFINE_WAIT_BIT(wq_entry, word, bit);
72 unsigned long *word, int bit, wait_bit_action_f *action,
75 struct wait_queue_head *wq_head = bit_waitqueue(word, bit);
76 DEFINE_WAIT_BIT(wq_entry, word, bit);
114 int __sched out_of_line_wait_on_bit_lock(unsigned long *word, int bit,
117 struct wait_queue_head *wq_head = bit_waitqueue(word, bit);
118 DEFINE_WAIT_BIT(wq_entry, word, bit);
124 void __wake_up_bit(struct wait_queue_head *wq_head, unsigned long *word, int bit)
126 struct wait_bit_key key = __WAIT_BIT_KEY_INITIALIZER(word, bit);
135 * @word: the address containing the bit being waited on
158 void wake_up_bit(unsigned long *word, int bit)
160 __wake_up_bit(bit_waitqueue(word, bit), word, bit);
246 __sched int bit_wait(struct wait_bit_key *word, int mode)
256 __sched int bit_wait_io(struct wait_bit_key *word, int mode)
266 __sched int bit_wait_timeout(struct wait_bit_key *word, int mode)
270 if (time_after_eq(now, word->timeout))
272 schedule_timeout(word->timeout - now);