Lines Matching refs:atio

783 	struct ccb_accept_tio *atio;
803 atio = (struct ccb_accept_tio *)ccb_h;
807 flags = atio->ccb_h.flags &
819 csio->cdb_len = atio->cdb_len;
857 atio->ccb_h.target_id = CAM_TARGET_WILDCARD;
858 atio->ccb_h.target_lun = CAM_LUN_WILDCARD;
861 if (atio->ccb_h.func_code != XPT_ACCEPT_TARGET_IO) {
864 atio->ccb_h.func_code);
867 start_ccb->cab.abort_ccb = (union ccb *)atio;
877 xpt_action((union ccb *)atio);
902 atio->tag_id, io->io_hdr.status);
916 atio->tag_id, flags, data_ptr, dxfer_len);
940 "%d sg %u\n", __func__, atio->tag_id,
941 atio->cdb_io.cdb_bytes[0], flags, dxfer_len,
944 atio->tag_id, io->io_hdr.status);
952 atio->tag_id,
953 atio->init_id,
959 start_ccb->ccb_h.ccb_atio = atio;
1023 ctlfe_adjust_cdb(struct ccb_accept_tio *atio, uint32_t offset)
1027 uint8_t *cmdbyt = (atio->ccb_h.flags & CAM_CDB_POINTER)?
1028 atio->cdb_io.cdb_ptr : atio->cdb_io.cdb_bytes;
1096 struct ccb_accept_tio *atio = NULL;
1148 atio = &done_ccb->atio;
1170 io->io_hdr.nexus.initid = atio->init_id;
1174 CAM_EXTLUN_BYTE_SWIZZLE(atio->ccb_h.target_lun));
1176 io->io_hdr.nexus.targ_lun = atio->ccb_h.target_lun;
1178 io->scsiio.tag_num = atio->tag_id;
1179 switch (atio->tag_action) {
1198 atio->tag_action);
1201 if (atio->cdb_len > sizeof(io->scsiio.cdb)) {
1203 __func__, atio->cdb_len, sizeof(io->scsiio.cdb));
1205 io->scsiio.cdb_len = min(atio->cdb_len, sizeof(io->scsiio.cdb));
1206 bcopy(atio->cdb_io.cdb_bytes, io->scsiio.cdb,
1224 atio = (struct ccb_accept_tio *)done_ccb->ccb_h.ccb_atio;
1225 io = (union ctl_io *)atio->ccb_h.io_ptr;
1230 __func__, atio->tag_id, done_ccb->ccb_h.flags);
1257 if (ctlfe_adjust_cdb(atio, srr_off) == 0) {
1258 done_ccb = (union ccb *)atio;
1276 TAILQ_INSERT_HEAD(&softc->work_queue, &atio->ccb_h,
1303 atio->ccb_h.target_id = CAM_TARGET_WILDCARD;
1304 atio->ccb_h.target_lun = CAM_LUN_WILDCARD;
1307 ctlfe_free_ccb(periph, (union ccb *)atio);
1310 xpt_action((union ccb *)atio);
1374 flags = atio->ccb_h.flags &
1387 atio->tag_id,
1388 atio->cdb_io.cdb_bytes[0]);
1390 __func__, atio->tag_id,
1400 atio->tag_id,
1401 atio->init_id,
1409 csio->ccb_h.ccb_atio = atio;