Lines Matching refs:io_hdr
295 ccb = io->io_hdr.ctl_private[CTL_PRIV_FRONTEND].ptr;
365 if (io->io_hdr.flags & CTL_FLAG_BUS_ADDR) {
377 if ((io->io_hdr.flags & CTL_FLAG_DATA_MASK) ==
408 if ((io->io_hdr.status & CTL_STATUS_MASK) == CTL_SUCCESS) {
409 io->io_hdr.ctl_private[CTL_PRIV_FRONTEND].ptr = NULL;
410 io->io_hdr.flags |= CTL_FLAG_STATUS_SENT;
426 ccb = io->io_hdr.ctl_private[CTL_PRIV_FRONTEND].ptr;
435 KASSERT(((io->io_hdr.status & CTL_STATUS_MASK) != CTL_STATUS_NONE),
436 ("invalid CTL status %#x", io->io_hdr.status));
446 switch (io->io_hdr.status & CTL_STATUS_MASK) {
530 io->io_hdr.ctl_private[CTL_PRIV_FRONTEND].ptr = ccb;
537 io->io_hdr.io_type = CTL_IO_SCSI;
538 io->io_hdr.nexus.initid = 1;
539 io->io_hdr.nexus.targ_port = softc->port.targ_port;
540 io->io_hdr.nexus.targ_lun = ctl_decode_lun(
624 io->io_hdr.ctl_private[CTL_PRIV_FRONTEND].ptr = ccb;
627 io->io_hdr.io_type = CTL_IO_TASK;
628 io->io_hdr.nexus.initid = 1;
629 io->io_hdr.nexus.targ_port = softc->port.targ_port;
630 io->io_hdr.nexus.targ_lun = ctl_decode_lun(
720 io->io_hdr.ctl_private[CTL_PRIV_FRONTEND].ptr = ccb;
723 io->io_hdr.io_type = CTL_IO_TASK;
724 io->io_hdr.nexus.initid = 1;
725 io->io_hdr.nexus.targ_port = softc->port.targ_port;
726 io->io_hdr.nexus.targ_lun = ctl_decode_lun(