Lines Matching defs:wait
173 /* something went wrong with wait */
185 DECLARE_WAITQUEUE(wait, current);
195 add_wait_queue(&sd->sd_rq, &wait);
200 remove_wait_queue(&sd->sd_rq, &wait);
202 /* wait was interrupted */
265 /* something went wrong with wait */
282 DECLARE_WAITQUEUE(wait, current);
291 add_wait_queue(&sd->sd_wq, &wait);
296 remove_wait_queue(&sd->sd_wq, &wait);
298 /* wait was interrupted */
322 scdrv_poll(struct file *file, struct poll_table_struct *wait)
329 poll_wait(file, &sd->sd_rq, wait);
330 poll_wait(file, &sd->sd_wq, wait);