Searched refs:host_len (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/usb/usbip/ |
H A D | vudc_transfer.c | 191 unsigned int host_len, dev_len, len; in transfer() local 204 host_len = urb->transfer_buffer_length - urb->actual_length; in transfer() 206 len = min(host_len, dev_len); in transfer() 244 if (host_len == dev_len) { in transfer() 249 if (dev_len > host_len) in transfer() 255 if (host_len > dev_len) in transfer()
|
/linux/tools/usb/usbip/libsrc/ |
H A D | vhci_driver.c | 187 static int read_record(int rhport, char *host, unsigned long host_len, in read_record() argument 195 int max_len[] = {(int)host_len, (int)port_len, SYSFS_BUS_ID_SIZE}; in read_record() 196 size_t buffer_len = host_len + port_len + SYSFS_BUS_ID_SIZE + 4; in read_record()
|
/linux/drivers/usb/gadget/udc/ |
H A D | dummy_hcd.c | 1416 unsigned host_len, dev_len, len; in transfer() local 1432 host_len = urb->transfer_buffer_length - urb->actual_length; in transfer() 1434 len = min(host_len, dev_len); in transfer() 1480 if (host_len == dev_len) { in transfer() 1485 if (dev_len > host_len) in transfer() 1491 if (host_len > dev_len) in transfer()
|