Lines Matching refs:word
402 int __sched out_of_line_wait_on_bit(void *word, int bit, in out_of_line_wait_on_bit() argument
405 wait_queue_head_t *wq = bit_waitqueue(word, bit); in out_of_line_wait_on_bit()
406 DEFINE_WAIT_BIT(wait, word, bit); in out_of_line_wait_on_bit()
413 void *word, int bit, wait_bit_action_f *action, in out_of_line_wait_on_bit_timeout() argument
416 wait_queue_head_t *wq = bit_waitqueue(word, bit); in out_of_line_wait_on_bit_timeout()
417 DEFINE_WAIT_BIT(wait, word, bit); in out_of_line_wait_on_bit_timeout()
445 int __sched out_of_line_wait_on_bit_lock(void *word, int bit, in out_of_line_wait_on_bit_lock() argument
448 wait_queue_head_t *wq = bit_waitqueue(word, bit); in out_of_line_wait_on_bit_lock()
449 DEFINE_WAIT_BIT(wait, word, bit); in out_of_line_wait_on_bit_lock()
455 void __wake_up_bit(wait_queue_head_t *wq, void *word, int bit) in __wake_up_bit() argument
457 struct wait_bit_key key = __WAIT_BIT_KEY_INITIALIZER(word, bit); in __wake_up_bit()
480 void wake_up_bit(void *word, int bit) in wake_up_bit() argument
482 __wake_up_bit(bit_waitqueue(word, bit), word, bit); in wake_up_bit()
486 wait_queue_head_t *bit_waitqueue(void *word, int bit) in bit_waitqueue() argument
489 const struct zone *zone = page_zone(virt_to_page(word)); in bit_waitqueue()
490 unsigned long val = (unsigned long)word << shift | bit; in bit_waitqueue()
584 __sched int bit_wait(struct wait_bit_key *word, int mode) in bit_wait() argument
593 __sched int bit_wait_io(struct wait_bit_key *word, int mode) in bit_wait_io() argument
602 __sched int bit_wait_timeout(struct wait_bit_key *word, int mode) in bit_wait_timeout() argument
605 if (time_after_eq(now, word->timeout)) in bit_wait_timeout()
607 schedule_timeout(word->timeout - now); in bit_wait_timeout()
614 __sched int bit_wait_io_timeout(struct wait_bit_key *word, int mode) in bit_wait_io_timeout() argument
617 if (time_after_eq(now, word->timeout)) in bit_wait_io_timeout()
619 io_schedule_timeout(word->timeout - now); in bit_wait_io_timeout()