/kernel/linux/linux-5.10/kernel/ |
D | sysctl-test.c | 200 char __user *user_buffer = (char __user *)buffer; in sysctl_test_dointvec_read_happy_single_positive() local 205 user_buffer, &len, &pos)); in sysctl_test_dointvec_read_happy_single_positive() 231 char __user *user_buffer = (char __user *)buffer; in sysctl_test_dointvec_read_happy_single_negative() local 235 user_buffer, &len, &pos)); in sysctl_test_dointvec_read_happy_single_negative() 261 char __user *user_buffer = (char __user *)buffer; in sysctl_test_dointvec_write_happy_single_positive() local 266 user_buffer, &len, &pos)); in sysctl_test_dointvec_write_happy_single_positive() 291 char __user *user_buffer = (char __user *)buffer; in sysctl_test_dointvec_write_happy_single_negative() local 296 user_buffer, &len, &pos)); in sysctl_test_dointvec_write_happy_single_negative() 322 char __user *user_buffer = (char __user *)buffer; in sysctl_test_api_dointvec_write_single_less_int_min() local 336 user_buffer, &len, &pos)); in sysctl_test_api_dointvec_write_single_less_int_min() [all …]
|
/kernel/linux/linux-5.10/net/core/ |
D | pktgen.c | 710 static int hex32_arg(const char __user *user_buffer, unsigned long maxlen, in hex32_arg() argument 720 if (get_user(c, &user_buffer[i])) in hex32_arg() 731 static int count_trail_chars(const char __user * user_buffer, in count_trail_chars() argument 738 if (get_user(c, &user_buffer[i])) in count_trail_chars() 756 static long num_arg(const char __user *user_buffer, unsigned long maxlen, in num_arg() argument 764 if (get_user(c, &user_buffer[i])) in num_arg() 775 static int strn_len(const char __user * user_buffer, unsigned int maxlen) in strn_len() argument 781 if (get_user(c, &user_buffer[i])) in strn_len() 857 const char __user * user_buffer, size_t count, in pktgen_if_write() argument 877 tmp = count_trail_chars(user_buffer, max); in pktgen_if_write() [all …]
|
/kernel/linux/linux-5.10/arch/s390/pci/ |
D | pci_mmio.c | 143 const void __user *, user_buffer, size_t, length) in SYSCALL_DEFINE3() argument 167 user_buffer, in SYSCALL_DEFINE3() 189 if (copy_from_user(buf, user_buffer, length)) in SYSCALL_DEFINE3() 272 void __user *, user_buffer, size_t, length) in SYSCALL_DEFINE3() argument 296 user_buffer, (const void __iomem *)mmio_addr, in SYSCALL_DEFINE3() 321 if (copy_to_user(user_buffer, buf, length)) in SYSCALL_DEFINE3()
|
/kernel/linux/linux-5.10/drivers/usb/misc/ |
D | iowarrior.c | 340 const char __user *user_buffer, in iowarrior_write() argument 375 buf = memdup_user(user_buffer, count); in iowarrior_write() 436 if (copy_from_user(buf, user_buffer, count)) { in iowarrior_write() 483 __u8 __user *user_buffer; in iowarrior_ioctl() local 515 user_buffer = (__u8 __user *)arg; in iowarrior_ioctl() 516 io_res = copy_from_user(buffer, user_buffer, in iowarrior_ioctl() 535 user_buffer = (__u8 __user *)arg; in iowarrior_ioctl() 542 io_res = copy_to_user(user_buffer, buffer, dev->report_size); in iowarrior_ioctl()
|
D | usblcd.c | 217 static ssize_t lcd_write(struct file *file, const char __user * user_buffer, in lcd_write() argument 256 if (copy_from_user(buf, user_buffer, count)) { in lcd_write()
|
D | yurex.c | 425 static ssize_t yurex_write(struct file *file, const char __user *user_buffer, in yurex_write() argument 450 if (copy_from_user(buffer, user_buffer, count)) { in yurex_write()
|
D | ftdi-elan.c | 1082 const char __user *user_buffer, size_t count, in ftdi_elan_write() argument 1107 if (copy_from_user(buf, user_buffer, count)) { in ftdi_elan_write()
|
/kernel/linux/linux-5.10/drivers/input/serio/ |
D | userio.c | 121 static ssize_t userio_char_read(struct file *file, char __user *user_buffer, in userio_char_read() argument 173 if (copy_to_user(user_buffer, buf, copylen)) in userio_char_read()
|
/kernel/linux/linux-5.10/include/linux/iio/ |
D | buffer-dma.h | 140 char __user *user_buffer);
|
/kernel/linux/linux-5.10/drivers/iio/buffer/ |
D | industrialio-buffer-dma.c | 482 char __user *user_buffer) in iio_dma_buffer_read() argument 509 if (copy_to_user(user_buffer, block->vaddr + queue->fileio.pos, n)) { in iio_dma_buffer_read()
|
/kernel/linux/linux-5.10/drivers/usb/ |
D | usb-skeleton.c | 359 static ssize_t skel_write(struct file *file, const char *user_buffer, in skel_write() argument 416 if (copy_from_user(buf, user_buffer, writesize)) { in skel_write()
|
/kernel/linux/linux-5.10/drivers/usb/class/ |
D | usbtmc.c | 788 void __user *user_buffer, in usbtmc_generic_read() argument 903 if (user_buffer == NULL) in usbtmc_generic_read() 960 if (copy_to_user(user_buffer + done, in usbtmc_generic_read() 1075 const void __user *user_buffer, in usbtmc_generic_write() argument 1159 if (copy_from_user(buffer, user_buffer + done, this_part)) { in usbtmc_generic_write()
|
/kernel/linux/linux-5.10/net/bluetooth/ |
D | 6lowpan.c | 1120 const char __user *user_buffer, in lowpan_control_write() argument 1131 if (copy_from_user(buf, user_buffer, buf_size)) in lowpan_control_write()
|
/kernel/linux/linux-5.10/drivers/block/mtip32xx/ |
D | mtip32xx.c | 1130 static int mtip_get_identify(struct mtip_port *port, void __user *user_buffer) in mtip_get_identify() argument 1189 if (user_buffer) { in mtip_get_identify() 1191 user_buffer, in mtip_get_identify() 1558 void __user *user_buffer) in exec_drive_command() argument 1568 if (!user_buffer) in exec_drive_command() 1639 if (copy_to_user(user_buffer, in exec_drive_command()
|
/kernel/linux/linux-5.10/drivers/android/ |
D | binder.c | 3171 const void __user *user_buffer = (const void __user *) in binder_transaction() local 3565 user_buffer + user_offset, in binder_transaction() 3574 object_size = binder_get_object(target_proc, user_buffer, in binder_transaction() 3692 binder_get_object(proc, user_buffer, t->buffer, in binder_transaction() 3705 user_buffer, parent, in binder_transaction() 3785 user_buffer + user_offset, in binder_transaction()
|
/kernel/linux/linux-5.10/drivers/scsi/ |
D | pmcraid.c | 3842 void __user *user_buffer in pmcraid_ioctl_driver() argument
|