Lines Matching refs:urbs
159 struct usbfs_urb *urbs; member
1844 urb = &tpriv->urbs[i]; in discard_urbs()
1887 struct usbfs_urb *urbs; in submit_bulk_transfer() local
1946 urbs = calloc(num_urbs, sizeof(*urbs)); in submit_bulk_transfer()
1947 if (!urbs) in submit_bulk_transfer()
1949 tpriv->urbs = urbs; in submit_bulk_transfer()
1956 struct usbfs_urb *urb = &urbs[i]; in submit_bulk_transfer()
2011 free(urbs); in submit_bulk_transfer()
2012 tpriv->urbs = NULL; in submit_bulk_transfer()
2059 struct usbfs_urb **urbs; in submit_iso_transfer() local
2097 urbs = calloc(num_urbs, sizeof(*urbs)); in submit_iso_transfer()
2098 if (!urbs) in submit_iso_transfer()
2101 tpriv->iso_urbs = urbs; in submit_iso_transfer()
2122 urbs[i] = urb; in submit_iso_transfer()
2145 int r = ioctl(hpriv->fd, IOCTL_USBFS_SUBMITURB, urbs[i]); in submit_iso_transfer()
2215 tpriv->urbs = urb; in submit_control_transfer()
2228 tpriv->urbs = NULL; in submit_control_transfer()
2266 if (!tpriv->urbs) in op_cancel_transfer()
2297 if (tpriv->urbs) { in op_clear_transfer_priv()
2298 free(tpriv->urbs); in op_clear_transfer_priv()
2299 tpriv->urbs = NULL; in op_clear_transfer_priv()
2318 int urb_idx = urb - tpriv->urbs; in handle_bulk_completion()
2442 free(tpriv->urbs); in handle_bulk_completion()
2443 tpriv->urbs = NULL; in handle_bulk_completion()
2585 free(tpriv->urbs); in handle_control_completion()
2586 tpriv->urbs = NULL; in handle_control_completion()
2625 free(tpriv->urbs); in handle_control_completion()
2626 tpriv->urbs = NULL; in handle_control_completion()