Searched refs:a_descr (Results 1 – 2 of 2) sorted by relevance
135 struct atio_descr *a_descr; in tcmd_handle() local143 a_descr = (struct atio_descr *)atio->ccb_h.targ_descr; in tcmd_handle()146 if (last_cmd == NULL || last_cmd->cmd != a_descr->cdb[0]) { in tcmd_handle()150 if (a_descr->cdb[0] == h->cmd) in tcmd_handle()167 warnx("no done func for %#x???", a_descr->cdb[0]); in tcmd_handle()171 warnx("cdb %#x not handled", a_descr->cdb[0]); in tcmd_handle()185 a_descr->cdb[0] != INQUIRY) { in tcmd_handle()190 cdb_debug(a_descr->cdb, "UA active for %u: ", in tcmd_handle()217 a_descr->init_req += ctio->dxfer_len; in tcmd_handle()295 struct atio_descr *a_descr; in tcmd_inquiry() local[all …]
371 struct atio_descr *a_descr; in init_ccbs() local379 a_descr = (struct atio_descr *)malloc(sizeof(*a_descr)); in init_ccbs()380 if (a_descr == NULL) { in init_ccbs()386 atio->ccb_h.targ_descr = a_descr; in init_ccbs()566 struct atio_descr *a_descr; in handle_read() local570 a_descr = (struct atio_descr *)atio->ccb_h.targ_descr; in handle_read()571 bzero(a_descr, sizeof(*a_descr)); in handle_read()572 TAILQ_INIT(&a_descr->cmplt_io); in handle_read()573 a_descr->flags = atio->ccb_h.flags & in handle_read()577 a_descr->cdb = atio->cdb_io.cdb_bytes; in handle_read()[all …]