Searched refs:wq_entry (Results 1 – 2 of 2) sorted by relevance
| /linux/kernel/sched/ |
| H A D | wait.c | 18 void add_wait_queue(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry) in add_wait_queue() argument 22 wq_entry->flags &= ~WQ_FLAG_EXCLUSIVE; in add_wait_queue() 24 __add_wait_queue(wq_head, wq_entry); in add_wait_queue() 29 void add_wait_queue_exclusive(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry) in add_wait_queue_exclusive() argument 33 wq_entry->flags |= WQ_FLAG_EXCLUSIVE; in add_wait_queue_exclusive() 35 __add_wait_queue_entry_tail(wq_head, wq_entry); in add_wait_queue_exclusive() 40 void add_wait_queue_priority(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry) in add_wait_queue_priority() argument 44 wq_entry->flags |= WQ_FLAG_PRIORITY; in add_wait_queue_priority() 46 __add_wait_queue(wq_head, wq_entry); in add_wait_queue_priority() 52 struct wait_queue_entry *wq_entry) in add_wait_queue_priority_exclusive() argument [all …]
|
| H A D | wait_bit.c | 24 int wake_bit_function(struct wait_queue_entry *wq_entry, unsigned mode, int sync, void *arg) in wake_bit_function() argument 27 …struct wait_bit_queue_entry *wait_bit = container_of(wq_entry, struct wait_bit_queue_entry, wq_ent… in wake_bit_function() 34 return autoremove_wake_function(wq_entry, mode, sync, key); in wake_bit_function() 50 prepare_to_wait(wq_head, &wbq_entry->wq_entry, mode); in __wait_on_bit() 55 finish_wait(wq_head, &wbq_entry->wq_entry); in __wait_on_bit() 65 DEFINE_WAIT_BIT(wq_entry, word, bit); in out_of_line_wait_on_bit() 67 return __wait_on_bit(wq_head, &wq_entry, action, mode); in out_of_line_wait_on_bit() 76 DEFINE_WAIT_BIT(wq_entry, word, bit); in out_of_line_wait_on_bit_timeout() 78 wq_entry.key.timeout = jiffies + timeout; in out_of_line_wait_on_bit_timeout() 80 return __wait_on_bit(wq_head, &wq_entry, action, mode); in out_of_line_wait_on_bit_timeout() [all …]
|