• Home
  • Raw
  • Download

Lines Matching refs:q

4753 void __wake_up_common(wait_queue_head_t *q, unsigned int mode,  in __wake_up_common()  argument
4758 list_for_each_entry_safe(curr, next, &q->task_list, task_list) { in __wake_up_common()
4774 void __wake_up(wait_queue_head_t *q, unsigned int mode, in __wake_up() argument
4779 spin_lock_irqsave(&q->lock, flags); in __wake_up()
4780 __wake_up_common(q, mode, nr_exclusive, 0, key); in __wake_up()
4781 spin_unlock_irqrestore(&q->lock, flags); in __wake_up()
4788 void __wake_up_locked(wait_queue_head_t *q, unsigned int mode) in __wake_up_locked() argument
4790 __wake_up_common(q, mode, 1, 0, NULL); in __wake_up_locked()
4807 __wake_up_sync(wait_queue_head_t *q, unsigned int mode, int nr_exclusive) in __wake_up_sync() argument
4812 if (unlikely(!q)) in __wake_up_sync()
4818 spin_lock_irqsave(&q->lock, flags); in __wake_up_sync()
4819 __wake_up_common(q, mode, nr_exclusive, sync, NULL); in __wake_up_sync()
4820 spin_unlock_irqrestore(&q->lock, flags); in __wake_up_sync()
5025 sleep_on_common(wait_queue_head_t *q, int state, long timeout) in sleep_on_common() argument
5034 spin_lock_irqsave(&q->lock, flags); in sleep_on_common()
5035 __add_wait_queue(q, &wait); in sleep_on_common()
5036 spin_unlock(&q->lock); in sleep_on_common()
5038 spin_lock_irq(&q->lock); in sleep_on_common()
5039 __remove_wait_queue(q, &wait); in sleep_on_common()
5040 spin_unlock_irqrestore(&q->lock, flags); in sleep_on_common()
5045 void __sched interruptible_sleep_on(wait_queue_head_t *q) in interruptible_sleep_on() argument
5047 sleep_on_common(q, TASK_INTERRUPTIBLE, MAX_SCHEDULE_TIMEOUT); in interruptible_sleep_on()
5052 interruptible_sleep_on_timeout(wait_queue_head_t *q, long timeout) in interruptible_sleep_on_timeout() argument
5054 return sleep_on_common(q, TASK_INTERRUPTIBLE, timeout); in interruptible_sleep_on_timeout()
5058 void __sched sleep_on(wait_queue_head_t *q) in sleep_on() argument
5060 sleep_on_common(q, TASK_UNINTERRUPTIBLE, MAX_SCHEDULE_TIMEOUT); in sleep_on()
5064 long __sched sleep_on_timeout(wait_queue_head_t *q, long timeout) in sleep_on_timeout() argument
5066 return sleep_on_common(q, TASK_UNINTERRUPTIBLE, timeout); in sleep_on_timeout()