Searched refs:atio (Results 1 - 11 of 11) sorted by relevance

/freebsd-10-stable/sys/cam/scsi/
H A Dscsi_targ_bh.c265 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-stable/share/examples/scsi_target/
H A Dscsi_cmds.c74 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 Dscsi_target.h77 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 Dscsi_target.c366 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-stable/sys/cam/ctl/
H A Dscsi_ctl.c757 struct ccb_accept_tio *atio; local
775 atio = (struct ccb_accept_tio *)ccb_h;
779 flags = atio->ccb_h.flags &
802 printf("%s: tag %04x abort\n", __func__, atio->tag_id);
804 KASSERT(atio->ccb_h.func_code == XPT_ACCEPT_TARGET_IO,
805 ("func_code %#x is not ATIO", atio->ccb_h.func_code));
807 start_ccb->cab.abort_ccb = (union ccb *)atio;
810 ctlfe_requeue_ccb(periph, (union ccb *)atio,
830 atio->tag_id, io->io_hdr.status);
841 atio
1004 ctlfe_adjust_cdb(struct ccb_accept_tio *atio, uint32_t offset) argument
1076 struct ccb_accept_tio *atio = NULL; local
[all...]
/freebsd-10-stable/sys/dev/firewire/
H A Dsbp_targ.c210 struct ccb_accept_tio *atio; member in struct:orb_info
1292 printf("%s: new atio arrived\n", __func__);
1435 struct ccb_accept_tio *atio; local
1455 atio = orbi->atio;
1461 atio->ccb_h.status = CAM_REQ_ABORTED;
1463 xpt_done((union ccb*)atio);
1480 atio->ccb_h.target_id = 0; /* XXX */
1481 atio->ccb_h.target_lun = orbi->login->lstate->lun;
1482 atio
[all...]
/freebsd-10-stable/sys/dev/aic7xxx/
H A Daic7xxx.c7788 struct ccb_accept_tio *atio; local
7810 atio = (struct ccb_accept_tio*)SLIST_FIRST(&lstate->accept_tios);
7811 if (atio == NULL) {
7832 atio->ccb_h.target_id = target;
7833 atio->ccb_h.target_lun = lun;
7840 atio->sense_len = 0;
7841 atio->init_id = initiator;
7844 atio->tag_action = *byte++;
7845 atio->tag_id = *byte++;
7846 atio
[all...]
H A Daic79xx.c10291 struct ccb_accept_tio *atio; local
10313 atio = (struct ccb_accept_tio*)SLIST_FIRST(&lstate->accept_tios);
10314 if (atio == NULL) {
10332 atio->ccb_h.target_id = target;
10333 atio->ccb_h.target_lun = lun;
10340 atio->sense_len = 0;
10341 atio->init_id = initiator;
10344 atio->tag_action = *byte++;
10345 atio->tag_id = *byte++;
10346 atio
[all...]
/freebsd-10-stable/sys/cam/
H A Dcam_ccb.h1227 struct ccb_accept_tio atio; member in union:ccb
/freebsd-10-stable/sys/dev/isp/
H A Disp_freebsd.c1647 isp_prt(isp, ISP_LOGWARN, "bogus atio (0x%x) leaked to platform", aep->at_status);
2894 atp = isp_find_atpd(isp, XS_CHANNEL(accb), accb->atio.tag_id);
3080 ccb->atio.tag_id = 0;
/freebsd-10-stable/sys/dev/mpt/
H A Dmpt_cam.c4571 tag = accb->atio.tag_id;

Completed in 235 milliseconds