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

/freebsd-11-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-11-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-11-stable/sys/cam/ctl/
H A Dscsi_ctl.c774 struct ccb_accept_tio *atio; local
792 atio = (struct ccb_accept_tio *)ccb_h;
796 flags = atio->ccb_h.flags &
819 printf("%s: tag %04x abort\n", __func__, atio->tag_id);
821 KASSERT(atio->ccb_h.func_code == XPT_ACCEPT_TARGET_IO,
822 ("func_code %#x is not ATIO", atio->ccb_h.func_code));
824 start_ccb->cab.abort_ccb = (union ccb *)atio;
827 ctlfe_requeue_ccb(periph, (union ccb *)atio,
847 atio->tag_id, io->io_hdr.status);
858 atio
1019 ctlfe_adjust_cdb(struct ccb_accept_tio *atio, uint32_t offset) argument
1091 struct ccb_accept_tio *atio = NULL; local
[all...]
/freebsd-11-stable/sys/dev/ocs_fc/
H A Docs_cam.h52 ocs_hdr_list_t atio; member in struct:ocs_tgt_resource_s
H A Docs_cam.c534 struct ccb_accept_tio *atio = NULL; local
565 atio = (struct ccb_accept_tio *)STAILQ_FIRST(&trsrc->atio);
568 if (atio) {
570 STAILQ_REMOVE_HEAD(&trsrc->atio, sim_links.stqe);
572 atio->ccb_h.status = CAM_CDB_RECVD;
573 atio->ccb_h.target_lun = lun;
574 atio->sense_len = 0;
576 atio->init_id = node->instance_index;
577 atio
2365 struct ccb_accept_tio *atio = NULL; local
[all...]
/freebsd-11-stable/sys/dev/firewire/
H A Dsbp_targ.c207 struct ccb_accept_tio *atio; member in struct:orb_info
1281 printf("%s: new atio arrived\n", __func__);
1424 struct ccb_accept_tio *atio; local
1444 atio = orbi->atio;
1450 atio->ccb_h.status = CAM_REQ_ABORTED;
1451 xpt_done((union ccb*)atio);
1467 atio->ccb_h.target_id = 0; /* XXX */
1468 atio->ccb_h.target_lun = orbi->login->lstate->lun;
1469 atio
[all...]
/freebsd-11-stable/sys/dev/aic7xxx/
H A Daic7xxx.c7782 struct ccb_accept_tio *atio; local
7804 atio = (struct ccb_accept_tio*)SLIST_FIRST(&lstate->accept_tios);
7805 if (atio == NULL) {
7826 atio->ccb_h.target_id = target;
7827 atio->ccb_h.target_lun = lun;
7834 atio->sense_len = 0;
7835 atio->init_id = initiator;
7838 atio->tag_action = *byte++;
7839 atio->tag_id = *byte++;
7840 atio
[all...]
H A Daic79xx.c10282 struct ccb_accept_tio *atio; local
10304 atio = (struct ccb_accept_tio*)SLIST_FIRST(&lstate->accept_tios);
10305 if (atio == NULL) {
10323 atio->ccb_h.target_id = target;
10324 atio->ccb_h.target_lun = lun;
10331 atio->sense_len = 0;
10332 atio->init_id = initiator;
10335 atio->tag_action = *byte++;
10336 atio->tag_id = *byte++;
10337 atio
[all...]
/freebsd-11-stable/sys/cam/
H A Dcam_ccb.h1281 struct ccb_accept_tio atio; member in union:ccb
/freebsd-11-stable/sys/dev/isp/
H A Disp_freebsd.c1657 isp_prt(isp, ISP_LOGWARN, "bogus atio (0x%x) leaked to platform", aep->at_status);
2906 atp = isp_find_atpd(isp, XS_CHANNEL(accb), accb->atio.tag_id);
3092 ccb->atio.tag_id = 0;
/freebsd-11-stable/sys/dev/mpt/
H A Dmpt_cam.c4571 tag = accb->atio.tag_id;

Completed in 399 milliseconds