Home
last modified time | relevance | path

Searched refs:accb (Results 1 – 4 of 4) sorted by relevance

/trueos/sys/dev/aha/
HDaha.c128 struct aha_ccb *accb);
133 ahaccbvtop(struct aha_softc *aha, struct aha_ccb *accb) in ahaccbvtop() argument
136 + (uint32_t)((caddr_t)accb - (caddr_t)aha->aha_ccb_array)); in ahaccbvtop()
147 static __inline void ahafreeccb(struct aha_softc *aha, struct aha_ccb *accb);
150 static void ahadone(struct aha_softc *aha, struct aha_ccb *accb,
693 ahafreeccb(struct aha_softc *aha, struct aha_ccb *accb) in ahafreeccb() argument
698 if ((accb->flags & ACCB_ACTIVE) != 0) in ahafreeccb()
699 LIST_REMOVE(&accb->ccb->ccb_h, sim_links.le); in ahafreeccb()
701 && (accb->ccb->ccb_h.status & CAM_RELEASE_SIMQ) == 0) { in ahafreeccb()
702 accb->ccb->ccb_h.status |= CAM_RELEASE_SIMQ; in ahafreeccb()
[all …]
/trueos/sys/dev/firewire/
HDsbp_targ.c896 union ccb *accb; in sbp_targ_abort_ccb() local
907 accb = ccb->cab.abort_ccb; in sbp_targ_abort_ccb()
909 if (accb->ccb_h.func_code == XPT_ACCEPT_TARGET_IO) in sbp_targ_abort_ccb()
911 else if (accb->ccb_h.func_code == XPT_IMMEDIATE_NOTIFY) in sbp_targ_abort_ccb()
918 if (curelm == &accb->ccb_h) { in sbp_targ_abort_ccb()
926 if (nextelm == &accb->ccb_h) { in sbp_targ_abort_ccb()
936 accb->ccb_h.status = CAM_REQ_ABORTED; in sbp_targ_abort_ccb()
937 xpt_done(accb); in sbp_targ_abort_ccb()
1348 union ccb *accb = ccb->cab.abort_ccb; in sbp_targ_action1() local
1350 switch (accb->ccb_h.func_code) { in sbp_targ_action1()
[all …]
/trueos/sys/dev/mpt/
HDmpt_cam.c3300 union ccb *accb = ccb->cab.abort_ccb; in mpt_action() local
3301 switch (accb->ccb_h.func_code) { in mpt_action()
4532 union ccb *accb = ccb->cab.abort_ccb; in mpt_abort_target_ccb() local
4535 mpt_lprt(mpt, MPT_PRT_DEBUG, "aborting ccb %p\n", accb); in mpt_abort_target_ccb()
4543 if (accb->ccb_h.func_code == XPT_ACCEPT_TARGET_IO) { in mpt_abort_target_ccb()
4545 } else if (accb->ccb_h.func_code == XPT_IMMEDIATE_NOTIFY) { in mpt_abort_target_ccb()
4552 if (srch == &accb->ccb_h) { in mpt_abort_target_ccb()
4559 accb->ccb_h.status = CAM_REQ_ABORTED; in mpt_abort_target_ccb()
4560 xpt_done(accb); in mpt_abort_target_ccb()
/trueos/sys/dev/isp/
HDisp_freebsd.c3510 union ccb *accb = ccb->cab.abort_ccb; in isp_target_mark_aborted() local
3512 tptr = get_lun_statep(isp, XS_CHANNEL(accb), XS_LUN(accb)); in isp_target_mark_aborted()
3514 tptr = get_lun_statep(isp, XS_CHANNEL(accb), CAM_LUN_WILDCARD); in isp_target_mark_aborted()
3521 atp = isp_find_atpd(isp, tptr, accb->atio.tag_id); in isp_target_mark_aborted()
5128 union ccb *accb = ccb->cab.abort_ccb; in isp_action() local
5129 switch (accb->ccb_h.func_code) { in isp_action()
5136 error = isp_control(isp, ISPCTL_ABORT_CMD, accb); in isp_action()