Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/usb/misc/sisusbvga/
Dsisusbvga.c316 char *kernbuffer, const char __user *userbuffer, int index, in sisusb_send_bulk_msg() argument
321 int fromuser = (userbuffer != NULL) ? 1 : 0; in sisusb_send_bulk_msg()
361 if (copy_from_user(buffer, userbuffer, passsize)) in sisusb_send_bulk_msg()
364 userbuffer += passsize; in sisusb_send_bulk_msg()
437 void *kernbuffer, char __user *userbuffer, ssize_t *bytes_read, in sisusb_recv_bulk_msg() argument
491 if (userbuffer) { in sisusb_recv_bulk_msg()
493 if (copy_to_user(userbuffer, buffer, thispass)) in sisusb_recv_bulk_msg()
496 userbuffer += thispass; in sisusb_recv_bulk_msg()
741 char *kernbuffer, int length, const char __user *userbuffer, in sisusb_write_mem_bulk() argument
755 if (!fromkern && !userbuffer) in sisusb_write_mem_bulk()
[all …]
/Linux-v6.6/drivers/usb/core/
Ddevio.c101 void __user *userbuffer; member
553 static int copy_urb_data_to_user(u8 __user *userbuffer, struct urb *urb) in copy_urb_data_to_user() argument
563 if (copy_to_user(userbuffer, urb->transfer_buffer, len)) in copy_urb_data_to_user()
570 if (copy_to_user(userbuffer, sg_virt(&urb->sg[i]), size)) in copy_urb_data_to_user()
572 userbuffer += size; in copy_urb_data_to_user()
1927 as->userbuffer = uurb->buffer; in proc_do_submiturb()
2048 if (as->userbuffer && urb->actual_length) { in processcompl()
2049 if (copy_urb_data_to_user(as->userbuffer, urb)) in processcompl()
2219 if (as->userbuffer && urb->actual_length) { in processcompl_compat()
2220 if (copy_urb_data_to_user(as->userbuffer, urb)) in processcompl_compat()