Lines Matching defs:wait
1068 /* The state manager will wait until the slot table is empty */
1690 DEFINE_WAIT(wait);
1704 prepare_to_wait(&state->waitq, &wait, TASK_KILLABLE);
1722 finish_wait(&state->waitq, &wait);
3463 DEFINE_WAIT(wait);
3491 prepare_to_wait(&state->waitq, &wait, TASK_KILLABLE);
3501 finish_wait(&state->waitq, &wait);
3730 int nfs4_do_close(struct nfs4_state *state, gfp_t gfp_mask, int wait)
3792 if (wait)
7447 wait_queue_entry_t wait;
7451 nfs4_wake_lock_waiter(wait_queue_entry_t *wait, unsigned int mode, int flags, void *key)
7454 container_of(wait, struct nfs4_lock_waiter, wait);
7471 return woken_wake_function(wait, mode, flags, key);
7493 init_wait(&waiter.wait);
7494 waiter.wait.func = nfs4_wake_lock_waiter;
7495 add_wait_queue(q, &waiter.wait);
7503 wait_woken(&waiter.wait, TASK_INTERRUPTIBLE|TASK_FREEZABLE,
7507 remove_wait_queue(q, &waiter.wait);