USBD_CANCELLED
xfer->ux_status = USBD_CANCELLED;
USBD_CANCELLED);
xfer->ux_status = USBD_CANCELLED;
spipe->xfer->ux_status = USBD_CANCELLED;
return USBD_CANCELLED;
xfer->ux_status = USBD_CANCELLED;
spipe->xfer->ux_status = USBD_CANCELLED;
xfer->ux_status = USBD_CANCELLED;
KASSERTMSG((xfer->ux_status == USBD_CANCELLED ||
KASSERTMSG(status == USBD_CANCELLED,
KASSERT(xfer->ux_status != USBD_CANCELLED);
ehci_abort_isoc_xfer(xfer, USBD_CANCELLED);
ehci_abort_isoc_xfer(xfer, USBD_CANCELLED);
if (status == USBD_CANCELLED)
return USBD_CANCELLED;
if (status != USBD_CANCELLED)
return USBD_CANCELLED;
if (status == USBD_NOT_STARTED || status == USBD_CANCELLED) {
if (status == USBD_NOT_STARTED || status == USBD_CANCELLED)
if (status != USBD_CANCELLED)
if (status == USBD_CANCELLED)
status == USBD_NOT_STARTED || status == USBD_CANCELLED ||
if (status == USBD_NOT_STARTED || status == USBD_CANCELLED) {
if (err != 0 && err != USBD_CANCELLED) {
else if (status != USBD_CANCELLED) {
if (status == USBD_NOT_STARTED || status == USBD_CANCELLED)
if (status == USBD_NOT_STARTED || status == USBD_CANCELLED)
if (status != USBD_CANCELLED)
if (status == USBD_NOT_STARTED || status == USBD_CANCELLED)
if (status == USBD_NOT_STARTED || status == USBD_CANCELLED)
if (status != USBD_NOT_STARTED && status != USBD_CANCELLED) {
if (status == USBD_NOT_STARTED || status == USBD_CANCELLED)
if (status == USBD_NOT_STARTED || status == USBD_CANCELLED)
if (status == USBD_NOT_STARTED || status == USBD_CANCELLED)
if (status == USBD_NOT_STARTED || status == USBD_CANCELLED)
if (status == USBD_NOT_STARTED || status == USBD_CANCELLED)
if (status == USBD_NOT_STARTED || status == USBD_CANCELLED)
else if (status != USBD_CANCELLED)
if (status != USBD_NOT_STARTED && status != USBD_CANCELLED) {
if (status == USBD_NOT_STARTED || status == USBD_CANCELLED)
if (status == USBD_NOT_STARTED || status == USBD_CANCELLED)
if (status == USBD_NOT_STARTED || status == USBD_CANCELLED)
xfer->ux_status = USBD_CANCELLED;
KASSERTMSG((xfer->ux_status == USBD_CANCELLED ||
xfer->ux_status = USBD_CANCELLED;
xfer->ux_status = USBD_CANCELLED;
if (status == USBD_NOT_STARTED || status == USBD_CANCELLED)
if (status == USBD_CANCELLED)
if (status == USBD_CANCELLED)
if (status == USBD_NOT_STARTED || status == USBD_CANCELLED)
if (status == USBD_NOT_STARTED || status == USBD_CANCELLED)
if (err != USBD_CANCELLED && err != USBD_IOERROR &&
if (status == USBD_CANCELLED || status == USBD_IOERROR ||
case USBD_CANCELLED:
case USBD_CANCELLED:
if (status == USBD_CANCELLED || sc->sc_dying)
if (status == USBD_NOT_STARTED || status == USBD_CANCELLED)
if (status == USBD_CANCELLED || sc->sc_closing) /* this is normal */
if (status == USBD_CANCELLED)
if (status == USBD_CANCELLED)
if (status == USBD_CANCELLED)
if (status == USBD_CANCELLED)
if (status == USBD_CANCELLED)
if (xfer->ux_status == USBD_CANCELLED ||
KASSERTMSG((xfer->ux_status == USBD_CANCELLED ||
xfer->ux_status = USBD_CANCELLED;
xfer->ux_status = USBD_CANCELLED;
err = USBD_CANCELLED;
if (err != USBD_CANCELLED)
err = USBD_CANCELLED;
if (status == USBD_CANCELLED)
if (status == USBD_CANCELLED) /* this is normal */
if (err == USBD_CANCELLED) {
if (err == USBD_CANCELLED) {
if (status == USBD_NOT_STARTED || status == USBD_CANCELLED
if (status == USBD_NOT_STARTED || status == USBD_CANCELLED)
if (status == USBD_NOT_STARTED || status == USBD_CANCELLED)
if (status == USBD_NOT_STARTED || status == USBD_CANCELLED)
erred = xfer->ux_status == USBD_CANCELLED ||
KASSERT(xfer->ux_status != USBD_CANCELLED);
xfer->ux_status = USBD_CANCELLED;
SDT_PROBE2(usb, device, xfer, done, xfer, USBD_CANCELLED);
return USBD_CANCELLED;
status == USBD_CANCELLED)
case USBD_CANCELLED:
status == USBD_CANCELLED) {
case USBD_CANCELLED:
case USBD_CANCELLED:
case USBD_CANCELLED:
if (status == USBD_CANCELLED || sc->sc_closing) /* this is normal */
if (status == USBD_NOT_STARTED || status == USBD_CANCELLED)
KASSERT(xfer->ux_status != USBD_CANCELLED);
xfer->ux_status = USBD_CANCELLED;
xfer->ux_status = USBD_CANCELLED;
KASSERTMSG((xfer->ux_status == USBD_CANCELLED ||
xfer->ux_status = USBD_CANCELLED;
xfererr = USBD_CANCELLED;