Lines Matching defs:wait
314 int wait)
319 wait ? RTRS_PERMIT_WAIT :
346 int wait)
352 wait ? RTRS_PERMIT_WAIT :
367 init_waitqueue_head(&iu->comp.wait);
409 wake_up(&iu->comp.wait);
429 int *errno, enum wait_type wait)
441 if (!err && wait) {
442 wait_event(iu->comp.wait, iu->comp.errno != INT_MAX);
461 static int send_msg_close(struct rnbd_clt_dev *dev, u32 device_id, bool wait)
486 msg_close_conf, &errno, wait);
541 static int send_msg_open(struct rnbd_clt_dev *dev, bool wait)
575 msg_open_conf, &errno, wait);
588 static int send_msg_sess_info(struct rnbd_clt_session *sess, bool wait)
629 msg_sess_info_conf, &errno, wait);
667 * thus we can't send any RTRS request and wait for response
844 DEFINE_WAIT(wait);
846 prepare_to_wait(&sess->rtrs_waitq, &wait, TASK_UNINTERRUPTIBLE);
848 finish_wait(&sess->rtrs_waitq, &wait);
882 * Alive session is found, wait for RTRS connection.
897 * Ref is 0, session is dying, wait for RTRS disconnect