Lines Matching refs:init_id
78 tcmd_get_istate(u_int init_id);
131 /* Caller allocates CTIO, sets its init_id
181 istate = tcmd_get_istate(ctio->init_id);
190 tcmd_sense(ctio->init_id, ctio, SSD_KEY_UNIT_ATTENTION,
195 atio->init_id);
230 tcmd_get_istate(u_int init_id)
232 if (init_id >= MAX_INITIATORS) {
233 warnx("illegal init_id %d, max %d", init_id, MAX_INITIATORS - 1);
236 return (&istates[init_id]);
241 tcmd_sense(u_int init_id, struct ccb_scsiio *ctio, u_int8_t flags,
248 istate = tcmd_get_istate(init_id);
275 tcmd_ua(u_int init_id, ua_types new_ua)
280 if (init_id == CAM_TARGET_WILDCARD) {
284 start = end = init_id;
307 cdb_debug(a_descr->cdb, "INQUIRY from %u: ", atio->init_id);
312 istate = tcmd_get_istate(ctio->init_id);
387 istate = tcmd_get_istate(ctio->init_id);
391 cdb_debug(a_descr->cdb, "REQ SENSE from %u: ", atio->init_id);
397 tcmd_sense(ctio->init_id, NULL, SSD_KEY_NO_SENSE, 0, 0);
399 ctio->init_id);
428 atio->init_id, vsize, sector_size);
460 atio->init_id, volume_size - 1, sector_size);
523 cdb_debug(cdb, "R/W from %u: ", atio->init_id);
558 tcmd_sense(ctio->init_id, ctio,
679 tcmd_sense(ctio->init_id, ctio,
774 cdb_debug(a_descr->cdb, "Sending null ok to %u : ", atio->init_id);
792 cdb_debug(a_descr->cdb, "Sending ill req to %u: ", atio->init_id);
795 tcmd_sense(atio->init_id, ctio, SSD_KEY_ILLEGAL_REQUEST,