| /linux/kernel/sched/ |
| H A D | wait.c | 19 void add_wait_queue(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry) in add_wait_queue() 23 wq_entry->flags &= ~WQ_FLAG_EXCLUSIVE; in add_wait_queue() 25 __add_wait_queue(wq_head, wq_entry); in add_wait_queue() 30 void add_wait_queue_exclusive(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry) in add_wait_queue_exclusive() 34 wq_entry->flags |= WQ_FLAG_EXCLUSIVE; in add_wait_queue_exclusive() 36 __add_wait_queue_entry_tail(wq_head, wq_entry); in add_wait_queue_exclusive() 41 void add_wait_queue_priority(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry) in add_wait_queue_priority() 45 wq_entry->flags |= WQ_FLAG_PRIORITY; in add_wait_queue_priority() 47 __add_wait_queue(wq_head, wq_entry); in add_wait_queue_priority() 53 struct wait_queue_entry *wq_entry) in add_wait_queue_priority_exclusive() 18 add_wait_queue(struct wait_queue_head * wq_head,struct wait_queue_entry * wq_entry) add_wait_queue() argument 29 add_wait_queue_exclusive(struct wait_queue_head * wq_head,struct wait_queue_entry * wq_entry) add_wait_queue_exclusive() argument 40 add_wait_queue_priority(struct wait_queue_head * wq_head,struct wait_queue_entry * wq_entry) add_wait_queue_priority() argument 52 add_wait_queue_priority_exclusive(struct wait_queue_head * wq_head,struct wait_queue_entry * wq_entry) add_wait_queue_priority_exclusive() argument 69 remove_wait_queue(struct wait_queue_head * wq_head,struct wait_queue_entry * wq_entry) remove_wait_queue() argument 248 prepare_to_wait(struct wait_queue_head * wq_head,struct wait_queue_entry * wq_entry,int state) prepare_to_wait() argument 263 prepare_to_wait_exclusive(struct wait_queue_head * wq_head,struct wait_queue_entry * wq_entry,int state) prepare_to_wait_exclusive() argument 280 init_wait_entry(struct wait_queue_entry * wq_entry,int flags) init_wait_entry() argument 289 prepare_to_wait_event(struct wait_queue_head * wq_head,struct wait_queue_entry * wq_entry,int state) prepare_to_wait_event() argument 375 finish_wait(struct wait_queue_head * wq_head,struct wait_queue_entry * wq_entry) finish_wait() argument 401 autoremove_wake_function(struct wait_queue_entry * wq_entry,unsigned mode,int sync,void * key) autoremove_wake_function() argument 432 wait_woken(struct wait_queue_entry * wq_entry,unsigned mode,long timeout) wait_woken() argument 457 woken_wake_function(struct wait_queue_entry * wq_entry,unsigned mode,int sync,void * key) woken_wake_function() 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_entry); 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 in out_of_line_wait_on_bit_timeout() 171 var_wake_function(struct wait_queue_entry * wq_entry,unsigned int mode,int sync,void * arg) var_wake_function() argument [all...] |
| /linux/fs/ |
| H A D | fs-writeback.c | 1631 prepare_to_wait_event(wq_head, &wqe.wq_entry, TASK_UNINTERRUPTIBLE); in inode_wait_for_writeback() 1639 finish_wait(wq_head, &wqe.wq_entry); in inode_wait_for_writeback() 1657 prepare_to_wait_event(wq_head, &wqe.wq_entry, TASK_UNINTERRUPTIBLE); in inode_sleep_on_writeback() 1663 finish_wait(wq_head, &wqe.wq_entry); in inode_sleep_on_writeback()
|
| H A D | eventpoll.c | 2201 static int ep_autoremove_wake_function(struct wait_queue_entry *wq_entry, in ep_autoremove_wake_function() argument 2204 int ret = default_wake_function(wq_entry, mode, sync, key); in ep_autoremove_wake_function() 2210 list_del_init_careful(&wq_entry->entry); in ep_autoremove_wake_function()
|
| /linux/block/ |
| H A D | blk-iocost.c | 1448 static int iocg_wake_fn(struct wait_queue_entry *wq_entry, unsigned mode, in iocg_wake_fn() argument 1451 struct iocg_wait *wait = container_of(wq_entry, struct iocg_wait, wait); in iocg_wake_fn() 1470 default_wake_function(wq_entry, mode, flags, key); in iocg_wake_fn() 1471 list_del_init_careful(&wq_entry->entry); in iocg_wake_fn()
|
| /linux/fs/xfs/ |
| H A D | xfs_inode.c | 1869 prepare_to_wait(wq, &wait.wq_entry, TASK_UNINTERRUPTIBLE); in __xfs_iunpin_wait() 1873 finish_wait(wq, &wait.wq_entry); in __xfs_iunpin_wait()
|
| /linux/fs/jbd2/ |
| H A D | journal.c | 2932 prepare_to_wait(wq, &wait.wq_entry, TASK_UNINTERRUPTIBLE); in jbd2_journal_release_jbd_inode() 2935 finish_wait(wq, &wait.wq_entry); in jbd2_journal_release_jbd_inode()
|
| /linux/fs/ext4/ |
| H A D | fast_commit.c | 252 prepare_to_wait(wq, &wait.wq_entry, TASK_UNINTERRUPTIBLE); in ext4_fc_wait_inode_state() 258 finish_wait(wq, &wait.wq_entry); in ext4_fc_wait_inode_state()
|