Home
last modified time | relevance | path

Searched refs:user_buffer (Results 1 – 14 of 14) sorted by relevance

/Linux-v4.19/net/core/
Dpktgen.c716 static int hex32_arg(const char __user *user_buffer, unsigned long maxlen, in hex32_arg() argument
726 if (get_user(c, &user_buffer[i])) in hex32_arg()
737 static int count_trail_chars(const char __user * user_buffer, in count_trail_chars() argument
744 if (get_user(c, &user_buffer[i])) in count_trail_chars()
762 static long num_arg(const char __user *user_buffer, unsigned long maxlen, in num_arg() argument
770 if (get_user(c, &user_buffer[i])) in num_arg()
781 static int strn_len(const char __user * user_buffer, unsigned int maxlen) in strn_len() argument
787 if (get_user(c, &user_buffer[i])) in strn_len()
863 const char __user * user_buffer, size_t count, in pktgen_if_write() argument
883 tmp = count_trail_chars(user_buffer, max); in pktgen_if_write()
[all …]
/Linux-v4.19/arch/s390/pci/
Dpci_mmio.c36 const void __user *, user_buffer, size_t, length) in SYSCALL_DEFINE3() argument
65 if (copy_from_user(buf, user_buffer, length)) in SYSCALL_DEFINE3()
76 void __user *, user_buffer, size_t, length) in SYSCALL_DEFINE3() argument
108 if (copy_to_user(user_buffer, buf, length)) in SYSCALL_DEFINE3()
/Linux-v4.19/drivers/usb/misc/
Diowarrior.c332 const char __user *user_buffer, in iowarrior_write() argument
366 buf = memdup_user(user_buffer, count); in iowarrior_write()
423 if (copy_from_user(buf, user_buffer, count)) { in iowarrior_write()
468 __u8 __user *user_buffer; in iowarrior_ioctl() local
501 user_buffer = (__u8 __user *)arg; in iowarrior_ioctl()
502 io_res = copy_from_user(buffer, user_buffer, in iowarrior_ioctl()
521 user_buffer = (__u8 __user *)arg; in iowarrior_ioctl()
528 io_res = copy_to_user(user_buffer, buffer, dev->report_size); in iowarrior_ioctl()
Dusblcd.c222 static ssize_t lcd_write(struct file *file, const char __user * user_buffer, in lcd_write() argument
254 if (copy_from_user(buf, user_buffer, count)) { in lcd_write()
Dyurex.c422 static ssize_t yurex_write(struct file *file, const char __user *user_buffer, in yurex_write() argument
447 if (copy_from_user(buffer, user_buffer, count)) { in yurex_write()
Dftdi-elan.c1105 const char __user *user_buffer, size_t count, in ftdi_elan_write() argument
1130 if (copy_from_user(buf, user_buffer, count)) { in ftdi_elan_write()
/Linux-v4.19/drivers/input/serio/
Duserio.c121 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()
/Linux-v4.19/include/linux/iio/
Dbuffer-dma.h141 char __user *user_buffer);
/Linux-v4.19/drivers/iio/buffer/
Dindustrialio-buffer-dma.c484 char __user *user_buffer) in iio_dma_buffer_read() argument
511 if (copy_to_user(user_buffer, block->vaddr + queue->fileio.pos, n)) { in iio_dma_buffer_read()
/Linux-v4.19/drivers/usb/
Dusb-skeleton.c359 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()
/Linux-v4.19/arch/s390/kernel/
Dcompat_wrapper.c171 …0_pci_mmio_write, const unsigned long, mmio_addr, const void __user *, user_buffer, const size_t, …
172 COMPAT_SYSCALL_WRAP3(s390_pci_mmio_read, const unsigned long, mmio_addr, void __user *, user_buffer
/Linux-v4.19/net/bluetooth/
D6lowpan.c1115 const char __user *user_buffer, in lowpan_control_write() argument
1126 if (copy_from_user(buf, user_buffer, buf_size)) in lowpan_control_write()
/Linux-v4.19/drivers/block/mtip32xx/
Dmtip32xx.c1170 static int mtip_get_identify(struct mtip_port *port, void __user *user_buffer) in mtip_get_identify() argument
1237 if (user_buffer) { in mtip_get_identify()
1239 user_buffer, in mtip_get_identify()
1684 void __user *user_buffer) in exec_drive_command() argument
1694 if (!user_buffer) in exec_drive_command()
1766 if (copy_to_user(user_buffer, in exec_drive_command()
/Linux-v4.19/drivers/scsi/
Dpmcraid.c3870 void __user *user_buffer in pmcraid_ioctl_driver() argument