Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/usb/core/
Ddevio.c1484 find_memory_area(struct usb_dev_state *ps, const struct usbdevfs_urb *uurb) in find_memory_area() argument
1488 unsigned long uurb_start = (unsigned long)uurb->buffer; in find_memory_area()
1494 if (uurb->buffer_length > iter->vm_start + iter->size - in find_memory_area()
1508 static int proc_do_submiturb(struct usb_dev_state *ps, struct usbdevfs_urb *uurb, in proc_do_submiturb() argument
1530 if (uurb->type == USBDEVFS_URB_TYPE_ISO) in proc_do_submiturb()
1533 if (uurb->flags & ~mask) in proc_do_submiturb()
1536 if ((unsigned int)uurb->buffer_length >= USBFS_XFER_MAX) in proc_do_submiturb()
1538 if (uurb->buffer_length > 0 && !uurb->buffer) in proc_do_submiturb()
1540 if (!(uurb->type == USBDEVFS_URB_TYPE_CONTROL && in proc_do_submiturb()
1541 (uurb->endpoint & ~USB_ENDPOINT_DIR_MASK) == 0)) { in proc_do_submiturb()
[all …]