Home
last modified time | relevance | path

Searched refs:wq_entry (Results 1 – 6 of 6) sorted by relevance

/linux/kernel/sched/
H A Dwait.c18 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 Dwait_bit.c24 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 …]
/linux/fs/
H A Dfs-writeback.c1607 prepare_to_wait_event(wq_head, &wqe.wq_entry, TASK_UNINTERRUPTIBLE); in inode_wait_for_writeback()
1615 finish_wait(wq_head, &wqe.wq_entry); in inode_wait_for_writeback()
1633 prepare_to_wait_event(wq_head, &wqe.wq_entry, TASK_UNINTERRUPTIBLE); in inode_sleep_on_writeback()
1639 finish_wait(wq_head, &wqe.wq_entry); in inode_sleep_on_writeback()
H A Deventpoll.c1884 static int ep_autoremove_wake_function(struct wait_queue_entry *wq_entry, in ep_autoremove_wake_function() argument
1887 int ret = default_wake_function(wq_entry, mode, sync, key); in ep_autoremove_wake_function()
1893 list_del_init_careful(&wq_entry->entry); in ep_autoremove_wake_function()
/linux/fs/ext4/
H A Dfast_commit.c282 prepare_to_wait(wq, &wait.wq_entry, TASK_UNINTERRUPTIBLE); in ext4_fc_del()
288 finish_wait(wq, &wait.wq_entry); in ext4_fc_del()
578 prepare_to_wait(wq, &wait.wq_entry, TASK_UNINTERRUPTIBLE); in ext4_fc_track_inode()
581 finish_wait(wq, &wait.wq_entry); in ext4_fc_track_inode()
/linux/fs/xfs/
H A Dxfs_inode.c1862 prepare_to_wait(wq, &wait.wq_entry, TASK_UNINTERRUPTIBLE); in __xfs_iunpin_wait()
1866 finish_wait(wq, &wait.wq_entry); in __xfs_iunpin_wait()