Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/usb/misc/sisusbvga/
Dsisusb.c330 char *kernbuffer, const char __user *userbuffer, int index, in sisusb_send_bulk_msg() argument
335 int fromuser = (userbuffer != NULL) ? 1 : 0; in sisusb_send_bulk_msg()
375 if (copy_from_user(buffer, userbuffer, passsize)) in sisusb_send_bulk_msg()
378 userbuffer += passsize; in sisusb_send_bulk_msg()
451 void *kernbuffer, char __user *userbuffer, ssize_t *bytes_read, in sisusb_recv_bulk_msg() argument
505 if (userbuffer) { in sisusb_recv_bulk_msg()
507 if (copy_to_user(userbuffer, buffer, thispass)) in sisusb_recv_bulk_msg()
510 userbuffer += thispass; in sisusb_recv_bulk_msg()
755 char *kernbuffer, int length, const char __user *userbuffer, in sisusb_write_mem_bulk() argument
769 if (!fromkern && !userbuffer) in sisusb_write_mem_bulk()
[all …]
/Linux-v6.1/drivers/usb/core/
Ddevio.c101 void __user *userbuffer; member
546 static int copy_urb_data_to_user(u8 __user *userbuffer, struct urb *urb) in copy_urb_data_to_user() argument
556 if (copy_to_user(userbuffer, urb->transfer_buffer, len)) in copy_urb_data_to_user()
563 if (copy_to_user(userbuffer, sg_virt(&urb->sg[i]), size)) in copy_urb_data_to_user()
565 userbuffer += size; in copy_urb_data_to_user()
1918 as->userbuffer = uurb->buffer; in proc_do_submiturb()
2039 if (as->userbuffer && urb->actual_length) { in processcompl()
2040 if (copy_urb_data_to_user(as->userbuffer, urb)) in processcompl()
2210 if (as->userbuffer && urb->actual_length) { in processcompl_compat()
2211 if (copy_urb_data_to_user(as->userbuffer, urb)) in processcompl_compat()