Lines Matching refs:atio

771 	struct ccb_accept_tio *atio;
791 atio = (struct ccb_accept_tio *)ccb_h;
795 flags = atio->ccb_h.flags &
807 csio->cdb_len = atio->cdb_len;
845 atio->ccb_h.target_id = CAM_TARGET_WILDCARD;
846 atio->ccb_h.target_lun = CAM_LUN_WILDCARD;
849 if (atio->ccb_h.func_code != XPT_ACCEPT_TARGET_IO) {
852 atio->ccb_h.func_code);
855 start_ccb->cab.abort_ccb = (union ccb *)atio;
865 xpt_action((union ccb *)atio);
890 atio->tag_id, io->io_hdr.status);
904 atio->tag_id, flags, data_ptr, dxfer_len);
928 "%d sg %u\n", __func__, atio->tag_id,
929 atio->cdb_io.cdb_bytes[0], flags, dxfer_len,
932 atio->tag_id, io->io_hdr.status);
940 atio->tag_id,
941 atio->init_id,
947 start_ccb->ccb_h.ccb_atio = atio;
1006 ctlfe_adjust_cdb(struct ccb_accept_tio *atio, uint32_t offset)
1010 uint8_t *cmdbyt = (atio->ccb_h.flags & CAM_CDB_POINTER)?
1011 atio->cdb_io.cdb_ptr : atio->cdb_io.cdb_bytes;
1079 struct ccb_accept_tio *atio = NULL;
1131 atio = &done_ccb->atio;
1151 io->io_hdr.nexus.initid.id = atio->init_id;
1153 io->io_hdr.nexus.targ_target.id = atio->ccb_h.target_id;
1154 io->io_hdr.nexus.targ_lun = atio->ccb_h.target_lun;
1155 io->scsiio.tag_num = atio->tag_id;
1156 switch (atio->tag_action) {
1175 atio->tag_action);
1178 if (atio->cdb_len > sizeof(io->scsiio.cdb)) {
1180 __func__, atio->cdb_len, sizeof(io->scsiio.cdb));
1182 io->scsiio.cdb_len = min(atio->cdb_len, sizeof(io->scsiio.cdb));
1183 bcopy(atio->cdb_io.cdb_bytes, io->scsiio.cdb,
1202 atio = (struct ccb_accept_tio *)done_ccb->ccb_h.ccb_atio;
1203 io = (union ctl_io *)atio->ccb_h.io_ptr;
1208 __func__, atio->tag_id, done_ccb->ccb_h.flags);
1235 if (ctlfe_adjust_cdb(atio, srr_off) == 0) {
1236 done_ccb = (union ccb *)atio;
1254 TAILQ_INSERT_HEAD(&softc->work_queue, &atio->ccb_h,
1281 atio->ccb_h.target_id = CAM_TARGET_WILDCARD;
1282 atio->ccb_h.target_lun = CAM_LUN_WILDCARD;
1285 ctlfe_free_ccb(periph, (union ccb *)atio);
1288 xpt_action((union ccb *)atio);
1353 flags = atio->ccb_h.flags &
1366 atio->tag_id,
1367 atio->cdb_io.cdb_bytes[0]);
1369 __func__, atio->tag_id,
1379 atio->tag_id,
1380 atio->init_id,
1388 csio->ccb_h.ccb_atio = atio;