Lines Matching refs:io_hdr

445 	ctsio->io_hdr.flags |= CTL_FLAG_ALLOCATED;
497 ctsio->io_hdr.flags |= CTL_FLAG_ALLOCATED;
538 ctl_get_initindex(&ctsio->io_hdr.nexus));
582 ctsio->io_hdr.flags |= CTL_FLAG_ALLOCATED;
608 ctl_get_initindex(&ctsio->io_hdr.nexus));
642 ctsio->io_hdr.flags |= CTL_FLAG_ALLOCATED;
668 ctl_get_initindex(&ctsio->io_hdr.nexus));
716 ctsio->io_hdr.flags |= CTL_FLAG_ALLOCATED;
739 ctl_get_initindex(&ctsio->io_hdr.nexus));
929 tior->io->io_hdr.retries = 3;
933 tior->io->io_hdr.ctl_private[CTL_PRIV_FRONTEND].ptr = tior;
950 tiow->io->io_hdr.retries = 3;
954 tiow->io->io_hdr.ctl_private[CTL_PRIV_FRONTEND].ptr = tiow;
1025 tio->io->io_hdr.retries = 3;
1029 tio->io->io_hdr.ctl_private[CTL_PRIV_FRONTEND].ptr = tio;
1091 tio->io->io_hdr.retries = 3;
1095 tio->io->io_hdr.ctl_private[CTL_PRIV_FRONTEND].ptr = tio;
1196 list->ctsio->io_hdr.status =
1291 tior->io->io_hdr.retries = 3;
1293 tior->io->io_hdr.ctl_private[CTL_PRIV_FRONTEND].ptr = tior;
1310 tiow->io->io_hdr.retries = 3;
1312 tiow->io->io_hdr.ctl_private[CTL_PRIV_FRONTEND].ptr = tiow;
1353 list->ctsio->io_hdr.status =
1394 tiow->io->io_hdr.retries = 3;
1396 tiow->io->io_hdr.ctl_private[CTL_PRIV_FRONTEND].ptr = tiow;
1575 switch (io->io_hdr.io_type) {
1577 switch (io->io_hdr.status & CTL_STATUS_MASK) {
1595 io->io_hdr.io_type);
1612 tio = io->io_hdr.ctl_private[CTL_PRIV_FRONTEND].ptr;
1613 if (((io->io_hdr.status & CTL_STATUS_MASK) != CTL_SUCCESS)
1614 && (io->io_hdr.retries > 0)) {
1625 io->io_hdr.retries--;
1626 old_status = io->io_hdr.status;
1627 io->io_hdr.status = CTL_STATUS_NONE;
1628 io->io_hdr.flags &= ~CTL_FLAG_ABORT;
1629 io->io_hdr.flags &= ~CTL_FLAG_SENT_2OTHER_SC;
1633 io->io_hdr.status = old_status;
1639 if ((io->io_hdr.status & CTL_STATUS_MASK) != CTL_SUCCESS) {
1641 if (io->io_hdr.io_type == CTL_IO_SCSI &&
1642 (io->io_hdr.status & CTL_STATUS_MASK) == CTL_SCSI_ERROR) {
1697 if ((ctsio->io_hdr.flags & CTL_FLAG_ALLOCATED) == 0) {
1703 ctsio->io_hdr.flags |= CTL_FLAG_ALLOCATED;
1740 list->init_port = ctsio->io_hdr.nexus.targ_port;
1741 list->init_idx = ctl_get_initindex(&ctsio->io_hdr.nexus);
1809 if (ctsio->io_hdr.flags & CTL_FLAG_ALLOCATED) {
1811 ctsio->io_hdr.flags &= ~CTL_FLAG_ALLOCATED;
1851 if ((ctsio->io_hdr.flags & CTL_FLAG_ALLOCATED) == 0) {
1857 ctsio->io_hdr.flags |= CTL_FLAG_ALLOCATED;
1894 list->init_port = ctsio->io_hdr.nexus.targ_port;
1895 list->init_idx = ctl_get_initindex(&ctsio->io_hdr.nexus);
1963 if (ctsio->io_hdr.flags & CTL_FLAG_ALLOCATED) {
1965 ctsio->io_hdr.flags &= ~CTL_FLAG_ALLOCATED;
2048 if ((ctsio->io_hdr.flags & CTL_FLAG_ALLOCATED) == 0) {
2054 ctsio->io_hdr.flags |= CTL_FLAG_ALLOCATED;
2120 list->init_port = ctsio->io_hdr.nexus.targ_port;
2121 list->init_idx = ctl_get_initindex(&ctsio->io_hdr.nexus);
2174 if (ctsio->io_hdr.flags & CTL_FLAG_ALLOCATED) {
2176 ctsio->io_hdr.flags &= ~CTL_FLAG_ALLOCATED;
2211 if ((ctsio->io_hdr.flags & CTL_FLAG_ALLOCATED) == 0) {
2217 ctsio->io_hdr.flags |= CTL_FLAG_ALLOCATED;
2266 list->init_port = ctsio->io_hdr.nexus.targ_port;
2267 list->init_idx = ctl_get_initindex(&ctsio->io_hdr.nexus);
2328 if (ctsio->io_hdr.flags & CTL_FLAG_ALLOCATED) {
2330 ctsio->io_hdr.flags &= ~CTL_FLAG_ALLOCATED;
2357 ctl_get_initindex(&ctsio->io_hdr.nexus));
2416 ctsio->io_hdr.flags |= CTL_FLAG_ALLOCATED;
2470 ctsio->io_hdr.flags |= CTL_FLAG_ALLOCATED;