Lines Matching refs:nr_exclusive
67 int nr_exclusive, int wake_flags, void *key, in __wake_up_common() argument
84 return nr_exclusive; in __wake_up_common()
96 if (ret && (flags & WQ_FLAG_EXCLUSIVE) && !--nr_exclusive) in __wake_up_common()
107 return nr_exclusive; in __wake_up_common()
111 int nr_exclusive, int wake_flags, void *key) in __wake_up_common_lock() argument
123 nr_exclusive = __wake_up_common(wq_head, mode, nr_exclusive, in __wake_up_common_lock()
140 int nr_exclusive, void *key) in __wake_up() argument
142 __wake_up_common_lock(wq_head, mode, nr_exclusive, 0, key); in __wake_up()
186 int nr_exclusive, void *key) in __wake_up_sync_key() argument
193 if (unlikely(nr_exclusive != 1)) in __wake_up_sync_key()
196 __wake_up_common_lock(wq_head, mode, nr_exclusive, wake_flags, key); in __wake_up_sync_key()
203 void __wake_up_sync(struct wait_queue_head *wq_head, unsigned int mode, int nr_exclusive) in __wake_up_sync() argument
205 __wake_up_sync_key(wq_head, mode, nr_exclusive, NULL); in __wake_up_sync()