Home | History | Annotate | Download | only in dev

Lines Matching defs:vi

597 	struct vio_ver_info *vi = (struct vio_ver_info *)tag;
599 switch (vi->tag.stype) {
610 sc->sc_major = vi->major;
611 sc->sc_minor = vi->minor;
616 DPRINTF(("CTRL/0x%02x/VER_INFO\n", vi->tag.stype));
828 struct vio_ver_info vi;
833 bzero(&vi, sizeof(vi));
834 vi.tag.type = VIO_TYPE_CTRL;
835 vi.tag.stype = VIO_SUBTYPE_INFO;
836 vi.tag.stype_env = VIO_VER_INFO;
837 vi.tag.sid = sc->sc_local_sid;
838 vi.major = major;
839 vi.minor = minor;
840 vi.dev_class = VDEV_DISK;
841 vdsk_sendmsg(sc, &vi, sizeof(vi));