Lines Matching refs:len1
1060 unsigned int tmo, len1, pipe; in proc_bulk() local
1079 len1 = bulk.len; in proc_bulk()
1080 if (len1 >= USBFS_XFER_MAX) in proc_bulk()
1082 ret = usbfs_increase_memory_usage(len1 + sizeof(struct urb)); in proc_bulk()
1085 if (!(tbuf = kmalloc(len1, GFP_KERNEL))) { in proc_bulk()
1091 if (len1 && !access_ok(VERIFY_WRITE, bulk.data, len1)) { in proc_bulk()
1095 snoop_urb(dev, NULL, pipe, len1, tmo, SUBMIT, NULL, 0); in proc_bulk()
1098 i = usb_bulk_msg(dev, pipe, tbuf, len1, &len2, tmo); in proc_bulk()
1109 if (len1) { in proc_bulk()
1110 if (copy_from_user(tbuf, bulk.data, len1)) { in proc_bulk()
1115 snoop_urb(dev, NULL, pipe, len1, tmo, SUBMIT, tbuf, len1); in proc_bulk()
1118 i = usb_bulk_msg(dev, pipe, tbuf, len1, &len2, tmo); in proc_bulk()
1125 usbfs_decrease_memory_usage(len1 + sizeof(struct urb)); in proc_bulk()