Lines Matching refs:len1
1198 unsigned int tmo, len1, pipe; in do_proc_bulk() local
1215 len1 = bulk->len; in do_proc_bulk()
1216 if (len1 >= (INT_MAX - sizeof(struct urb))) in do_proc_bulk()
1218 ret = usbfs_increase_memory_usage(len1 + sizeof(struct urb)); in do_proc_bulk()
1221 tbuf = kmalloc(len1, GFP_KERNEL); in do_proc_bulk()
1228 snoop_urb(dev, NULL, pipe, len1, tmo, SUBMIT, NULL, 0); in do_proc_bulk()
1231 i = usb_bulk_msg(dev, pipe, tbuf, len1, &len2, tmo); in do_proc_bulk()
1242 if (len1) { in do_proc_bulk()
1243 if (copy_from_user(tbuf, bulk->data, len1)) { in do_proc_bulk()
1248 snoop_urb(dev, NULL, pipe, len1, tmo, SUBMIT, tbuf, len1); in do_proc_bulk()
1251 i = usb_bulk_msg(dev, pipe, tbuf, len1, &len2, tmo); in do_proc_bulk()
1258 usbfs_decrease_memory_usage(len1 + sizeof(struct urb)); in do_proc_bulk()