Lines Matching defs:wait
90 * WRITE_ONCE(wait.state, STATE_NONE);
96 * if (wait.state == STATE_READY) return;
110 * WRITE_ONCE(wait.state, STATE_NONE);
114 * if (wait.state == STATE_READY) return;
115 * msg_ptr = wait.msg; // Access to stale data!
1067 struct ext_wait_queue wait;
1143 wait.task = current;
1144 wait.msg = (void *) msg_ptr;
1147 WRITE_ONCE(wait.state, STATE_NONE);
1148 ret = wq_sleep(info, SEND, timeout, &wait);
1189 struct ext_wait_queue wait;
1248 wait.task = current;
1251 WRITE_ONCE(wait.state, STATE_NONE);
1252 ret = wq_sleep(info, RECV, timeout, &wait);
1253 msg_ptr = wait.msg;