Lines Matching refs:key
9 void __init_waitqueue_head(struct wait_queue_head *wq_head, const char *name, struct lock_class_key *key)
12 lockdep_set_class_and_name(&wq_head->lock, key, name);
67 void *key, wait_queue_entry_t *bookmark)
96 ret = curr->func(curr, mode, wake_flags, key);
115 void *key)
127 nr_exclusive = __wake_up_common(wq_head, mode, nr_exclusive, wake_flags, key, &bookmark);
137 * @key: is directly passed to the wakeup function
142 void __wake_up(struct wait_queue_head *wq_head, unsigned int mode, int nr_exclusive, void *key)
144 __wake_up_common_lock(wq_head, mode, nr_exclusive, 0, key);
157 void __wake_up_locked_key(struct wait_queue_head *wq_head, unsigned int mode, void *key)
159 __wake_up_common(wq_head, mode, 1, 0, key, NULL);
163 void __wake_up_locked_key_bookmark(struct wait_queue_head *wq_head, unsigned int mode, void *key,
166 __wake_up_common(wq_head, mode, 1, 0, key, bookmark);
174 * @key: opaque value to be passed to wakeup targets
186 void __wake_up_sync_key(struct wait_queue_head *wq_head, unsigned int mode, void *key)
192 __wake_up_common_lock(wq_head, mode, 1, WF_SYNC, key);
200 * @key: opaque value to be passed to wakeup targets
212 void __wake_up_locked_sync_key(struct wait_queue_head *wq_head, unsigned int mode, void *key)
214 __wake_up_common(wq_head, mode, 1, WF_SYNC, key, NULL);
404 __sched int autoremove_wake_function(struct wait_queue_entry *wq_entry, unsigned int mode, int sync, void *key)
406 int ret = default_wake_function(wq_entry, mode, sync, key);
466 __sched int woken_wake_function(struct wait_queue_entry *wq_entry, unsigned int mode, int sync, void *key)
472 return default_wake_function(wq_entry, mode, sync, key);