Lines Matching refs:nr_exclusive
66 int nr_exclusive, int wake_flags, void *key, in __wake_up_common() argument
83 return nr_exclusive; in __wake_up_common()
95 if (ret && (flags & WQ_FLAG_EXCLUSIVE) && !--nr_exclusive) in __wake_up_common()
106 return nr_exclusive; in __wake_up_common()
110 int nr_exclusive, int wake_flags, void *key) in __wake_up_common_lock() argument
121 nr_exclusive = __wake_up_common(wq_head, mode, nr_exclusive, wake_flags, key, &bookmark); in __wake_up_common_lock()
126 nr_exclusive = __wake_up_common(wq_head, mode, nr_exclusive, in __wake_up_common_lock()
143 int nr_exclusive, void *key) in __wake_up() argument
145 __wake_up_common_lock(wq_head, mode, nr_exclusive, 0, key); in __wake_up()
189 int nr_exclusive, void *key) in __wake_up_sync_key() argument
196 if (unlikely(nr_exclusive != 1)) in __wake_up_sync_key()
199 __wake_up_common_lock(wq_head, mode, nr_exclusive, wake_flags, key); in __wake_up_sync_key()
206 void __wake_up_sync(struct wait_queue_head *wq_head, unsigned int mode, int nr_exclusive) in __wake_up_sync() argument
208 __wake_up_sync_key(wq_head, mode, nr_exclusive, NULL); in __wake_up_sync()