Lines Matching defs:rv

991 	int rv;
994 rv = xdf_intr_locked(vdp);
1000 return (rv);
1024 int pollc, rv = 0;
1055 rv = EIO;
1059 vdp->xdf_addr, rv);
1060 return (rv);
1066 int rv;
1068 rv = xdf_ring_drain_locked(vdp);
1070 return (rv);
1513 int rv;
1587 if (((rv = xenbus_printf(xbt, xsname,
1589 ((rv = xenbus_printf(xbt, xsname,
1591 ((rv = xenbus_printf(xbt, xsname,
1593 ((rv = xenbus_printf(xbt, xsname,
1595 ((rv = xvdi_switch_state(dip, xbt, XenbusStateInitialised)) > 0)) {
1597 xvdi_fatal_error(dip, rv, "connect transaction setup");
1602 if (rv = xenbus_transaction_end(xbt, 0)) {
1603 if (rv == EAGAIN)
1605 xvdi_fatal_error(dip, rv, "connect transaction commit");
1975 int rv, timeouts = 0, reset = 20;
2015 rv = cv_wait_sig(&vdp->xdf_dev_cv, &vdp->xdf_dev_lk);
2018 rv = cv_reltimedwait_sig(&vdp->xdf_dev_cv,
2021 if (rv == -1)
2027 if (rv == 0)
2179 int rv;
2239 rv = xdf_connect_locked(vdp, B_TRUE);
2243 return ((rv == XD_READY) ? B_TRUE : B_FALSE);
2293 boolean_t rv;
2296 rv = XD_IS_CD(vdp);
2298 return (rv);
2305 boolean_t rv;
2308 rv = XD_IS_RM(vdp);
2310 return (rv);
2317 boolean_t rv;
2320 rv = vdp->xdf_media_req_supported;
2322 return (rv);
2458 int rv;
2460 rv = xdf_media_req(vdp, XBV_MEDIA_REQ_LOCK, B_TRUE);
2462 return (rv);
2471 int rv;
2473 rv = xdf_media_req(vdp, XBV_MEDIA_REQ_NONE, B_TRUE);
2475 return (rv);
2485 int rv;
2488 if ((rv = xdf_media_req(vdp, XBV_MEDIA_REQ_EJECT, B_FALSE)) != 0) {
2490 return (rv);
2554 int rv;
2650 if ((rv = xdf_dkstate(vdp, mstate)) != 0)
2651 return (rv);
2681 rv = xdf_lb_rdwr(vdp->xdf_dip, TG_WRITE,
2685 rv = xdf_lb_rdwr(vdp->xdf_dip, TG_WRITE,
2693 (*dkc->dkc_callback)(dkc->dkc_cookie, rv);
2695 rv = 0;
2697 return (rv);