/freebsd-10.2-release/sys/cam/scsi/ |
H A D | scsi_targ_bh.c | 265 struct ccb_accept_tio *atio; local 267 atio = (struct ccb_accept_tio*)malloc(sizeof(*atio), M_SCSIBH, 269 if (atio == NULL) { 274 atio->ccb_h.ccb_descr = targbhallocdescr(); 276 if (atio->ccb_h.ccb_descr == NULL) { 277 free(atio, M_SCSIBH); 282 xpt_setup_ccb(&atio->ccb_h, periph->path, CAM_PRIORITY_NORMAL); 283 atio->ccb_h.func_code = XPT_ACCEPT_TARGET_IO; 284 atio 344 struct ccb_accept_tio* atio; local 444 struct ccb_accept_tio *atio; local 534 struct ccb_accept_tio *atio; local 645 struct ccb_accept_tio *atio; local [all...] |
/freebsd-10.2-release/share/examples/scsi_target/ |
H A D | scsi_cmds.c | 74 static int start_io(struct ccb_accept_tio *atio, 135 tcmd_handle(struct ccb_accept_tio *atio, struct ccb_scsiio *ctio, io_ops event) argument 143 warnx("tcmd_handle atio %p ctio %p atioflags %#x", atio, ctio, 144 atio->ccb_h.flags); 147 a_descr = (struct atio_descr *)atio->ccb_h.targ_descr; 163 last_cmd->done(atio, ctio, event); 176 tcmd_illegal_req(atio, ctio); 183 tcmd_illegal_req(atio, ctio); 195 atio 296 tcmd_inquiry(struct ccb_accept_tio *atio, struct ccb_scsiio *ctio) argument 376 tcmd_req_sense(struct ccb_accept_tio *atio, struct ccb_scsiio *ctio) argument 412 tcmd_rd_cap(struct ccb_accept_tio *atio, struct ccb_scsiio *ctio) argument 443 tcmd_rd_cap16(struct ccb_accept_tio *atio, struct ccb_scsiio *ctio) argument 475 tcmd_rdwr(struct ccb_accept_tio *atio, struct ccb_scsiio *ctio) argument 513 tcmd_rdwr_decode(struct ccb_accept_tio *atio, struct ccb_scsiio *ctio) argument 584 start_io(struct ccb_accept_tio *atio, struct ccb_scsiio *ctio, int dir) argument 665 tcmd_rdwr_done(struct ccb_accept_tio *atio, struct ccb_scsiio *ctio, io_ops event) argument 768 tcmd_null_ok(struct ccb_accept_tio *atio, struct ccb_scsiio *ctio) argument 786 tcmd_illegal_req(struct ccb_accept_tio *atio, struct ccb_scsiio *ctio) argument [all...] |
H A D | scsi_target.h | 77 struct ccb_accept_tio *atio; member in struct:ctio_descr 106 extern int tcmd_handle(struct ccb_accept_tio *atio, 112 extern int work_atio(struct ccb_accept_tio *atio);
|
H A D | scsi_target.c | 366 struct ccb_accept_tio *atio; local 370 atio = (struct ccb_accept_tio *)malloc(sizeof(*atio)); 371 if (atio == NULL) { 377 free(atio); 381 atio->ccb_h.func_code = XPT_ACCEPT_TARGET_IO; 382 atio->ccb_h.targ_descr = a_descr; 383 send_ccb((union ccb *)atio, /*priority*/1); 466 oo += run_queue(c_descr->atio); 496 retval = work_atio(&ccb->atio); 561 struct ccb_accept_tio *atio; local 611 work_atio(struct ccb_accept_tio *atio) argument 721 run_queue(struct ccb_accept_tio *atio) argument [all...] |
/freebsd-10.2-release/sys/cam/ctl/ |
H A D | scsi_ctl.c | 771 struct ccb_accept_tio *atio; local 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); 1006 ctlfe_adjust_cdb(struct ccb_accept_tio *atio, uint32_t offset) argument 1079 struct ccb_accept_tio *atio = NULL; local [all...] |
/freebsd-10.2-release/sys/dev/isp/ |
H A D | isp_freebsd.c | 2280 isp_prt(isp, ISP_LOGWARN, "bad atio (0x%x) leaked to platform", status); 2389 isp_prt(isp, ISP_LOGWARN, "bogus atio (0x%x) leaked to platform", aep->at_status); 3566 atp = isp_find_atpd(isp, tptr, accb->atio.tag_id); 3735 struct ccb_accept_tio *atio; local 3762 atio = (struct ccb_accept_tio *)ccbh; 3772 atio = (struct ccb_accept_tio *)ccbh; 3777 ATIO_PPD(atio)->on_queue = 0; 3779 if (atio->tag_id == 0xffffffff || atio->ccb_h.func_code != XPT_ACCEPT_TARGET_IO) { 3788 memset(&atio 4042 struct ccb_accept_tio *atio; local [all...] |
/freebsd-10.2-release/sys/dev/firewire/ |
H A D | sbp_targ.c | 210 struct ccb_accept_tio *atio; member in struct:orb_info 1292 printf("%s: new atio arrived\n", __func__); 1434 struct ccb_accept_tio *atio; local 1454 atio = orbi->atio; 1460 atio->ccb_h.status = CAM_REQ_ABORTED; 1462 xpt_done((union ccb*)atio); 1479 atio->ccb_h.target_id = 0; /* XXX */ 1480 atio->ccb_h.target_lun = orbi->login->lstate->lun; 1481 atio [all...] |
/freebsd-10.2-release/sys/dev/aic7xxx/ |
H A D | aic7xxx.c | 7787 struct ccb_accept_tio *atio; local 7809 atio = (struct ccb_accept_tio*)SLIST_FIRST(&lstate->accept_tios); 7810 if (atio == NULL) { 7831 atio->ccb_h.target_id = target; 7832 atio->ccb_h.target_lun = lun; 7839 atio->sense_len = 0; 7840 atio->init_id = initiator; 7843 atio->tag_action = *byte++; 7844 atio->tag_id = *byte++; 7845 atio [all...] |
H A D | aic79xx.c | 10290 struct ccb_accept_tio *atio; local 10312 atio = (struct ccb_accept_tio*)SLIST_FIRST(&lstate->accept_tios); 10313 if (atio == NULL) { 10331 atio->ccb_h.target_id = target; 10332 atio->ccb_h.target_lun = lun; 10339 atio->sense_len = 0; 10340 atio->init_id = initiator; 10343 atio->tag_action = *byte++; 10344 atio->tag_id = *byte++; 10345 atio [all...] |
/freebsd-10.2-release/sys/cam/ |
H A D | cam_ccb.h | 1198 struct ccb_accept_tio atio; member in union:ccb
|