Lines Matching defs:wait
33 /* We choose 4096 entries - same as per-zone page wait tables */
129 wait_queue_entry_t wait;
150 * If 'entry' is a PMD, align the 'index' that we use for the wait
163 static int wake_exceptional_entry_func(wait_queue_entry_t *wait,
168 container_of(wait, struct wait_exceptional_entry_queue, wait);
173 return autoremove_wake_function(wait, mode, sync, NULL);
200 * Look up entry in page cache, wait for it to become unlocked if it
215 init_wait(&ewait.wait);
216 ewait.wait.func = wake_exceptional_entry_func;
228 prepare_to_wait_exclusive(wq, &ewait.wait,
233 finish_wait(wq, &ewait.wait);
248 init_wait(&ewait.wait);
249 ewait.wait.func = wake_exceptional_entry_func;
255 * inode dies. Perform a non-exclusive wait in case this path
258 prepare_to_wait(wq, &ewait.wait, TASK_UNINTERRUPTIBLE);
261 finish_wait(wq, &ewait.wait);
703 * elevated page count in the iteration and wait, or
974 * they will see the entry locked and wait for it to unlock.