Lines Matching refs:wait
290 enum wait_type wait)
294 permit = rtrs_clt_get_permit(sess->rtrs, con_type, wait);
320 enum wait_type wait)
329 permit = rnbd_get_permit(sess, con_type, wait);
345 init_waitqueue_head(&iu->comp.wait);
397 wake_up(&iu->comp.wait);
412 int *errno, int wait)
424 if (!err && wait) {
425 wait_event(iu->comp.wait, iu->comp.errno != INT_MAX);
445 enum wait_type wait)
468 msg_close_conf, &errno, wait);
530 static int send_msg_open(struct rnbd_clt_dev *dev, enum wait_type wait)
564 msg_open_conf, &errno, wait);
577 static int send_msg_sess_info(struct rnbd_clt_session *sess, enum wait_type wait)
617 msg_sess_info_conf, &errno, wait);
658 * thus we can't send any RTRS request and wait for response
835 DEFINE_WAIT(wait);
837 prepare_to_wait(&sess->rtrs_waitq, &wait, TASK_UNINTERRUPTIBLE);
839 finish_wait(&sess->rtrs_waitq, &wait);
873 * Alive session is found, wait for RTRS connection.
888 * Ref is 0, session is dying, wait for RTRS disconnect