Lines Matching refs:mode
21 int wake_bit_function(struct wait_queue_entry *wq_entry, unsigned mode, int sync, void *arg) in wake_bit_function() argument
31 return autoremove_wake_function(wq_entry, mode, sync, key); in wake_bit_function()
42 wait_bit_action_f *action, unsigned mode) in __wait_on_bit() argument
47 prepare_to_wait(wq_head, &wbq_entry->wq_entry, mode); in __wait_on_bit()
49 ret = (*action)(&wbq_entry->key, mode); in __wait_on_bit()
59 wait_bit_action_f *action, unsigned mode) in out_of_line_wait_on_bit() argument
64 return __wait_on_bit(wq_head, &wq_entry, action, mode); in out_of_line_wait_on_bit()
70 unsigned mode, unsigned long timeout) in out_of_line_wait_on_bit_timeout() argument
77 return __wait_on_bit(wq_head, &wq_entry, action, mode); in out_of_line_wait_on_bit_timeout()
83 wait_bit_action_f *action, unsigned mode) in __wait_on_bit_lock() argument
88 prepare_to_wait_exclusive(wq_head, &wbq_entry->wq_entry, mode); in __wait_on_bit_lock()
90 ret = action(&wbq_entry->key, mode); in __wait_on_bit_lock()
112 wait_bit_action_f *action, unsigned mode) in out_of_line_wait_on_bit_lock() argument
117 return __wait_on_bit_lock(wq_head, &wq_entry, action, mode); in out_of_line_wait_on_bit_lock()
160 var_wake_function(struct wait_queue_entry *wq_entry, unsigned int mode, in var_wake_function() argument
171 return autoremove_wake_function(wq_entry, mode, sync, key); in var_wake_function()
197 __sched int bit_wait(struct wait_bit_key *word, int mode) in bit_wait() argument
200 if (signal_pending_state(mode, current)) in bit_wait()
207 __sched int bit_wait_io(struct wait_bit_key *word, int mode) in bit_wait_io() argument
210 if (signal_pending_state(mode, current)) in bit_wait_io()
217 __sched int bit_wait_timeout(struct wait_bit_key *word, int mode) in bit_wait_timeout() argument
224 if (signal_pending_state(mode, current)) in bit_wait_timeout()
231 __sched int bit_wait_io_timeout(struct wait_bit_key *word, int mode) in bit_wait_io_timeout() argument
238 if (signal_pending_state(mode, current)) in bit_wait_io_timeout()