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

/freebsd-11.0-release/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.0-release/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.0-release/sys/cam/ctl/
H A Dscsi_ctl.c783 struct ccb_accept_tio *atio; local
803 atio = (struct ccb_accept_tio *)ccb_h;
807 flags = atio->ccb_h.flags &
819 csio->cdb_len = atio->cdb_len;
857 atio->ccb_h.target_id = CAM_TARGET_WILDCARD;
858 atio->ccb_h.target_lun = CAM_LUN_WILDCARD;
861 if (atio->ccb_h.func_code != XPT_ACCEPT_TARGET_IO) {
864 atio->ccb_h.func_code);
867 start_ccb->cab.abort_ccb = (union ccb *)atio;
877 xpt_action((union ccb *)atio);
1023 ctlfe_adjust_cdb(struct ccb_accept_tio *atio, uint32_t offset) argument
1096 struct ccb_accept_tio *atio = NULL; local
[all...]
/freebsd-11.0-release/sys/dev/firewire/
H A Dsbp_targ.c207 struct ccb_accept_tio *atio; member in struct:orb_info
1289 printf("%s: new atio arrived\n", __func__);
1431 struct ccb_accept_tio *atio; local
1451 atio = orbi->atio;
1457 atio->ccb_h.status = CAM_REQ_ABORTED;
1459 xpt_done((union ccb*)atio);
1476 atio->ccb_h.target_id = 0; /* XXX */
1477 atio->ccb_h.target_lun = orbi->login->lstate->lun;
1478 atio
[all...]
/freebsd-11.0-release/sys/dev/aic7xxx/
H A Daic7xxx.c7781 struct ccb_accept_tio *atio; local
7803 atio = (struct ccb_accept_tio*)SLIST_FIRST(&lstate->accept_tios);
7804 if (atio == NULL) {
7825 atio->ccb_h.target_id = target;
7826 atio->ccb_h.target_lun = lun;
7833 atio->sense_len = 0;
7834 atio->init_id = initiator;
7837 atio->tag_action = *byte++;
7838 atio->tag_id = *byte++;
7839 atio
[all...]
H A Daic79xx.c10281 struct ccb_accept_tio *atio; local
10303 atio = (struct ccb_accept_tio*)SLIST_FIRST(&lstate->accept_tios);
10304 if (atio == NULL) {
10322 atio->ccb_h.target_id = target;
10323 atio->ccb_h.target_lun = lun;
10330 atio->sense_len = 0;
10331 atio->init_id = initiator;
10334 atio->tag_action = *byte++;
10335 atio->tag_id = *byte++;
10336 atio
[all...]
/freebsd-11.0-release/sys/dev/isp/
H A Disp_freebsd.c1858 isp_prt(isp, ISP_LOGWARN, "bogus atio (0x%x) leaked to platform", aep->at_status);
3012 atp = isp_find_atpd(isp, tptr, accb->atio.tag_id);
3584 tag = ccb->atio.tag_id;
3596 if (ccb->atio.tag_id) {
3597 atio_private_data_t *atp = isp_find_atpd(isp, tptr, ccb->atio.tag_id);
3605 ccb->atio.tag_id, tptr->atio_count);
3606 ccb->atio.tag_id = 0;
/freebsd-11.0-release/sys/cam/
H A Dcam_ccb.h1260 struct ccb_accept_tio atio; member in union:ccb

Completed in 218 milliseconds