Lines Matching refs:atiop
4848 struct ccb_accept_tio *atiop;
5058 atiop = (struct ccb_accept_tio *) STAILQ_FIRST(&trtp->atios);
5059 if (atiop == NULL) {
5070 "Get FREE ATIO %p lun %jx\n", atiop,
5071 (uintmax_t)atiop->ccb_h.target_lun);
5072 atiop->ccb_h.ccb_mpt_ptr = mpt;
5073 atiop->ccb_h.status = CAM_CDB_RECVD;
5074 atiop->ccb_h.target_lun = lun;
5075 atiop->sense_len = 0;
5076 atiop->tag_id = tgt->tag_id;
5077 atiop->init_id = GET_INITIATOR_INDEX(reply_desc);
5078 atiop->cdb_len = 16;
5079 memcpy(atiop->cdb_io.cdb_bytes, cdbp, atiop->cdb_len);
5081 atiop->tag_action = tag_action;
5082 atiop->ccb_h.flags |= CAM_TAG_ACTION_VALID;
5086 mpt_prt(mpt, "START_CCB %p for lun %jx CDB=<", atiop,
5087 (uintmax_t)atiop->ccb_h.target_lun);
5088 for (i = 0; i < atiop->cdb_len; i++) {
5090 (i == (atiop->cdb_len - 1))? '>' : ' ');
5096 xpt_done((union ccb *)atiop);