Lines Matching refs:mode
92 static int __wake_up_common(struct wait_queue_head *wq_head, unsigned int mode, in __wake_up_common() argument
108 ret = curr->func(curr, mode, wake_flags, key); in __wake_up_common()
118 static int __wake_up_common_lock(struct wait_queue_head *wq_head, unsigned int mode, in __wake_up_common_lock() argument
125 remaining = __wake_up_common(wq_head, mode, nr_exclusive, wake_flags, in __wake_up_common_lock()
143 int __wake_up(struct wait_queue_head *wq_head, unsigned int mode, in __wake_up() argument
146 return __wake_up_common_lock(wq_head, mode, nr_exclusive, 0, key); in __wake_up()
150 void __wake_up_on_current_cpu(struct wait_queue_head *wq_head, unsigned int mode, void *key) in __wake_up_on_current_cpu() argument
152 __wake_up_common_lock(wq_head, mode, 1, WF_CURRENT_CPU, key); in __wake_up_on_current_cpu()
158 void __wake_up_locked(struct wait_queue_head *wq_head, unsigned int mode, int nr) in __wake_up_locked() argument
160 __wake_up_common(wq_head, mode, nr, 0, NULL); in __wake_up_locked()
164 void __wake_up_locked_key(struct wait_queue_head *wq_head, unsigned int mode, void *key) in __wake_up_locked_key() argument
166 __wake_up_common(wq_head, mode, 1, 0, key); in __wake_up_locked_key()
186 void __wake_up_sync_key(struct wait_queue_head *wq_head, unsigned int mode, in __wake_up_sync_key() argument
192 __wake_up_common_lock(wq_head, mode, 1, WF_SYNC, key); in __wake_up_sync_key()
213 unsigned int mode, void *key) in __wake_up_locked_sync_key() argument
215 __wake_up_common(wq_head, mode, 1, WF_SYNC, key); in __wake_up_locked_sync_key()
222 void __wake_up_sync(struct wait_queue_head *wq_head, unsigned int mode) in __wake_up_sync() argument
224 __wake_up_sync_key(wq_head, mode, NULL); in __wake_up_sync()
401 int autoremove_wake_function(struct wait_queue_entry *wq_entry, unsigned mode, int sync, void *key) in autoremove_wake_function() argument
403 int ret = default_wake_function(wq_entry, mode, sync, key); in autoremove_wake_function()
432 long wait_woken(struct wait_queue_entry *wq_entry, unsigned mode, long timeout) in wait_woken() argument
440 set_current_state(mode); /* A */ in wait_woken()
457 int woken_wake_function(struct wait_queue_entry *wq_entry, unsigned mode, int sync, void *key) in woken_wake_function() argument
463 return default_wake_function(wq_entry, mode, sync, key); in woken_wake_function()