Lines Matching refs:inflight
150 QTAILQ_HEAD(, USBHostIsoXfer) inflight;
503 bool inflight = (r->p && r->p->state == USB_PACKET_ASYNC); in usb_host_req_abort() local
505 if (inflight) { in usb_host_req_abort()
534 QTAILQ_REMOVE(&xfer->ring->inflight, xfer, next); in usb_host_req_complete_iso()
535 if (QTAILQ_EMPTY(&xfer->ring->inflight)) { in usb_host_req_complete_iso()
558 QTAILQ_INIT(&ring->inflight); in usb_host_iso_alloc()
606 static void usb_host_iso_free_xfer(USBHostIsoXfer *xfer, bool inflight) in usb_host_iso_free_xfer() argument
608 if (inflight) { in usb_host_iso_free_xfer()
621 while ((xfer = QTAILQ_FIRST(&ring->inflight)) != NULL) { in usb_host_iso_free()
622 QTAILQ_REMOVE(&ring->inflight, xfer, next); in usb_host_iso_free()
707 if (QTAILQ_EMPTY(&ring->inflight)) { in usb_host_iso_data_in()
710 QTAILQ_INSERT_TAIL(&ring->inflight, xfer, next); in usb_host_iso_data_in()
748 if (QTAILQ_EMPTY(&ring->inflight)) { in usb_host_iso_data_out()
769 if (QTAILQ_EMPTY(&ring->inflight)) { in usb_host_iso_data_out()
772 QTAILQ_INSERT_TAIL(&ring->inflight, xfer, next); in usb_host_iso_data_out()