• Home
  • Raw
  • Download

Lines Matching refs:mode

81 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()
125 static int __wake_up_common_lock(struct wait_queue_head *wq_head, unsigned int mode, in __wake_up_common_lock() argument
139 remaining = __wake_up_common(wq_head, mode, remaining, in __wake_up_common_lock()
158 int __wake_up(struct wait_queue_head *wq_head, unsigned int mode, in __wake_up() argument
161 return __wake_up_common_lock(wq_head, mode, nr_exclusive, 0, key); in __wake_up()
168 void __wake_up_locked(struct wait_queue_head *wq_head, unsigned int mode, int nr) in __wake_up_locked() argument
170 __wake_up_common(wq_head, mode, nr, 0, NULL, NULL); in __wake_up_locked()
174 void __wake_up_locked_key(struct wait_queue_head *wq_head, unsigned int mode, void *key) in __wake_up_locked_key() argument
176 __wake_up_common(wq_head, mode, 1, 0, key, NULL); in __wake_up_locked_key()
181 unsigned int mode, void *key, wait_queue_entry_t *bookmark) in __wake_up_locked_key_bookmark() argument
183 __wake_up_common(wq_head, mode, 1, 0, key, bookmark); in __wake_up_locked_key_bookmark()
203 void __wake_up_sync_key(struct wait_queue_head *wq_head, unsigned int mode, in __wake_up_sync_key() argument
211 trace_android_vh_set_wake_flags(&wake_flags, &mode); in __wake_up_sync_key()
212 __wake_up_common_lock(wq_head, mode, 1, wake_flags, key); in __wake_up_sync_key()
233 unsigned int mode, void *key) in __wake_up_locked_sync_key() argument
235 __wake_up_common(wq_head, mode, 1, WF_SYNC, key, NULL); in __wake_up_locked_sync_key()
242 void __wake_up_sync(struct wait_queue_head *wq_head, unsigned int mode) in __wake_up_sync() argument
244 __wake_up_sync_key(wq_head, mode, NULL); in __wake_up_sync()
421 int autoremove_wake_function(struct wait_queue_entry *wq_entry, unsigned mode, int sync, void *key) in autoremove_wake_function() argument
423 int ret = default_wake_function(wq_entry, mode, sync, key); in autoremove_wake_function()
452 long wait_woken(struct wait_queue_entry *wq_entry, unsigned mode, long timeout) in wait_woken() argument
460 set_current_state(mode); /* A */ in wait_woken()
477 int woken_wake_function(struct wait_queue_entry *wq_entry, unsigned mode, int sync, void *key) in woken_wake_function() argument
483 return default_wake_function(wq_entry, mode, sync, key); in woken_wake_function()