Lines Matching refs:buffer_length
825 if (uurb.buffer_length < 8 || uurb.buffer_length > PAGE_SIZE) in proc_submiturb()
833 if (uurb.buffer_length < (le16_to_cpup(&dr->wLength) + 8)) { in proc_submiturb()
843 uurb.buffer_length = le16_to_cpup(&dr->wLength); in proc_submiturb()
845 …_ok((uurb.endpoint & USB_DIR_IN) ? VERIFY_WRITE : VERIFY_READ, uurb.buffer, uurb.buffer_length)) { in proc_submiturb()
853 if (uurb.buffer_length > 16384) in proc_submiturb()
855 …ess_ok((uurb.endpoint & USB_DIR_IN) ? VERIFY_WRITE : VERIFY_READ, uurb.buffer, uurb.buffer_length)) in proc_submiturb()
881 uurb.buffer_length = totlen; in proc_submiturb()
886 if (uurb.buffer_length > 16384) in proc_submiturb()
888 …ess_ok((uurb.endpoint & USB_DIR_IN) ? VERIFY_WRITE : VERIFY_READ, uurb.buffer, uurb.buffer_length)) in proc_submiturb()
902 if (!(as->urb.transfer_buffer = kmalloc(uurb.buffer_length, GFP_KERNEL))) { in proc_submiturb()
914 as->urb.transfer_buffer_length = uurb.buffer_length; in proc_submiturb()