Lines Matching refs:atiop
4819 struct ccb_accept_tio *atiop;
5028 atiop = (struct ccb_accept_tio *) STAILQ_FIRST(&trtp->atios);
5029 if (atiop == NULL) {
5040 "Get FREE ATIO %p lun %jx\n", atiop,
5041 (uintmax_t)atiop->ccb_h.target_lun);
5042 atiop->ccb_h.ccb_mpt_ptr = mpt;
5043 atiop->ccb_h.status = CAM_CDB_RECVD;
5044 atiop->ccb_h.target_lun = lun;
5045 atiop->sense_len = 0;
5046 atiop->tag_id = tgt->tag_id;
5047 atiop->init_id = GET_INITIATOR_INDEX(reply_desc);
5048 atiop->cdb_len = 16;
5049 memcpy(atiop->cdb_io.cdb_bytes, cdbp, atiop->cdb_len);
5051 atiop->tag_action = tag_action;
5052 atiop->ccb_h.flags |= CAM_TAG_ACTION_VALID;
5056 mpt_prt(mpt, "START_CCB %p for lun %jx CDB=<", atiop,
5057 (uintmax_t)atiop->ccb_h.target_lun);
5058 for (i = 0; i < atiop->cdb_len; i++) {
5060 (i == (atiop->cdb_len - 1))? '>' : ' ');
5066 xpt_done((union ccb *)atiop);