Lines Matching refs:bookmark
82 wait_queue_entry_t *bookmark) in __wake_up_common() argument
89 if (bookmark && (bookmark->flags & WQ_FLAG_BOOKMARK)) { in __wake_up_common()
90 curr = list_next_entry(bookmark, entry); in __wake_up_common()
92 list_del(&bookmark->entry); in __wake_up_common()
93 bookmark->flags = 0; in __wake_up_common()
113 if (bookmark && (++cnt > WAITQUEUE_WALK_BREAK_CNT) && in __wake_up_common()
115 bookmark->flags = WQ_FLAG_BOOKMARK; in __wake_up_common()
116 list_add_tail(&bookmark->entry, &next->entry); in __wake_up_common()
128 wait_queue_entry_t bookmark; in __wake_up_common_lock() local
131 bookmark.flags = 0; in __wake_up_common_lock()
132 bookmark.private = NULL; in __wake_up_common_lock()
133 bookmark.func = NULL; in __wake_up_common_lock()
134 INIT_LIST_HEAD(&bookmark.entry); in __wake_up_common_lock()
139 wake_flags, key, &bookmark); in __wake_up_common_lock()
141 } while (bookmark.flags & WQ_FLAG_BOOKMARK); in __wake_up_common_lock()
180 unsigned int mode, void *key, wait_queue_entry_t *bookmark) in __wake_up_locked_key_bookmark() argument
182 __wake_up_common(wq_head, mode, 1, 0, key, bookmark); in __wake_up_locked_key_bookmark()