userbuf 32 arch/arm/kernel/crash_dump.c int userbuf) userbuf 43 arch/arm/kernel/crash_dump.c if (userbuf) { userbuf 30 arch/arm64/kernel/crash_dump.c int userbuf) userbuf 41 arch/arm64/kernel/crash_dump.c if (userbuf) { userbuf 36 arch/ia64/kernel/crash_dump.c size_t csize, unsigned long offset, int userbuf) userbuf 43 arch/ia64/kernel/crash_dump.c if (userbuf) { userbuf 28 arch/mips/kernel/crash_dump.c size_t csize, unsigned long offset, int userbuf) userbuf 37 arch/mips/kernel/crash_dump.c if (!userbuf) { userbuf 551 arch/parisc/kernel/perf.c uint64_t userbuf[MAX_RDR_WORDS]; userbuf 561 arch/parisc/kernel/perf.c if (!perf_rdr_read_ubuf(16, userbuf)) userbuf 565 arch/parisc/kernel/perf.c tmp64 = (userbuf[21] << 22) & 0x00000000ffc00000; userbuf 566 arch/parisc/kernel/perf.c tmp64 |= (userbuf[22] >> 42) & 0x00000000003fffff; userbuf 568 arch/parisc/kernel/perf.c tmp64 |= (userbuf[22] >> 10) & 0x0000000080000000; userbuf 572 arch/parisc/kernel/perf.c tmp64 = (userbuf[22] >> 9) & 0x00000000ffffffff; userbuf 574 arch/parisc/kernel/perf.c tmp64 |= (userbuf[22] << 23) & 0x0000000080000000; userbuf 578 arch/parisc/kernel/perf.c tmp64 = (userbuf[22] << 24) & 0x00000000ff000000; userbuf 579 arch/parisc/kernel/perf.c tmp64 |= (userbuf[23] >> 40) & 0x0000000000ffffff; userbuf 581 arch/parisc/kernel/perf.c tmp64 |= (userbuf[23] >> 8) & 0x0000000080000000; userbuf 585 arch/parisc/kernel/perf.c tmp64 = (userbuf[23] >> 7) & 0x00000000ffffffff; userbuf 587 arch/parisc/kernel/perf.c tmp64 |= (userbuf[23] << 25) & 0x0000000080000000; userbuf 601 arch/parisc/kernel/perf.c userbuf[21] &= 0xfffffffffffffc00ul; /* 0 to last 10 bits */ userbuf 602 arch/parisc/kernel/perf.c userbuf[22] = 0; userbuf 603 arch/parisc/kernel/perf.c userbuf[23] = 0; userbuf 609 arch/parisc/kernel/perf.c perf_rdr_write(16, userbuf); userbuf 615 arch/parisc/kernel/perf.c if (!perf_rdr_read_ubuf(15, userbuf)) { userbuf 627 arch/parisc/kernel/perf.c raddr[0] = (uint32_t)((userbuf[0] >> 32) & 0x00000000ffffffffUL); userbuf 628 arch/parisc/kernel/perf.c raddr[1] = (uint32_t)(userbuf[0] & 0x00000000ffffffffUL); userbuf 629 arch/parisc/kernel/perf.c raddr[2] = (uint32_t)((userbuf[1] >> 32) & 0x00000000ffffffffUL); userbuf 630 arch/parisc/kernel/perf.c raddr[3] = (uint32_t)(userbuf[1] & 0x00000000ffffffffUL); userbuf 71 arch/powerpc/kernel/crash_dump.c unsigned long offset, int userbuf) userbuf 73 arch/powerpc/kernel/crash_dump.c if (userbuf) { userbuf 96 arch/powerpc/kernel/crash_dump.c size_t csize, unsigned long offset, int userbuf) userbuf 109 arch/powerpc/kernel/crash_dump.c csize = copy_oldmem_vaddr(vaddr, buf, csize, offset, userbuf); userbuf 112 arch/powerpc/kernel/crash_dump.c csize = copy_oldmem_vaddr(vaddr, buf, csize, offset, userbuf); userbuf 218 arch/s390/kernel/crash_dump.c unsigned long offset, int userbuf) userbuf 226 arch/s390/kernel/crash_dump.c if (userbuf) userbuf 27 arch/sh/kernel/crash_dump.c size_t csize, unsigned long offset, int userbuf) userbuf 36 arch/sh/kernel/crash_dump.c if (userbuf) { userbuf 52 arch/x86/kernel/crash_dump_32.c size_t csize, unsigned long offset, int userbuf) userbuf 64 arch/x86/kernel/crash_dump_32.c if (!userbuf) { userbuf 15 arch/x86/kernel/crash_dump_64.c unsigned long offset, int userbuf, userbuf 31 arch/x86/kernel/crash_dump_64.c if (userbuf) { userbuf 58 arch/x86/kernel/crash_dump_64.c unsigned long offset, int userbuf) userbuf 60 arch/x86/kernel/crash_dump_64.c return __copy_oldmem_page(pfn, buf, csize, offset, userbuf, false); userbuf 69 arch/x86/kernel/crash_dump_64.c unsigned long offset, int userbuf) userbuf 71 arch/x86/kernel/crash_dump_64.c return __copy_oldmem_page(pfn, buf, csize, offset, userbuf, true); userbuf 1466 arch/x86/platform/uv/tlb_uv.c static ssize_t tunables_read(struct file *file, char __user *userbuf, userbuf 1484 arch/x86/platform/uv/tlb_uv.c ret = simple_read_from_buffer(userbuf, count, ppos, buf, strlen(buf)); userbuf 54 drivers/bluetooth/btmrvl_debugfs.c static ssize_t btmrvl_hscfgcmd_read(struct file *file, char __user *userbuf, userbuf 64 drivers/bluetooth/btmrvl_debugfs.c return simple_read_from_buffer(userbuf, count, ppos, buf, ret); userbuf 95 drivers/bluetooth/btmrvl_debugfs.c static ssize_t btmrvl_pscmd_read(struct file *file, char __user *userbuf, userbuf 104 drivers/bluetooth/btmrvl_debugfs.c return simple_read_from_buffer(userbuf, count, ppos, buf, ret); userbuf 133 drivers/bluetooth/btmrvl_debugfs.c static ssize_t btmrvl_hscmd_read(struct file *file, char __user *userbuf, userbuf 142 drivers/bluetooth/btmrvl_debugfs.c return simple_read_from_buffer(userbuf, count, ppos, buf, ret); userbuf 43 drivers/char/powernv-op-panel.c static ssize_t oppanel_read(struct file *filp, char __user *userbuf, size_t len, userbuf 46 drivers/char/powernv-op-panel.c return simple_read_from_buffer(userbuf, len, f_pos, oppanel_data, userbuf 88 drivers/char/powernv-op-panel.c static ssize_t oppanel_write(struct file *filp, const char __user *userbuf, userbuf 100 drivers/char/powernv-op-panel.c ret = simple_write_to_buffer(oppanel_data, oppanel_size, f_pos, userbuf, userbuf 93 drivers/char/ps3flash.c static ssize_t ps3flash_read(char __user *userbuf, void *kernelbuf, userbuf 105 drivers/char/ps3flash.c __func__, __LINE__, count, *pos, userbuf, kernelbuf); userbuf 134 drivers/char/ps3flash.c __func__, __LINE__, n, src, userbuf, kernelbuf); userbuf 135 drivers/char/ps3flash.c if (userbuf) { userbuf 136 drivers/char/ps3flash.c if (copy_to_user(userbuf, src, n)) { userbuf 140 drivers/char/ps3flash.c userbuf += n; userbuf 162 drivers/char/ps3flash.c static ssize_t ps3flash_write(const char __user *userbuf, userbuf 174 drivers/char/ps3flash.c __func__, __LINE__, count, *pos, userbuf, kernelbuf); userbuf 206 drivers/char/ps3flash.c __func__, __LINE__, n, userbuf, kernelbuf, dst); userbuf 207 drivers/char/ps3flash.c if (userbuf) { userbuf 208 drivers/char/ps3flash.c if (copy_from_user(dst, userbuf, n)) { userbuf 212 drivers/char/ps3flash.c userbuf += n; userbuf 666 drivers/char/xillybus/xillybus_core.c static ssize_t xillybus_read(struct file *filp, char __user *userbuf, userbuf 756 drivers/char/xillybus/xillybus_core.c userbuf, userbuf 761 drivers/char/xillybus/xillybus_core.c userbuf += howmany; userbuf 1181 drivers/char/xillybus/xillybus_core.c static ssize_t xillybus_write(struct file *filp, const char __user *userbuf, userbuf 1304 drivers/char/xillybus/xillybus_core.c userbuf, howmany)) userbuf 1307 drivers/char/xillybus/xillybus_core.c userbuf += howmany; userbuf 73 drivers/iio/gyro/adis16136.c char __user *userbuf, size_t count, loff_t *ppos) userbuf 101 drivers/iio/gyro/adis16136.c return simple_read_from_buffer(userbuf, count, ppos, buf, len); userbuf 211 drivers/iio/imu/adis16400.c char __user *userbuf, size_t count, loff_t *ppos) userbuf 235 drivers/iio/imu/adis16400.c return simple_read_from_buffer(userbuf, count, ppos, buf, len); userbuf 175 drivers/iio/imu/adis16480.c char __user *userbuf, size_t count, loff_t *ppos) userbuf 189 drivers/iio/imu/adis16480.c return simple_read_from_buffer(userbuf, count, ppos, buf, len); userbuf 200 drivers/iio/imu/adis16480.c char __user *userbuf, size_t count, loff_t *ppos) userbuf 219 drivers/iio/imu/adis16480.c return simple_read_from_buffer(userbuf, count, ppos, buf, len); userbuf 299 drivers/iio/industrialio-core.c static ssize_t iio_debugfs_read_reg(struct file *file, char __user *userbuf, userbuf 318 drivers/iio/industrialio-core.c return simple_read_from_buffer(userbuf, count, ppos, buf, len); userbuf 322 drivers/iio/industrialio-core.c const char __user *userbuf, size_t count, loff_t *ppos) userbuf 330 drivers/iio/industrialio-core.c if (copy_from_user(buf, userbuf, count)) userbuf 83 drivers/iommu/omap-iommu-debug.c static ssize_t debug_read_regs(struct file *file, char __user *userbuf, userbuf 101 drivers/iommu/omap-iommu-debug.c bytes = simple_read_from_buffer(userbuf, count, ppos, buf, bytes); userbuf 47 drivers/mailbox/mailbox-test.c const char __user *userbuf, userbuf 71 drivers/mailbox/mailbox-test.c if (copy_from_user(tdev->signal, userbuf, count)) { userbuf 94 drivers/mailbox/mailbox-test.c const char __user *userbuf, userbuf 117 drivers/mailbox/mailbox-test.c ret = copy_from_user(tdev->message, userbuf, count); userbuf 162 drivers/mailbox/mailbox-test.c static ssize_t mbox_test_message_read(struct file *filp, char __user *userbuf, userbuf 179 drivers/mailbox/mailbox-test.c ret = simple_read_from_buffer(userbuf, count, ppos, userbuf 225 drivers/mailbox/mailbox-test.c ret = simple_read_from_buffer(userbuf, count, ppos, touser, MBOX_HEXDUMP_MAX_LEN); userbuf 91 drivers/media/pci/ivtv/ivtv-udma.c void __user *userbuf, int size_in_bytes) userbuf 106 drivers/media/pci/ivtv/ivtv-udma.c ivtv_udma_get_page_info(&user_dma, (unsigned long)userbuf, size_in_bytes); userbuf 17 drivers/media/pci/ivtv/ivtv-udma.h void __user *userbuf, int size_in_bytes); userbuf 274 drivers/media/pci/ivtv/ivtvfb.c unsigned long ivtv_dest_addr, void __user *userbuf, userbuf 282 drivers/media/pci/ivtv/ivtvfb.c if (ivtv_udma_setup(itv, ivtv_dest_addr, userbuf, size_in_bytes) <= 0) { userbuf 107 drivers/misc/sgi-gru/gruprocfs.c static ssize_t statistics_write(struct file *file, const char __user *userbuf, userbuf 134 drivers/misc/sgi-gru/gruprocfs.c const char __user *userbuf, size_t count, loff_t *data) userbuf 147 drivers/misc/sgi-gru/gruprocfs.c static ssize_t options_write(struct file *file, const char __user *userbuf, userbuf 152 drivers/misc/sgi-gru/gruprocfs.c ret = kstrtoul_from_user(userbuf, count, 0, &gru_options); userbuf 243 drivers/net/wireless/ath/ath5k/debug.c const char __user *userbuf, userbuf 250 drivers/net/wireless/ath/ath5k/debug.c if (copy_from_user(buf, userbuf, count)) userbuf 276 drivers/net/wireless/ath/ath5k/debug.c const char __user *userbuf, userbuf 344 drivers/net/wireless/ath/ath5k/debug.c const char __user *userbuf, userbuf 352 drivers/net/wireless/ath/ath5k/debug.c if (copy_from_user(buf, userbuf, count)) userbuf 449 drivers/net/wireless/ath/ath5k/debug.c const char __user *userbuf, userbuf 457 drivers/net/wireless/ath/ath5k/debug.c if (copy_from_user(buf, userbuf, count)) userbuf 622 drivers/net/wireless/ath/ath5k/debug.c const char __user *userbuf, userbuf 630 drivers/net/wireless/ath/ath5k/debug.c if (copy_from_user(buf, userbuf, count)) userbuf 772 drivers/net/wireless/ath/ath5k/debug.c const char __user *userbuf, userbuf 779 drivers/net/wireless/ath/ath5k/debug.c if (copy_from_user(buf, userbuf, count)) userbuf 870 drivers/net/wireless/ath/ath5k/debug.c const char __user *userbuf, userbuf 877 drivers/net/wireless/ath/ath5k/debug.c if (copy_from_user(buf, userbuf, count)) userbuf 62 drivers/net/wireless/ath/carl9170/debug.c static ssize_t carl9170_debugfs_read(struct file *file, char __user *userbuf, userbuf 100 drivers/net/wireless/ath/carl9170/debug.c err = simple_read_from_buffer(userbuf, count, ppos, userbuf 114 drivers/net/wireless/ath/carl9170/debug.c const char __user *userbuf, size_t count, loff_t *ppos) userbuf 141 drivers/net/wireless/ath/carl9170/debug.c if (copy_from_user(buf, userbuf, count)) { userbuf 490 drivers/net/wireless/broadcom/b43/debugfs.c static ssize_t b43_debugfs_read(struct file *file, char __user *userbuf, userbuf 539 drivers/net/wireless/broadcom/b43/debugfs.c ret = simple_read_from_buffer(userbuf, count, ppos, userbuf 554 drivers/net/wireless/broadcom/b43/debugfs.c const char __user *userbuf, userbuf 588 drivers/net/wireless/broadcom/b43/debugfs.c if (copy_from_user(buf, userbuf, count)) { userbuf 187 drivers/net/wireless/broadcom/b43legacy/debugfs.c static ssize_t b43legacy_debugfs_read(struct file *file, char __user *userbuf, userbuf 241 drivers/net/wireless/broadcom/b43legacy/debugfs.c ret = simple_read_from_buffer(userbuf, count, ppos, userbuf 256 drivers/net/wireless/broadcom/b43legacy/debugfs.c const char __user *userbuf, userbuf 290 drivers/net/wireless/broadcom/b43legacy/debugfs.c if (copy_from_user(buf, userbuf, count)) { userbuf 33 drivers/net/wireless/marvell/libertas/debugfs.c static ssize_t lbs_dev_info(struct file *file, char __user *userbuf, userbuf 49 drivers/net/wireless/marvell/libertas/debugfs.c res = simple_read_from_buffer(userbuf, count, ppos, buf, pos); userbuf 92 drivers/net/wireless/marvell/libertas/debugfs.c static ssize_t lbs_sleepparams_read(struct file *file, char __user *userbuf, userbuf 113 drivers/net/wireless/marvell/libertas/debugfs.c ret = simple_read_from_buffer(userbuf, count, ppos, buf, pos); userbuf 162 drivers/net/wireless/marvell/libertas/debugfs.c static ssize_t lbs_host_sleep_read(struct file *file, char __user *userbuf, userbuf 175 drivers/net/wireless/marvell/libertas/debugfs.c ret = simple_read_from_buffer(userbuf, count, ppos, buf, pos); userbuf 218 drivers/net/wireless/marvell/libertas/debugfs.c struct file *file, char __user *userbuf, userbuf 258 drivers/net/wireless/marvell/libertas/debugfs.c ret = simple_read_from_buffer(userbuf, count, ppos, buf, pos); userbuf 271 drivers/net/wireless/marvell/libertas/debugfs.c const char __user *userbuf, size_t count, userbuf 282 drivers/net/wireless/marvell/libertas/debugfs.c buf = memdup_user_nul(userbuf, min(count, len - 1)); userbuf 338 drivers/net/wireless/marvell/libertas/debugfs.c static ssize_t lbs_lowrssi_read(struct file *file, char __user *userbuf, userbuf 342 drivers/net/wireless/marvell/libertas/debugfs.c file, userbuf, count, ppos); userbuf 346 drivers/net/wireless/marvell/libertas/debugfs.c static ssize_t lbs_lowrssi_write(struct file *file, const char __user *userbuf, userbuf 350 drivers/net/wireless/marvell/libertas/debugfs.c file, userbuf, count, ppos); userbuf 354 drivers/net/wireless/marvell/libertas/debugfs.c static ssize_t lbs_lowsnr_read(struct file *file, char __user *userbuf, userbuf 358 drivers/net/wireless/marvell/libertas/debugfs.c file, userbuf, count, ppos); userbuf 362 drivers/net/wireless/marvell/libertas/debugfs.c static ssize_t lbs_lowsnr_write(struct file *file, const char __user *userbuf, userbuf 366 drivers/net/wireless/marvell/libertas/debugfs.c file, userbuf, count, ppos); userbuf 370 drivers/net/wireless/marvell/libertas/debugfs.c static ssize_t lbs_failcount_read(struct file *file, char __user *userbuf, userbuf 374 drivers/net/wireless/marvell/libertas/debugfs.c file, userbuf, count, ppos); userbuf 378 drivers/net/wireless/marvell/libertas/debugfs.c static ssize_t lbs_failcount_write(struct file *file, const char __user *userbuf, userbuf 382 drivers/net/wireless/marvell/libertas/debugfs.c file, userbuf, count, ppos); userbuf 386 drivers/net/wireless/marvell/libertas/debugfs.c static ssize_t lbs_highrssi_read(struct file *file, char __user *userbuf, userbuf 390 drivers/net/wireless/marvell/libertas/debugfs.c file, userbuf, count, ppos); userbuf 394 drivers/net/wireless/marvell/libertas/debugfs.c static ssize_t lbs_highrssi_write(struct file *file, const char __user *userbuf, userbuf 398 drivers/net/wireless/marvell/libertas/debugfs.c file, userbuf, count, ppos); userbuf 402 drivers/net/wireless/marvell/libertas/debugfs.c static ssize_t lbs_highsnr_read(struct file *file, char __user *userbuf, userbuf 406 drivers/net/wireless/marvell/libertas/debugfs.c file, userbuf, count, ppos); userbuf 410 drivers/net/wireless/marvell/libertas/debugfs.c static ssize_t lbs_highsnr_write(struct file *file, const char __user *userbuf, userbuf 414 drivers/net/wireless/marvell/libertas/debugfs.c file, userbuf, count, ppos); userbuf 417 drivers/net/wireless/marvell/libertas/debugfs.c static ssize_t lbs_bcnmiss_read(struct file *file, char __user *userbuf, userbuf 421 drivers/net/wireless/marvell/libertas/debugfs.c file, userbuf, count, ppos); userbuf 425 drivers/net/wireless/marvell/libertas/debugfs.c static ssize_t lbs_bcnmiss_write(struct file *file, const char __user *userbuf, userbuf 429 drivers/net/wireless/marvell/libertas/debugfs.c file, userbuf, count, ppos); userbuf 433 drivers/net/wireless/marvell/libertas/debugfs.c static ssize_t lbs_rdmac_read(struct file *file, char __user *userbuf, userbuf 451 drivers/net/wireless/marvell/libertas/debugfs.c ret = simple_read_from_buffer(userbuf, count, ppos, buf, pos); userbuf 458 drivers/net/wireless/marvell/libertas/debugfs.c const char __user *userbuf, userbuf 464 drivers/net/wireless/marvell/libertas/debugfs.c buf = memdup_user_nul(userbuf, min(count, len - 1)); userbuf 474 drivers/net/wireless/marvell/libertas/debugfs.c const char __user *userbuf, userbuf 483 drivers/net/wireless/marvell/libertas/debugfs.c buf = memdup_user_nul(userbuf, min(count, len - 1)); userbuf 503 drivers/net/wireless/marvell/libertas/debugfs.c static ssize_t lbs_rdbbp_read(struct file *file, char __user *userbuf, userbuf 521 drivers/net/wireless/marvell/libertas/debugfs.c ret = simple_read_from_buffer(userbuf, count, ppos, buf, pos); userbuf 529 drivers/net/wireless/marvell/libertas/debugfs.c const char __user *userbuf, userbuf 535 drivers/net/wireless/marvell/libertas/debugfs.c buf = memdup_user_nul(userbuf, min(count, len - 1)); userbuf 546 drivers/net/wireless/marvell/libertas/debugfs.c const char __user *userbuf, userbuf 555 drivers/net/wireless/marvell/libertas/debugfs.c buf = memdup_user_nul(userbuf, min(count, len - 1)); userbuf 575 drivers/net/wireless/marvell/libertas/debugfs.c static ssize_t lbs_rdrf_read(struct file *file, char __user *userbuf, userbuf 593 drivers/net/wireless/marvell/libertas/debugfs.c ret = simple_read_from_buffer(userbuf, count, ppos, buf, pos); userbuf 601 drivers/net/wireless/marvell/libertas/debugfs.c const char __user *userbuf, userbuf 607 drivers/net/wireless/marvell/libertas/debugfs.c buf = memdup_user_nul(userbuf, min(count, len - 1)); userbuf 617 drivers/net/wireless/marvell/libertas/debugfs.c const char __user *userbuf, userbuf 626 drivers/net/wireless/marvell/libertas/debugfs.c buf = memdup_user_nul(userbuf, min(count, len - 1)); userbuf 806 drivers/net/wireless/marvell/libertas/debugfs.c static ssize_t lbs_debugfs_read(struct file *file, char __user *userbuf, userbuf 837 drivers/net/wireless/marvell/libertas/debugfs.c res = simple_read_from_buffer(userbuf, count, ppos, p, pos); userbuf 23 drivers/net/wireless/ti/wl1251/debugfs.c static ssize_t name## _read(struct file *file, char __user *userbuf, \ userbuf 31 drivers/net/wireless/ti/wl1251/debugfs.c return simple_read_from_buffer(userbuf, count, ppos, buf, res); \ userbuf 52 drivers/net/wireless/ti/wl1251/debugfs.c char __user *userbuf, \ userbuf 63 drivers/net/wireless/ti/wl1251/debugfs.c return simple_read_from_buffer(userbuf, count, ppos, buf, res); \ userbuf 197 drivers/net/wireless/ti/wl1251/debugfs.c static ssize_t tx_queue_len_read(struct file *file, char __user *userbuf, userbuf 208 drivers/net/wireless/ti/wl1251/debugfs.c return simple_read_from_buffer(userbuf, count, ppos, buf, res); userbuf 217 drivers/net/wireless/ti/wl1251/debugfs.c static ssize_t tx_queue_status_read(struct file *file, char __user *userbuf, userbuf 230 drivers/net/wireless/ti/wl1251/debugfs.c return simple_read_from_buffer(userbuf, count, ppos, buf, len); userbuf 327 drivers/net/wireless/ti/wl18xx/debugfs.c char __user *userbuf, userbuf 331 drivers/net/wireless/ti/wl18xx/debugfs.c return wl1271_format_buffer(userbuf, count, ppos, userbuf 391 drivers/net/wireless/ti/wl18xx/debugfs.c char __user *userbuf, userbuf 396 drivers/net/wireless/ti/wl18xx/debugfs.c return wl1271_format_buffer(userbuf, count, ppos, userbuf 31 drivers/net/wireless/ti/wlcore/debugfs.c int wl1271_format_buffer(char __user *userbuf, size_t count, userbuf 42 drivers/net/wireless/ti/wlcore/debugfs.c return simple_read_from_buffer(userbuf, count, ppos, buf, res); userbuf 80 drivers/net/wireless/ti/wlcore/debugfs.c static ssize_t tx_queue_len_read(struct file *file, char __user *userbuf, userbuf 91 drivers/net/wireless/ti/wlcore/debugfs.c return simple_read_from_buffer(userbuf, count, ppos, buf, res); userbuf 859 drivers/net/wireless/ti/wlcore/debugfs.c char __user *userbuf, userbuf 863 drivers/net/wireless/ti/wlcore/debugfs.c return wl1271_format_buffer(userbuf, count, ppos, userbuf 917 drivers/net/wireless/ti/wlcore/debugfs.c char __user *userbuf, userbuf 921 drivers/net/wireless/ti/wlcore/debugfs.c return wl1271_format_buffer(userbuf, count, ppos, userbuf 973 drivers/net/wireless/ti/wlcore/debugfs.c char __user *userbuf, userbuf 980 drivers/net/wireless/ti/wlcore/debugfs.c return simple_read_from_buffer(userbuf, count, ppos, userbuf 15 drivers/net/wireless/ti/wlcore/debugfs.h __printf(4, 5) int wl1271_format_buffer(char __user *userbuf, size_t count, userbuf 26 drivers/net/wireless/ti/wlcore/debugfs.h static ssize_t name## _read(struct file *file, char __user *userbuf, \ userbuf 30 drivers/net/wireless/ti/wlcore/debugfs.h return wl1271_format_buffer(userbuf, count, ppos, \ userbuf 55 drivers/net/wireless/ti/wlcore/debugfs.h char __user *userbuf, \ userbuf 63 drivers/net/wireless/ti/wlcore/debugfs.h return wl1271_format_buffer(userbuf, count, ppos, fmt "\n", \ userbuf 75 drivers/net/wireless/ti/wlcore/debugfs.h char __user *userbuf, \ userbuf 89 drivers/net/wireless/ti/wlcore/debugfs.h return wl1271_format_buffer(userbuf, count, ppos, "%s", buf); \ userbuf 565 drivers/platform/x86/intel_pmc_core.c *userbuf, size_t count, loff_t *ppos) userbuf 575 drivers/platform/x86/intel_pmc_core.c if (kstrtou32_from_user(userbuf, buf_size, 10, &val)) { userbuf 683 drivers/platform/x86/intel_telemetry_debugfs.c const char __user *userbuf, userbuf 689 drivers/platform/x86/intel_telemetry_debugfs.c if (kstrtou32_from_user(userbuf, count, 0, &verbosity)) userbuf 730 drivers/platform/x86/intel_telemetry_debugfs.c const char __user *userbuf, userbuf 736 drivers/platform/x86/intel_telemetry_debugfs.c if (kstrtou32_from_user(userbuf, count, 0, &verbosity)) userbuf 878 drivers/platform/x86/thinkpad_acpi.c const char __user *userbuf, userbuf 894 drivers/platform/x86/thinkpad_acpi.c if (copy_from_user(kernbuf, userbuf, count)) { userbuf 39 drivers/remoteproc/remoteproc_debugfs.c static ssize_t rproc_trace_read(struct file *filp, char __user *userbuf, userbuf 58 drivers/remoteproc/remoteproc_debugfs.c return simple_read_from_buffer(userbuf, count, ppos, va, len); userbuf 68 drivers/remoteproc/remoteproc_debugfs.c static ssize_t rproc_name_read(struct file *filp, char __user *userbuf, userbuf 78 drivers/remoteproc/remoteproc_debugfs.c return simple_read_from_buffer(userbuf, count, ppos, buf, i); userbuf 88 drivers/remoteproc/remoteproc_debugfs.c static ssize_t rproc_recovery_read(struct file *filp, char __user *userbuf, userbuf 94 drivers/remoteproc/remoteproc_debugfs.c return simple_read_from_buffer(userbuf, count, ppos, buf, strlen(buf)); userbuf 25 drivers/video/fbdev/mbx/mbxdebugfs.c static ssize_t sysconf_read_file(struct file *file, char __user *userbuf, userbuf 36 drivers/video/fbdev/mbx/mbxdebugfs.c return simple_read_from_buffer(userbuf, count, ppos, userbuf 41 drivers/video/fbdev/mbx/mbxdebugfs.c static ssize_t gsctl_read_file(struct file *file, char __user *userbuf, userbuf 65 drivers/video/fbdev/mbx/mbxdebugfs.c return simple_read_from_buffer(userbuf, count, ppos, userbuf 69 drivers/video/fbdev/mbx/mbxdebugfs.c static ssize_t display_read_file(struct file *file, char __user *userbuf, userbuf 105 drivers/video/fbdev/mbx/mbxdebugfs.c return simple_read_from_buffer(userbuf, count, ppos, userbuf 109 drivers/video/fbdev/mbx/mbxdebugfs.c static ssize_t clock_read_file(struct file *file, char __user *userbuf, userbuf 128 drivers/video/fbdev/mbx/mbxdebugfs.c return simple_read_from_buffer(userbuf, count, ppos, userbuf 132 drivers/video/fbdev/mbx/mbxdebugfs.c static ssize_t sdram_read_file(struct file *file, char __user *userbuf, userbuf 150 drivers/video/fbdev/mbx/mbxdebugfs.c return simple_read_from_buffer(userbuf, count, ppos, userbuf 154 drivers/video/fbdev/mbx/mbxdebugfs.c static ssize_t misc_read_file(struct file *file, char __user *userbuf, userbuf 164 drivers/video/fbdev/mbx/mbxdebugfs.c return simple_read_from_buffer(userbuf, count, ppos, userbuf 698 fs/dlm/debug_fs.c static ssize_t waiters_read(struct file *file, char __user *userbuf, userbuf 719 fs/dlm/debug_fs.c rv = simple_read_from_buffer(userbuf, count, ppos, debug_buf, pos); userbuf 16 fs/efivarfs/file.c const char __user *userbuf, size_t count, loff_t *ppos) userbuf 29 fs/efivarfs/file.c if (copy_from_user(&attributes, userbuf, sizeof(attributes))) userbuf 35 fs/efivarfs/file.c data = memdup_user(userbuf + sizeof(attributes), datasize); userbuf 65 fs/efivarfs/file.c static ssize_t efivarfs_file_read(struct file *file, char __user *userbuf, userbuf 102 fs/efivarfs/file.c size = simple_read_from_buffer(userbuf, count, ppos, userbuf 108 fs/proc/vmcore.c u64 *ppos, int userbuf, userbuf 135 fs/proc/vmcore.c userbuf); userbuf 138 fs/proc/vmcore.c offset, userbuf); userbuf 200 fs/proc/vmcore.c unsigned long offset, int userbuf) userbuf 202 fs/proc/vmcore.c return copy_oldmem_page(pfn, buf, csize, offset, userbuf); userbuf 208 fs/proc/vmcore.c static int copy_to(void *target, void *src, size_t size, int userbuf) userbuf 210 fs/proc/vmcore.c if (userbuf) { userbuf 220 fs/proc/vmcore.c static int vmcoredd_copy_dumps(void *dst, u64 start, size_t size, int userbuf) userbuf 233 fs/proc/vmcore.c if (copy_to(dst, buf, tsz, userbuf)) { userbuf 297 fs/proc/vmcore.c int userbuf) userbuf 314 fs/proc/vmcore.c if (copy_to(buffer, elfcorebuf + *fpos, tsz, userbuf)) userbuf 345 fs/proc/vmcore.c if (vmcoredd_copy_dumps(buffer, start, tsz, userbuf)) userbuf 362 fs/proc/vmcore.c if (copy_to(buffer, kaddr, tsz, userbuf)) userbuf 382 fs/proc/vmcore.c userbuf, mem_encrypt_active()); userbuf 125 fs/pstore/inode.c static ssize_t pstore_file_read(struct file *file, char __user *userbuf, userbuf 132 fs/pstore/inode.c return seq_read(file, userbuf, count, ppos); userbuf 133 fs/pstore/inode.c return simple_read_from_buffer(userbuf, count, ppos, userbuf 31 include/linux/crash_dump.h int userbuf); userbuf 121 include/linux/crash_dump.h u64 *ppos, int userbuf, userbuf 125 include/linux/crash_dump.h u64 *ppos, int userbuf, userbuf 752 kernel/dma/debug.c static ssize_t filter_write(struct file *file, const char __user *userbuf, userbuf 767 kernel/dma/debug.c if (copy_from_user(buf, userbuf, len)) userbuf 55 net/bridge/br_ioctl.c static int get_fdb_entries(struct net_bridge *br, void __user *userbuf, userbuf 74 net/bridge/br_ioctl.c if (copy_to_user(userbuf, buf, num*sizeof(struct __fdb_entry))) userbuf 1495 net/core/ethtool.c void __user *userbuf = useraddr + sizeof(eeprom); userbuf 1522 net/core/ethtool.c if (copy_to_user(userbuf, data, eeprom.len)) { userbuf 1526 net/core/ethtool.c userbuf += eeprom.len; userbuf 1531 net/core/ethtool.c eeprom.len = userbuf - (useraddr + sizeof(eeprom)); userbuf 1556 net/core/ethtool.c void __user *userbuf = useraddr + sizeof(eeprom); userbuf 1584 net/core/ethtool.c if (copy_from_user(data, userbuf, eeprom.len)) { userbuf 1591 net/core/ethtool.c userbuf += eeprom.len; userbuf 20 net/mac80211/debugfs.c int mac80211_format_buffer(char __user *userbuf, size_t count, userbuf 31 net/mac80211/debugfs.c return simple_read_from_buffer(userbuf, count, ppos, buf, res); userbuf 35 net/mac80211/debugfs.c static ssize_t name## _read(struct file *file, char __user *userbuf, \ userbuf 40 net/mac80211/debugfs.c return mac80211_format_buffer(userbuf, count, ppos, \ userbuf 364 net/mac80211/debugfs.c char __user *userbuf, userbuf 379 net/mac80211/debugfs.c return simple_read_from_buffer(userbuf, count, ppos, buf, res); userbuf 389 net/mac80211/debugfs.c char __user *userbuf, \ userbuf 393 net/mac80211/debugfs.c userbuf, \ userbuf 9 net/mac80211/debugfs.h int __printf(4, 5) mac80211_format_buffer(char __user *userbuf, size_t count, userbuf 18 net/mac80211/debugfs_key.c char __user *userbuf, \ userbuf 22 net/mac80211/debugfs_key.c return mac80211_format_buffer(userbuf, count, ppos, \ userbuf 70 net/mac80211/debugfs_key.c char __user *userbuf, userbuf 79 net/mac80211/debugfs_key.c return simple_read_from_buffer(userbuf, count, ppos, buf, strlen(buf)); userbuf 83 net/mac80211/debugfs_key.c static ssize_t key_tx_spec_write(struct file *file, const char __user *userbuf, userbuf 105 net/mac80211/debugfs_key.c ret = kstrtou64_from_user(userbuf, count, 16, &pn); userbuf 118 net/mac80211/debugfs_key.c static ssize_t key_tx_spec_read(struct file *file, char __user *userbuf, userbuf 153 net/mac80211/debugfs_key.c return simple_read_from_buffer(userbuf, count, ppos, buf, len); userbuf 157 net/mac80211/debugfs_key.c static ssize_t key_rx_spec_read(struct file *file, char __user *userbuf, userbuf 221 net/mac80211/debugfs_key.c return simple_read_from_buffer(userbuf, count, ppos, buf, len); userbuf 225 net/mac80211/debugfs_key.c static ssize_t key_replays_read(struct file *file, char __user *userbuf, userbuf 254 net/mac80211/debugfs_key.c return simple_read_from_buffer(userbuf, count, ppos, buf, len); userbuf 258 net/mac80211/debugfs_key.c static ssize_t key_icverrors_read(struct file *file, char __user *userbuf, userbuf 279 net/mac80211/debugfs_key.c return simple_read_from_buffer(userbuf, count, ppos, buf, len); userbuf 283 net/mac80211/debugfs_key.c static ssize_t key_mic_failures_read(struct file *file, char __user *userbuf, userbuf 295 net/mac80211/debugfs_key.c return simple_read_from_buffer(userbuf, count, ppos, buf, len); userbuf 299 net/mac80211/debugfs_key.c static ssize_t key_key_read(struct file *file, char __user *userbuf, userbuf 314 net/mac80211/debugfs_key.c res = simple_read_from_buffer(userbuf, count, ppos, buf, p - buf); userbuf 26 net/mac80211/debugfs_netdev.c char __user *userbuf, userbuf 38 net/mac80211/debugfs_netdev.c ret = simple_read_from_buffer(userbuf, count, ppos, buf, ret); userbuf 45 net/mac80211/debugfs_netdev.c const char __user *userbuf, userbuf 55 net/mac80211/debugfs_netdev.c if (copy_from_user(buf, userbuf, count)) userbuf 133 net/mac80211/debugfs_netdev.c char __user *userbuf, \ userbuf 137 net/mac80211/debugfs_netdev.c userbuf, count, ppos, \ userbuf 143 net/mac80211/debugfs_netdev.c const char __user *userbuf, \ userbuf 146 net/mac80211/debugfs_netdev.c return ieee80211_if_write(file->private_data, userbuf, count, \ userbuf 23 net/mac80211/debugfs_sta.c char __user *userbuf, \ userbuf 27 net/mac80211/debugfs_sta.c return mac80211_format_buffer(userbuf, count, ppos, \ userbuf 85 net/mac80211/debugfs_sta.c static ssize_t sta_flags_read(struct file *file, char __user *userbuf, userbuf 101 net/mac80211/debugfs_sta.c return simple_read_from_buffer(userbuf, count, ppos, buf, strlen(buf)); userbuf 106 net/mac80211/debugfs_sta.c char __user *userbuf, userbuf 117 net/mac80211/debugfs_sta.c return simple_read_from_buffer(userbuf, count, ppos, buf, p - buf); userbuf 121 net/mac80211/debugfs_sta.c static ssize_t sta_last_seq_ctrl_read(struct file *file, char __user *userbuf, userbuf 131 net/mac80211/debugfs_sta.c return simple_read_from_buffer(userbuf, count, ppos, buf, p - buf); userbuf 137 net/mac80211/debugfs_sta.c static ssize_t sta_aqm_read(struct file *file, char __user *userbuf, userbuf 190 net/mac80211/debugfs_sta.c rv = simple_read_from_buffer(userbuf, count, ppos, buf, p - buf); userbuf 196 net/mac80211/debugfs_sta.c static ssize_t sta_airtime_read(struct file *file, char __user *userbuf, userbuf 230 net/mac80211/debugfs_sta.c rv = simple_read_from_buffer(userbuf, count, ppos, buf, p - buf); userbuf 235 net/mac80211/debugfs_sta.c static ssize_t sta_airtime_write(struct file *file, const char __user *userbuf, userbuf 254 net/mac80211/debugfs_sta.c static ssize_t sta_agg_status_read(struct file *file, char __user *userbuf, userbuf 295 net/mac80211/debugfs_sta.c return simple_read_from_buffer(userbuf, count, ppos, buf, p - buf); userbuf 298 net/mac80211/debugfs_sta.c static ssize_t sta_agg_status_write(struct file *file, const char __user *userbuf, userbuf 311 net/mac80211/debugfs_sta.c if (copy_from_user(buf, userbuf, count)) userbuf 369 net/mac80211/debugfs_sta.c static ssize_t sta_ht_capa_read(struct file *file, char __user *userbuf, userbuf 447 net/mac80211/debugfs_sta.c return simple_read_from_buffer(userbuf, count, ppos, buf, p - buf); userbuf 451 net/mac80211/debugfs_sta.c static ssize_t sta_vht_capa_read(struct file *file, char __user *userbuf, userbuf 552 net/mac80211/debugfs_sta.c return simple_read_from_buffer(userbuf, count, ppos, buf, p - buf); userbuf 556 net/mac80211/debugfs_sta.c static ssize_t sta_he_capa_read(struct file *file, char __user *userbuf, userbuf 921 net/mac80211/debugfs_sta.c ret = simple_read_from_buffer(userbuf, count, ppos, buf, p - buf); userbuf 207 net/mac80211/rate.c static ssize_t rcname_read(struct file *file, char __user *userbuf, userbuf 213 net/mac80211/rate.c return simple_read_from_buffer(userbuf, count, ppos, userbuf 14 net/wireless/debugfs.c static ssize_t name## _read(struct file *file, char __user *userbuf, \ userbuf 22 net/wireless/debugfs.c return simple_read_from_buffer(userbuf, count, ppos, buf, res); \ userbuf 386 security/apparmor/apparmorfs.c static struct aa_loaddata *aa_simple_write_to_buffer(const char __user *userbuf, userbuf 405 security/apparmor/apparmorfs.c if (copy_from_user(data->data, userbuf, copy_size)) { userbuf 957 sound/core/rawmidi.c unsigned char __user *userbuf, userbuf 983 sound/core/rawmidi.c if (userbuf) { userbuf 985 sound/core/rawmidi.c if (copy_to_user(userbuf + result, userbuf 1270 sound/core/rawmidi.c const unsigned char __user *userbuf, userbuf 1279 sound/core/rawmidi.c if (!kernelbuf && !userbuf) userbuf 1309 sound/core/rawmidi.c else if (userbuf) { userbuf 1312 sound/core/rawmidi.c userbuf + result, count1)) {