Home
last modified time | relevance | path

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

/linux/kernel/sched/
H A Dwait.c19 void add_wait_queue(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry) in add_wait_queue() argument
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() argument
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() argument
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() argument
[all …]
/linux/include/linux/
H A Dwait_bit.h18 struct wait_queue_entry wq_entry; member
35 extern struct wait_bit_key *__var_wake_key(struct wait_queue_entry *wq_entry, void *arg);
37 int wake_bit_function(struct wait_queue_entry *wq_entry, unsigned mode, int sync, void *key);
42 .wq_entry = { \
46 LIST_HEAD_INIT((name).wq_entry.entry), \
265 &__wbq_entry.wq_entry, \
277 finish_wait(__wq_head, &__wbq_entry.wq_entry); \
/linux/kernel/futex/
H A Dcore.c1907 __wbq_entry.wq_entry.func = woken_wake_bit_function; in futex_hash_allocate()
1908 add_wait_queue(__wq_head, &__wbq_entry.wq_entry); in futex_hash_allocate()
1922 wait_woken(&__wbq_entry.wq_entry, TASK_UNINTERRUPTIBLE, in futex_hash_allocate()
1926 remove_wait_queue(__wq_head, &__wbq_entry.wq_entry); in futex_hash_allocate()
/linux/fs/
H A Dinode.c538 prepare_to_wait_event(wq_head, &wqe.wq_entry, TASK_UNINTERRUPTIBLE); in wait_on_new_inode()
545 finish_wait(wq_head, &wqe.wq_entry); in wait_on_new_inode()
615 prepare_to_wait_event(wq_head, &wqe.wq_entry, TASK_UNINTERRUPTIBLE); in inode_wait_for_lru_isolating()
626 finish_wait(wq_head, &wqe.wq_entry); in inode_wait_for_lru_isolating()
2608 prepare_to_wait_event(wq_head, &wqe.wq_entry, TASK_UNINTERRUPTIBLE); in __wait_on_freeing_inode()
2615 finish_wait(wq_head, &wqe.wq_entry); in __wait_on_freeing_inode()
H A Dfs-writeback.c1643 prepare_to_wait_event(wq_head, &wqe.wq_entry, TASK_UNINTERRUPTIBLE); in inode_wait_for_writeback()
1651 finish_wait(wq_head, &wqe.wq_entry); in inode_wait_for_writeback()
1669 prepare_to_wait_event(wq_head, &wqe.wq_entry, TASK_UNINTERRUPTIBLE); in inode_sleep_on_writeback()
1675 finish_wait(wq_head, &wqe.wq_entry); in inode_sleep_on_writeback()
H A Deventpoll.c2201 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 Dblk-iocost.c1448 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 Dxfs_inode.c1869 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 Djournal.c2937 prepare_to_wait(wq, &wait.wq_entry, TASK_UNINTERRUPTIBLE); in jbd2_journal_release_jbd_inode()
2940 finish_wait(wq, &wait.wq_entry); in jbd2_journal_release_jbd_inode()
/linux/fs/ext4/
H A Dfast_commit.c252 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()