wq_entry 1116 block/blk-iocost.c static int iocg_wake_fn(struct wait_queue_entry *wq_entry, unsigned mode, wq_entry 1119 block/blk-iocost.c struct iocg_wait *wait = container_of(wq_entry, struct iocg_wait, wait); wq_entry 1135 block/blk-iocost.c list_del_init(&wq_entry->entry); wq_entry 1138 block/blk-iocost.c default_wake_function(wq_entry, mode, flags, key); wq_entry 52 drivers/tee/optee/rpc.c static struct wq_entry *wq_entry_get(struct optee_wait_queue *wq, u32 key) wq_entry 54 drivers/tee/optee/rpc.c struct wq_entry *w; wq_entry 75 drivers/tee/optee/rpc.c struct wq_entry *w = wq_entry_get(wq, key); wq_entry 88 drivers/tee/optee/rpc.c struct wq_entry *w = wq_entry_get(wq, key); wq_entry 1959 fs/inode.c prepare_to_wait(wq, &wait.wq_entry, TASK_UNINTERRUPTIBLE); wq_entry 1963 fs/inode.c finish_wait(wq, &wait.wq_entry); wq_entry 2102 fs/inode.c prepare_to_wait(wq, &q.wq_entry, TASK_UNINTERRUPTIBLE); wq_entry 2106 fs/inode.c finish_wait(wq, &q.wq_entry); wq_entry 2593 fs/jbd2/journal.c prepare_to_wait(wq, &wait.wq_entry, TASK_UNINTERRUPTIBLE); wq_entry 2596 fs/jbd2/journal.c finish_wait(wq, &wait.wq_entry); wq_entry 265 fs/xfs/xfs_icache.c prepare_to_wait(wq, &wait.wq_entry, TASK_UNINTERRUPTIBLE); wq_entry 270 fs/xfs/xfs_icache.c finish_wait(wq, &wait.wq_entry); wq_entry 603 fs/xfs/xfs_inode.c prepare_to_wait_exclusive(wq, &wait.wq_entry, TASK_UNINTERRUPTIBLE); wq_entry 608 fs/xfs/xfs_inode.c finish_wait(wq, &wait.wq_entry); wq_entry 2815 fs/xfs/xfs_inode.c prepare_to_wait(wq, &wait.wq_entry, TASK_UNINTERRUPTIBLE); wq_entry 2819 fs/xfs/xfs_inode.c finish_wait(wq, &wait.wq_entry); wq_entry 16 include/linux/wait.h typedef int (*wait_queue_func_t)(struct wait_queue_entry *wq_entry, unsigned mode, int flags, void *key); wq_entry 17 include/linux/wait.h int default_wake_function(struct wait_queue_entry *wq_entry, unsigned mode, int flags, void *key); wq_entry 79 include/linux/wait.h static inline void init_waitqueue_entry(struct wait_queue_entry *wq_entry, struct task_struct *p) wq_entry 81 include/linux/wait.h wq_entry->flags = 0; wq_entry 82 include/linux/wait.h wq_entry->private = p; wq_entry 83 include/linux/wait.h wq_entry->func = default_wake_function; wq_entry 87 include/linux/wait.h init_waitqueue_func_entry(struct wait_queue_entry *wq_entry, wait_queue_func_t func) wq_entry 89 include/linux/wait.h wq_entry->flags = 0; wq_entry 90 include/linux/wait.h wq_entry->private = NULL; wq_entry 91 include/linux/wait.h wq_entry->func = func; wq_entry 163 include/linux/wait.h extern void add_wait_queue(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry); wq_entry 164 include/linux/wait.h extern void add_wait_queue_exclusive(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry); wq_entry 165 include/linux/wait.h extern void remove_wait_queue(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry); wq_entry 167 include/linux/wait.h static inline void __add_wait_queue(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry) wq_entry 169 include/linux/wait.h list_add(&wq_entry->entry, &wq_head->head); wq_entry 176 include/linux/wait.h __add_wait_queue_exclusive(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry) wq_entry 178 include/linux/wait.h wq_entry->flags |= WQ_FLAG_EXCLUSIVE; wq_entry 179 include/linux/wait.h __add_wait_queue(wq_head, wq_entry); wq_entry 182 include/linux/wait.h static inline void __add_wait_queue_entry_tail(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry) wq_entry 184 include/linux/wait.h list_add_tail(&wq_entry->entry, &wq_head->head); wq_entry 188 include/linux/wait.h __add_wait_queue_entry_tail_exclusive(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry) wq_entry 190 include/linux/wait.h wq_entry->flags |= WQ_FLAG_EXCLUSIVE; wq_entry 191 include/linux/wait.h __add_wait_queue_entry_tail(wq_head, wq_entry); wq_entry 195 include/linux/wait.h __remove_wait_queue(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry) wq_entry 197 include/linux/wait.h list_del(&wq_entry->entry); wq_entry 245 include/linux/wait.h extern void init_wait_entry(struct wait_queue_entry *wq_entry, int flags); wq_entry 1123 include/linux/wait.h void prepare_to_wait(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry, int state); wq_entry 1124 include/linux/wait.h void prepare_to_wait_exclusive(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry, int state); wq_entry 1125 include/linux/wait.h long prepare_to_wait_event(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry, int state); wq_entry 1126 include/linux/wait.h void finish_wait(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry); wq_entry 1127 include/linux/wait.h long wait_woken(struct wait_queue_entry *wq_entry, unsigned mode, long timeout); wq_entry 1128 include/linux/wait.h int woken_wake_function(struct wait_queue_entry *wq_entry, unsigned mode, int sync, void *key); wq_entry 1129 include/linux/wait.h int autoremove_wake_function(struct wait_queue_entry *wq_entry, unsigned mode, int sync, void *key); wq_entry 18 include/linux/wait_bit.h struct wait_queue_entry wq_entry; wq_entry 36 include/linux/wait_bit.h int wake_bit_function(struct wait_queue_entry *wq_entry, unsigned mode, int sync, void *key); wq_entry 41 include/linux/wait_bit.h .wq_entry = { \ wq_entry 45 include/linux/wait_bit.h LIST_HEAD_INIT((name).wq_entry.entry), \ wq_entry 253 include/linux/wait_bit.h &__wbq_entry.wq_entry, \ wq_entry 265 include/linux/wait_bit.h finish_wait(__wq_head, &__wbq_entry.wq_entry); \ wq_entry 18 kernel/sched/wait.c void add_wait_queue(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry) wq_entry 22 kernel/sched/wait.c wq_entry->flags &= ~WQ_FLAG_EXCLUSIVE; wq_entry 24 kernel/sched/wait.c __add_wait_queue(wq_head, wq_entry); wq_entry 29 kernel/sched/wait.c void add_wait_queue_exclusive(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry) wq_entry 33 kernel/sched/wait.c wq_entry->flags |= WQ_FLAG_EXCLUSIVE; wq_entry 35 kernel/sched/wait.c __add_wait_queue_entry_tail(wq_head, wq_entry); wq_entry 40 kernel/sched/wait.c void remove_wait_queue(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry) wq_entry 45 kernel/sched/wait.c __remove_wait_queue(wq_head, wq_entry); wq_entry 222 kernel/sched/wait.c prepare_to_wait(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry, int state) wq_entry 226 kernel/sched/wait.c wq_entry->flags &= ~WQ_FLAG_EXCLUSIVE; wq_entry 228 kernel/sched/wait.c if (list_empty(&wq_entry->entry)) wq_entry 229 kernel/sched/wait.c __add_wait_queue(wq_head, wq_entry); wq_entry 236 kernel/sched/wait.c prepare_to_wait_exclusive(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry, int state) wq_entry 240 kernel/sched/wait.c wq_entry->flags |= WQ_FLAG_EXCLUSIVE; wq_entry 242 kernel/sched/wait.c if (list_empty(&wq_entry->entry)) wq_entry 243 kernel/sched/wait.c __add_wait_queue_entry_tail(wq_head, wq_entry); wq_entry 249 kernel/sched/wait.c void init_wait_entry(struct wait_queue_entry *wq_entry, int flags) wq_entry 251 kernel/sched/wait.c wq_entry->flags = flags; wq_entry 252 kernel/sched/wait.c wq_entry->private = current; wq_entry 253 kernel/sched/wait.c wq_entry->func = autoremove_wake_function; wq_entry 254 kernel/sched/wait.c INIT_LIST_HEAD(&wq_entry->entry); wq_entry 258 kernel/sched/wait.c long prepare_to_wait_event(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry, int state) wq_entry 277 kernel/sched/wait.c list_del_init(&wq_entry->entry); wq_entry 280 kernel/sched/wait.c if (list_empty(&wq_entry->entry)) { wq_entry 281 kernel/sched/wait.c if (wq_entry->flags & WQ_FLAG_EXCLUSIVE) wq_entry 282 kernel/sched/wait.c __add_wait_queue_entry_tail(wq_head, wq_entry); wq_entry 284 kernel/sched/wait.c __add_wait_queue(wq_head, wq_entry); wq_entry 344 kernel/sched/wait.c void finish_wait(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry) wq_entry 362 kernel/sched/wait.c if (!list_empty_careful(&wq_entry->entry)) { wq_entry 364 kernel/sched/wait.c list_del_init(&wq_entry->entry); wq_entry 370 kernel/sched/wait.c int autoremove_wake_function(struct wait_queue_entry *wq_entry, unsigned mode, int sync, void *key) wq_entry 372 kernel/sched/wait.c int ret = default_wake_function(wq_entry, mode, sync, key); wq_entry 375 kernel/sched/wait.c list_del_init(&wq_entry->entry); wq_entry 406 kernel/sched/wait.c long wait_woken(struct wait_queue_entry *wq_entry, unsigned mode, long timeout) wq_entry 415 kernel/sched/wait.c if (!(wq_entry->flags & WQ_FLAG_WOKEN) && !is_kthread_should_stop()) wq_entry 425 kernel/sched/wait.c smp_store_mb(wq_entry->flags, wq_entry->flags & ~WQ_FLAG_WOKEN); /* B */ wq_entry 431 kernel/sched/wait.c int woken_wake_function(struct wait_queue_entry *wq_entry, unsigned mode, int sync, void *key) wq_entry 435 kernel/sched/wait.c wq_entry->flags |= WQ_FLAG_WOKEN; wq_entry 437 kernel/sched/wait.c return default_wake_function(wq_entry, mode, sync, key); wq_entry 21 kernel/sched/wait_bit.c int wake_bit_function(struct wait_queue_entry *wq_entry, unsigned mode, int sync, void *arg) wq_entry 24 kernel/sched/wait_bit.c struct wait_bit_queue_entry *wait_bit = container_of(wq_entry, struct wait_bit_queue_entry, wq_entry); wq_entry 31 kernel/sched/wait_bit.c return autoremove_wake_function(wq_entry, mode, sync, key); wq_entry 47 kernel/sched/wait_bit.c prepare_to_wait(wq_head, &wbq_entry->wq_entry, mode); wq_entry 52 kernel/sched/wait_bit.c finish_wait(wq_head, &wbq_entry->wq_entry); wq_entry 62 kernel/sched/wait_bit.c DEFINE_WAIT_BIT(wq_entry, word, bit); wq_entry 64 kernel/sched/wait_bit.c return __wait_on_bit(wq_head, &wq_entry, action, mode); wq_entry 73 kernel/sched/wait_bit.c DEFINE_WAIT_BIT(wq_entry, word, bit); wq_entry 75 kernel/sched/wait_bit.c wq_entry.key.timeout = jiffies + timeout; wq_entry 77 kernel/sched/wait_bit.c return __wait_on_bit(wq_head, &wq_entry, action, mode); wq_entry 88 kernel/sched/wait_bit.c prepare_to_wait_exclusive(wq_head, &wbq_entry->wq_entry, mode); wq_entry 98 kernel/sched/wait_bit.c finish_wait(wq_head, &wbq_entry->wq_entry); wq_entry 102 kernel/sched/wait_bit.c finish_wait(wq_head, &wbq_entry->wq_entry); wq_entry 115 kernel/sched/wait_bit.c DEFINE_WAIT_BIT(wq_entry, word, bit); wq_entry 117 kernel/sched/wait_bit.c return __wait_on_bit_lock(wq_head, &wq_entry, action, mode); wq_entry 160 kernel/sched/wait_bit.c var_wake_function(struct wait_queue_entry *wq_entry, unsigned int mode, wq_entry 165 kernel/sched/wait_bit.c container_of(wq_entry, struct wait_bit_queue_entry, wq_entry); wq_entry 171 kernel/sched/wait_bit.c return autoremove_wake_function(wq_entry, mode, sync, key); wq_entry 181 kernel/sched/wait_bit.c .wq_entry = { wq_entry 184 kernel/sched/wait_bit.c .entry = LIST_HEAD_INIT(wbq_entry->wq_entry.entry),