user_buf 13 arch/mips/mm/sc-debugfs.c static ssize_t sc_prefetch_read(struct file *file, char __user *user_buf, user_buf 23 arch/mips/mm/sc-debugfs.c return simple_read_from_buffer(user_buf, count, ppos, buf, 2); user_buf 27 arch/mips/mm/sc-debugfs.c const char __user *user_buf, user_buf 33 arch/mips/mm/sc-debugfs.c err = kstrtobool_from_user(user_buf, count, &enabled); user_buf 54 arch/powerpc/kernel/dawr.c const char __user *user_buf, user_buf 66 arch/powerpc/kernel/dawr.c rc = debugfs_write_file_bool(file, user_buf, count, ppos); user_buf 1820 arch/powerpc/kernel/eeh.c const char __user *user_buf, user_buf 1829 arch/powerpc/kernel/eeh.c ret = simple_write_to_buffer(buf, sizeof(buf), ppos, user_buf, count); user_buf 1876 arch/powerpc/kernel/eeh.c char __user *user_buf, user_buf 1881 arch/powerpc/kernel/eeh.c return simple_read_from_buffer(user_buf, count, ppos, user_buf 1886 arch/powerpc/kernel/eeh.c const char __user *user_buf, user_buf 1896 arch/powerpc/kernel/eeh.c ret = simple_write_to_buffer(buf, sizeof(buf)-1, ppos, user_buf, count); user_buf 2027 arch/powerpc/kernel/eeh.c const char __user *user_buf, user_buf 2036 arch/powerpc/kernel/eeh.c ret = simple_write_to_buffer(buf, sizeof(buf)-1, ppos, user_buf, count); user_buf 162 arch/powerpc/kvm/timing.c const char __user *user_buf, user_buf 172 arch/powerpc/kvm/timing.c if (get_user(c, user_buf)) { user_buf 120 arch/powerpc/platforms/powernv/eeh-powernv.c const char __user *user_buf, user_buf 134 arch/powerpc/platforms/powernv/eeh-powernv.c ret = simple_write_to_buffer(buf, sizeof(buf), ppos, user_buf, count); user_buf 69 arch/s390/include/asm/debug.h const char __user *user_buf, user_buf 68 arch/s390/kernel/debug.c static ssize_t debug_output(struct file *file, char __user *user_buf, user_buf 70 arch/s390/kernel/debug.c static ssize_t debug_input(struct file *file, const char __user *user_buf, user_buf 81 arch/s390/kernel/debug.c struct file *file, const char __user *user_buf, user_buf 86 arch/s390/kernel/debug.c struct file *file, const char __user *user_buf, user_buf 89 arch/s390/kernel/debug.c struct file *file, const char __user *user_buf, user_buf 503 arch/s390/kernel/debug.c char __user *user_buf, /* user buffer */ user_buf 528 arch/s390/kernel/debug.c if (copy_to_user(user_buf + count, p_info->temp_buf user_buf 552 arch/s390/kernel/debug.c static ssize_t debug_input(struct file *file, const char __user *user_buf, user_buf 562 arch/s390/kernel/debug.c p_info->view, file, user_buf, user_buf 1177 arch/s390/kernel/debug.c static inline char *debug_get_user_string(const char __user *user_buf, user_buf 1185 arch/s390/kernel/debug.c if (copy_from_user(buffer, user_buf, user_len) != 0) { user_buf 1228 arch/s390/kernel/debug.c struct file *file, const char __user *user_buf, user_buf 1240 arch/s390/kernel/debug.c str = debug_get_user_string(user_buf, user_len); user_buf 1282 arch/s390/kernel/debug.c struct file *file, const char __user *user_buf, user_buf 1294 arch/s390/kernel/debug.c str = debug_get_user_string(user_buf, user_len); user_buf 1352 arch/s390/kernel/debug.c struct file *file, const char __user *user_buf, user_buf 1364 arch/s390/kernel/debug.c if (copy_from_user(input_buf, user_buf, 1)) { user_buf 170 arch/sparc/prom/tree_32.c void prom_getstring(phandle node, char *prop, char *user_buf, int ubuf_size) user_buf 174 arch/sparc/prom/tree_32.c len = prom_getproperty(node, prop, user_buf, ubuf_size); user_buf 176 arch/sparc/prom/tree_32.c user_buf[0] = 0; user_buf 188 arch/sparc/prom/tree_64.c void prom_getstring(phandle node, const char *prop, char *user_buf, user_buf 193 arch/sparc/prom/tree_64.c len = prom_getproperty(node, prop, user_buf, ubuf_size); user_buf 196 arch/sparc/prom/tree_64.c user_buf[0] = 0; user_buf 1219 arch/x86/kernel/cpu/resctrl/pseudo_lock.c const char __user *user_buf, user_buf 1229 arch/x86/kernel/cpu/resctrl/pseudo_lock.c if (copy_from_user(buf, user_buf, buf_size)) user_buf 29 arch/x86/kernel/kdebugfs.c static ssize_t setup_data_read(struct file *file, char __user *user_buf, user_buf 52 arch/x86/kernel/kdebugfs.c remain = copy_to_user(user_buf, p, count); user_buf 350 arch/x86/kernel/tboot.c static ssize_t tboot_log_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) user_buf 382 arch/x86/kernel/tboot.c if (copy_to_user(user_buf, kbuf, count)) user_buf 144 arch/x86/mm/pkeys.c static ssize_t init_pkru_read_file(struct file *file, char __user *user_buf, user_buf 151 arch/x86/mm/pkeys.c return simple_read_from_buffer(user_buf, count, ppos, buf, len); user_buf 155 arch/x86/mm/pkeys.c const char __user *user_buf, size_t count, loff_t *ppos) user_buf 163 arch/x86/mm/pkeys.c if (copy_from_user(buf, user_buf, len)) user_buf 877 arch/x86/mm/tlb.c static ssize_t tlbflush_read_file(struct file *file, char __user *user_buf, user_buf 884 arch/x86/mm/tlb.c return simple_read_from_buffer(user_buf, count, ppos, buf, len); user_buf 888 arch/x86/mm/tlb.c const char __user *user_buf, size_t count, loff_t *ppos) user_buf 895 arch/x86/mm/tlb.c if (copy_from_user(buf, user_buf, len)) user_buf 24 drivers/acpi/custom_method.c static ssize_t cm_write(struct file *file, const char __user * user_buf, user_buf 43 drivers/acpi/custom_method.c if (copy_from_user(&table, user_buf, user_buf 63 drivers/acpi/custom_method.c if (copy_from_user(buf + (*ppos), user_buf, count)) { user_buf 36 drivers/base/regmap/regmap-debugfs.c char __user *user_buf, size_t count, user_buf 57 drivers/base/regmap/regmap-debugfs.c ret = simple_read_from_buffer(user_buf, count, ppos, buf, ret); user_buf 217 drivers/base/regmap/regmap-debugfs.c unsigned int to, char __user *user_buf, user_buf 270 drivers/base/regmap/regmap-debugfs.c if (copy_to_user(user_buf, buf, buf_pos)) { user_buf 282 drivers/base/regmap/regmap-debugfs.c static ssize_t regmap_map_read_file(struct file *file, char __user *user_buf, user_buf 287 drivers/base/regmap/regmap-debugfs.c return regmap_read_debugfs(map, 0, map->max_register, user_buf, user_buf 300 drivers/base/regmap/regmap-debugfs.c const char __user *user_buf, user_buf 311 drivers/base/regmap/regmap-debugfs.c if (copy_from_user(buf, user_buf, buf_size)) user_buf 342 drivers/base/regmap/regmap-debugfs.c static ssize_t regmap_range_read_file(struct file *file, char __user *user_buf, user_buf 349 drivers/base/regmap/regmap-debugfs.c user_buf, count, ppos); user_buf 359 drivers/base/regmap/regmap-debugfs.c char __user *user_buf, size_t count, user_buf 412 drivers/base/regmap/regmap-debugfs.c if (copy_to_user(user_buf, buf, buf_pos)) { user_buf 455 drivers/base/regmap/regmap-debugfs.c const char __user *user_buf, user_buf 468 drivers/base/regmap/regmap-debugfs.c result = debugfs_write_file_bool(file, user_buf, count, ppos); user_buf 500 drivers/base/regmap/regmap-debugfs.c const char __user *user_buf, user_buf 512 drivers/base/regmap/regmap-debugfs.c result = debugfs_write_file_bool(file, user_buf, count, ppos); user_buf 635 drivers/edac/altera_edac.c const char __user *user_buf, user_buf 648 drivers/edac/altera_edac.c if (!user_buf || get_user(trig_type, user_buf)) user_buf 712 drivers/edac/altera_edac.c const char __user *user_buf, user_buf 722 drivers/edac/altera_edac.c const char __user *user_buf, user_buf 1795 drivers/edac/altera_edac.c const char __user *user_buf, user_buf 1805 drivers/edac/altera_edac.c if (!user_buf || get_user(trig_type, user_buf)) user_buf 1827 drivers/edac/altera_edac.c const char __user *user_buf, user_buf 1837 drivers/edac/altera_edac.c if (!user_buf || get_user(trig_type, user_buf)) user_buf 38 drivers/gpu/drm/amd/amdkfd/kfd_debugfs.c const char __user *user_buf, size_t size, loff_t *ppos) user_buf 50 drivers/gpu/drm/amd/amdkfd/kfd_debugfs.c if (copy_from_user(tmp, user_buf, size)) { user_buf 277 drivers/gpu/drm/drm_debugfs_crc.c static ssize_t crtc_crc_read(struct file *filep, char __user *user_buf, user_buf 331 drivers/gpu/drm/drm_debugfs_crc.c if (copy_to_user(user_buf, buf, LINE_LEN(crc->values_cnt))) user_buf 387 drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.c const char __user *user_buf, size_t count, loff_t *ppos) user_buf 394 drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.c ret = kstrtouint_from_user(user_buf, count, 0, &perf_mode); user_buf 1284 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c const char __user *user_buf, size_t count, loff_t *ppos) user_buf 1290 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c ret = kstrtouint_from_user(user_buf, count, 0, &disable_panic); user_buf 37 drivers/hid/hid-picolcd_debugfs.c static ssize_t picolcd_debug_reset_write(struct file *f, const char __user *user_buf, user_buf 43 drivers/hid/hid-picolcd_debugfs.c if (copy_from_user(buf, user_buf, cnt)) user_buf 377 drivers/media/common/siano/smsdvb-debugfs.c static ssize_t smsdvb_stats_read(struct file *file, char __user *user_buf, user_buf 405 drivers/media/common/siano/smsdvb-debugfs.c rc = simple_read_from_buffer(user_buf, nbytes, ppos, user_buf 536 drivers/media/pci/ivtv/ivtv-fileops.c static ssize_t ivtv_write(struct file *filp, const char __user *user_buf, size_t count, loff_t *pos) user_buf 567 drivers/media/pci/ivtv/ivtv-fileops.c (const struct v4l2_sliced_vbi_data __user *)user_buf, elems); user_buf 595 drivers/media/pci/ivtv/ivtv-fileops.c rc = ivtv_yuv_udma_stream_frame(itv, (void __user *)user_buf); user_buf 601 drivers/media/pci/ivtv/ivtv-fileops.c user_buf += itv->dma_data_req_size; user_buf 640 drivers/media/pci/ivtv/ivtv-fileops.c rc = ivtv_buf_copy_from_user(s, buf, user_buf, user_buf 643 drivers/media/pci/ivtv/ivtv-fileops.c rc = ivtv_buf_copy_from_user(s, buf, user_buf, count); user_buf 650 drivers/media/pci/ivtv/ivtv-fileops.c user_buf += rc; user_buf 708 drivers/media/pci/ivtv/ivtv-fileops.c ssize_t ivtv_v4l2_write(struct file *filp, const char __user *user_buf, size_t count, loff_t *pos) user_buf 716 drivers/media/pci/ivtv/ivtv-fileops.c res = ivtv_write(filp, user_buf, count, pos); user_buf 616 drivers/media/platform/mtk-vpu/mtk_vpu.c static ssize_t vpu_debug_read(struct file *file, char __user *user_buf, user_buf 653 drivers/media/platform/mtk-vpu/mtk_vpu.c return simple_read_from_buffer(user_buf, count, ppos, buf, len); user_buf 1192 drivers/media/radio/radio-si476x.c char __user *user_buf, user_buf 1209 drivers/media/radio/radio-si476x.c return simple_read_from_buffer(user_buf, count, ppos, &report, user_buf 1220 drivers/media/radio/radio-si476x.c char __user *user_buf, user_buf 1238 drivers/media/radio/radio-si476x.c return simple_read_from_buffer(user_buf, count, ppos, &report, user_buf 1249 drivers/media/radio/radio-si476x.c char __user *user_buf, user_buf 1266 drivers/media/radio/radio-si476x.c return simple_read_from_buffer(user_buf, count, ppos, &report, user_buf 1277 drivers/media/radio/radio-si476x.c char __user *user_buf, user_buf 1301 drivers/media/radio/radio-si476x.c return simple_read_from_buffer(user_buf, count, ppos, &report, user_buf 1312 drivers/media/radio/radio-si476x.c char __user *user_buf, user_buf 1336 drivers/media/radio/radio-si476x.c return simple_read_from_buffer(user_buf, count, ppos, &report, user_buf 42 drivers/media/usb/uvc/uvc_debugfs.c static ssize_t uvc_debugfs_stats_read(struct file *file, char __user *user_buf, user_buf 47 drivers/media/usb/uvc/uvc_debugfs.c return simple_read_from_buffer(user_buf, nbytes, ppos, buf->data, user_buf 251 drivers/mfd/aat2870-core.c static ssize_t aat2870_reg_read_file(struct file *file, char __user *user_buf, user_buf 264 drivers/mfd/aat2870-core.c ret = simple_read_from_buffer(user_buf, count, ppos, buf, ret); user_buf 272 drivers/mfd/aat2870-core.c const char __user *user_buf, size_t count, user_buf 283 drivers/mfd/aat2870-core.c if (copy_from_user(buf, user_buf, buf_size)) { user_buf 488 drivers/mfd/ab3100-core.c const char __user *user_buf, user_buf 502 drivers/mfd/ab3100-core.c if (copy_from_user(buf, user_buf, buf_size)) user_buf 1404 drivers/mfd/ab8500-debugfs.c const char __user *user_buf, user_buf 1411 drivers/mfd/ab8500-debugfs.c err = kstrtoul_from_user(user_buf, count, 0, &user_bank); user_buf 1437 drivers/mfd/ab8500-debugfs.c const char __user *user_buf, user_buf 1444 drivers/mfd/ab8500-debugfs.c err = kstrtoul_from_user(user_buf, count, 0, &user_address); user_buf 1481 drivers/mfd/ab8500-debugfs.c const char __user *user_buf, user_buf 1488 drivers/mfd/ab8500-debugfs.c err = kstrtoul_from_user(user_buf, count, 0, &user_val); user_buf 2104 drivers/mfd/ab8500-debugfs.c const char __user *user_buf, user_buf 2111 drivers/mfd/ab8500-debugfs.c err = kstrtoul_from_user(user_buf, count, 0, &user_avg_sample); user_buf 2151 drivers/mfd/ab8500-debugfs.c const char __user *user_buf, user_buf 2158 drivers/mfd/ab8500-debugfs.c err = kstrtoul_from_user(user_buf, count, 0, &user_trig_edge); user_buf 2198 drivers/mfd/ab8500-debugfs.c const char __user *user_buf, user_buf 2205 drivers/mfd/ab8500-debugfs.c err = kstrtoul_from_user(user_buf, count, 0, &user_trig_timer); user_buf 2243 drivers/mfd/ab8500-debugfs.c const char __user *user_buf, user_buf 2250 drivers/mfd/ab8500-debugfs.c err = kstrtoul_from_user(user_buf, count, 0, &user_conv_type); user_buf 2431 drivers/mfd/ab8500-debugfs.c const char __user *user_buf, size_t count, loff_t *ppos) user_buf 2439 drivers/mfd/ab8500-debugfs.c if (copy_from_user(buf, user_buf, buf_size)) user_buf 2488 drivers/mfd/ab8500-debugfs.c const char __user *user_buf, user_buf 2496 drivers/mfd/ab8500-debugfs.c err = kstrtoul_from_user(user_buf, count, 0, &user_val); user_buf 2550 drivers/mfd/ab8500-debugfs.c const char __user *user_buf, user_buf 2558 drivers/mfd/ab8500-debugfs.c err = kstrtoul_from_user(user_buf, count, 0, &user_val); user_buf 33 drivers/misc/lkdtm/core.c static ssize_t lkdtm_debugfs_read(struct file *f, char __user *user_buf, user_buf 35 drivers/misc/lkdtm/core.c static ssize_t direct_entry(struct file *f, const char __user *user_buf, user_buf 41 drivers/misc/lkdtm/core.c const char __user *user_buf, user_buf 287 drivers/misc/lkdtm/core.c const char __user *user_buf, user_buf 301 drivers/misc/lkdtm/core.c if (copy_from_user(buf, user_buf, count)) { user_buf 326 drivers/misc/lkdtm/core.c static ssize_t lkdtm_debugfs_read(struct file *f, char __user *user_buf, user_buf 343 drivers/misc/lkdtm/core.c out = simple_read_from_buffer(user_buf, count, off, user_buf 356 drivers/misc/lkdtm/core.c static ssize_t direct_entry(struct file *f, const char __user *user_buf, user_buf 370 drivers/misc/lkdtm/core.c if (copy_from_user(buf, user_buf, count)) { user_buf 116 drivers/misc/mei/debugfs.c const char __user *user_buf, user_buf 125 drivers/misc/mei/debugfs.c ret = debugfs_write_file_bool(file, user_buf, count, ppos); user_buf 247 drivers/mtd/ubi/debug.c static ssize_t dfs_file_read(struct file *file, char __user *user_buf, user_buf 276 drivers/mtd/ubi/debug.c count = simple_read_from_buffer(user_buf, count, ppos, user_buf 281 drivers/mtd/ubi/debug.c count = simple_read_from_buffer(user_buf, count, ppos, user_buf 286 drivers/mtd/ubi/debug.c count = simple_read_from_buffer(user_buf, count, ppos, user_buf 302 drivers/mtd/ubi/debug.c count = simple_read_from_buffer(user_buf, count, ppos, buf, 2); user_buf 310 drivers/mtd/ubi/debug.c static ssize_t dfs_file_write(struct file *file, const char __user *user_buf, user_buf 327 drivers/mtd/ubi/debug.c if (copy_from_user(buf, user_buf, buf_size)) { user_buf 131 drivers/net/caif/caif_spi.c static ssize_t dbgfs_state(struct file *file, char __user *user_buf, user_buf 171 drivers/net/caif/caif_spi.c size = simple_read_from_buffer(user_buf, count, ppos, buf, len); user_buf 203 drivers/net/caif/caif_spi.c static ssize_t dbgfs_frame(struct file *file, char __user *user_buf, user_buf 234 drivers/net/caif/caif_spi.c size = simple_read_from_buffer(user_buf, count, ppos, buf, len); user_buf 150 drivers/net/wireless/ath/ath10k/debug.c char __user *user_buf, user_buf 187 drivers/net/wireless/ath/ath10k/debug.c ret_cnt = simple_read_from_buffer(user_buf, count, ppos, buf, len); user_buf 443 drivers/net/wireless/ath/ath10k/debug.c static ssize_t ath10k_fw_stats_read(struct file *file, char __user *user_buf, user_buf 449 drivers/net/wireless/ath/ath10k/debug.c return simple_read_from_buffer(user_buf, count, ppos, buf, len); user_buf 461 drivers/net/wireless/ath/ath10k/debug.c char __user *user_buf, user_buf 486 drivers/net/wireless/ath/ath10k/debug.c ret = simple_read_from_buffer(user_buf, count, ppos, buf, len); user_buf 521 drivers/net/wireless/ath/ath10k/debug.c char __user *user_buf, user_buf 531 drivers/net/wireless/ath/ath10k/debug.c return simple_read_from_buffer(user_buf, count, ppos, buf, strlen(buf)); user_buf 542 drivers/net/wireless/ath/ath10k/debug.c const char __user *user_buf, user_buf 554 drivers/net/wireless/ath/ath10k/debug.c rc = simple_write_to_buffer(buf, sizeof(buf) - 1, ppos, user_buf, count); user_buf 613 drivers/net/wireless/ath/ath10k/debug.c static ssize_t ath10k_read_chip_id(struct file *file, char __user *user_buf, user_buf 622 drivers/net/wireless/ath/ath10k/debug.c return simple_read_from_buffer(user_buf, count, ppos, buf, len); user_buf 633 drivers/net/wireless/ath/ath10k/debug.c char __user *user_buf, user_buf 647 drivers/net/wireless/ath/ath10k/debug.c return simple_read_from_buffer(user_buf, count, ppos, buf, len); user_buf 651 drivers/net/wireless/ath/ath10k/debug.c const char __user *user_buf, user_buf 658 drivers/net/wireless/ath/ath10k/debug.c ret = kstrtou32_from_user(user_buf, count, 0, ®_addr); user_buf 681 drivers/net/wireless/ath/ath10k/debug.c char __user *user_buf, user_buf 703 drivers/net/wireless/ath/ath10k/debug.c ret = simple_read_from_buffer(user_buf, count, ppos, buf, len); user_buf 712 drivers/net/wireless/ath/ath10k/debug.c const char __user *user_buf, user_buf 729 drivers/net/wireless/ath/ath10k/debug.c ret = kstrtou32_from_user(user_buf, count, 0, ®_val); user_buf 752 drivers/net/wireless/ath/ath10k/debug.c char __user *user_buf, user_buf 786 drivers/net/wireless/ath/ath10k/debug.c ret = copy_to_user(user_buf, buf, count); user_buf 804 drivers/net/wireless/ath/ath10k/debug.c const char __user *user_buf, user_buf 831 drivers/net/wireless/ath/ath10k/debug.c ret = copy_from_user(buf, user_buf, count); user_buf 904 drivers/net/wireless/ath/ath10k/debug.c char __user *user_buf, user_buf 913 drivers/net/wireless/ath/ath10k/debug.c return simple_read_from_buffer(user_buf, count, ppos, buf, len); user_buf 917 drivers/net/wireless/ath/ath10k/debug.c const char __user *user_buf, user_buf 924 drivers/net/wireless/ath/ath10k/debug.c ret = kstrtoul_from_user(user_buf, count, 0, &mask); user_buf 957 drivers/net/wireless/ath/ath10k/debug.c char __user *user_buf, user_buf 973 drivers/net/wireless/ath/ath10k/debug.c return simple_read_from_buffer(user_buf, count, ppos, buf, len); user_buf 977 drivers/net/wireless/ath/ath10k/debug.c const char __user *user_buf, user_buf 986 drivers/net/wireless/ath/ath10k/debug.c user_buf, count); user_buf 1019 drivers/net/wireless/ath/ath10k/debug.c char __user *user_buf, user_buf 1029 drivers/net/wireless/ath/ath10k/debug.c return simple_read_from_buffer(user_buf, count, ppos, buf, len); user_buf 1033 drivers/net/wireless/ath/ath10k/debug.c const char __user *user_buf, user_buf 1043 drivers/net/wireless/ath/ath10k/debug.c user_buf, count); user_buf 1298 drivers/net/wireless/ath/ath10k/debug.c char __user *user_buf, user_buf 1305 drivers/net/wireless/ath/ath10k/debug.c count = simple_read_from_buffer(user_buf, count, ppos, user_buf 1315 drivers/net/wireless/ath/ath10k/debug.c const char __user *user_buf, user_buf 1322 drivers/net/wireless/ath/ath10k/debug.c if (kstrtou8_from_user(user_buf, count, 0, &enable)) user_buf 1348 drivers/net/wireless/ath/ath10k/debug.c static ssize_t ath10k_read_ani_enable(struct file *file, char __user *user_buf, user_buf 1357 drivers/net/wireless/ath/ath10k/debug.c return simple_read_from_buffer(user_buf, count, ppos, buf, len); user_buf 1376 drivers/net/wireless/ath/ath10k/debug.c char __user *user_buf, user_buf 1385 drivers/net/wireless/ath/ath10k/debug.c return simple_read_from_buffer(user_buf, count, ppos, buf, len); user_buf 1389 drivers/net/wireless/ath/ath10k/debug.c const char __user *user_buf, user_buf 1396 drivers/net/wireless/ath/ath10k/debug.c ret = kstrtoul_from_user(user_buf, count, 0, &period); user_buf 1672 drivers/net/wireless/ath/ath10k/debug.c static ssize_t ath10k_tpc_stats_read(struct file *file, char __user *user_buf, user_buf 1678 drivers/net/wireless/ath/ath10k/debug.c return simple_read_from_buffer(user_buf, count, ppos, buf, len); user_buf 1759 drivers/net/wireless/ath/ath10k/debug.c const char __user *user_buf, user_buf 1793 drivers/net/wireless/ath/ath10k/debug.c static ssize_t ath10k_read_dfs_stats(struct file *file, char __user *user_buf, user_buf 1834 drivers/net/wireless/ath/ath10k/debug.c retval = simple_read_from_buffer(user_buf, count, ppos, buf, len); user_buf 2165 drivers/net/wireless/ath/ath10k/debug.c char __user *user_buf, user_buf 2204 drivers/net/wireless/ath/ath10k/debug.c ret_cnt = simple_read_from_buffer(user_buf, count, ppos, buf, len); user_buf 2220 drivers/net/wireless/ath/ath10k/debug.c char __user *user_buf, user_buf 2228 drivers/net/wireless/ath/ath10k/debug.c return simple_read_from_buffer(user_buf, count, ppos, buf, len); user_buf 2232 drivers/net/wireless/ath/ath10k/debug.c const char __user *user_buf, user_buf 2241 drivers/net/wireless/ath/ath10k/debug.c if (copy_from_user(buf, user_buf, len)) user_buf 2333 drivers/net/wireless/ath/ath10k/debug.c char __user *user_buf, user_buf 2339 drivers/net/wireless/ath/ath10k/debug.c return simple_read_from_buffer(user_buf, count, ppos, buf, len); user_buf 2351 drivers/net/wireless/ath/ath10k/debug.c const char __user *user_buf, user_buf 2358 drivers/net/wireless/ath/ath10k/debug.c if (kstrtobool_from_user(user_buf, count, &val)) user_buf 2408 drivers/net/wireless/ath/ath10k/debug.c const char __user *user_buf, user_buf 2416 drivers/net/wireless/ath/ath10k/debug.c if (kstrtou8_from_user(user_buf, count, 0, &ps_state_enable)) user_buf 2452 drivers/net/wireless/ath/ath10k/debug.c char __user *user_buf, user_buf 2464 drivers/net/wireless/ath/ath10k/debug.c return simple_read_from_buffer(user_buf, count, ppos, buf, len); user_buf 2476 drivers/net/wireless/ath/ath10k/debug.c const char __user *user_buf, user_buf 2483 drivers/net/wireless/ath/ath10k/debug.c ret = kstrtoul_from_user(user_buf, count, 0, &reset); user_buf 176 drivers/net/wireless/ath/ath10k/debugfs_sta.c char __user *user_buf, user_buf 191 drivers/net/wireless/ath/ath10k/debugfs_sta.c return simple_read_from_buffer(user_buf, count, ppos, buf, len); user_buf 195 drivers/net/wireless/ath/ath10k/debugfs_sta.c const char __user *user_buf, user_buf 204 drivers/net/wireless/ath/ath10k/debugfs_sta.c if (kstrtouint_from_user(user_buf, count, 0, &aggr_mode)) user_buf 238 drivers/net/wireless/ath/ath10k/debugfs_sta.c const char __user *user_buf, user_buf 249 drivers/net/wireless/ath/ath10k/debugfs_sta.c user_buf, count); user_buf 289 drivers/net/wireless/ath/ath10k/debugfs_sta.c const char __user *user_buf, user_buf 300 drivers/net/wireless/ath/ath10k/debugfs_sta.c user_buf, count); user_buf 339 drivers/net/wireless/ath/ath10k/debugfs_sta.c const char __user *user_buf, user_buf 350 drivers/net/wireless/ath/ath10k/debugfs_sta.c user_buf, count); user_buf 390 drivers/net/wireless/ath/ath10k/debugfs_sta.c char __user *user_buf, user_buf 405 drivers/net/wireless/ath/ath10k/debugfs_sta.c return simple_read_from_buffer(user_buf, count, ppos, buf, len); user_buf 410 drivers/net/wireless/ath/ath10k/debugfs_sta.c const char __user *user_buf, user_buf 419 drivers/net/wireless/ath/ath10k/debugfs_sta.c if (kstrtou8_from_user(user_buf, count, 0, &peer_debug_trigger)) user_buf 453 drivers/net/wireless/ath/ath10k/debugfs_sta.c char __user *user_buf, user_buf 469 drivers/net/wireless/ath/ath10k/debugfs_sta.c return simple_read_from_buffer(user_buf, count, ppos, buf, len); user_buf 563 drivers/net/wireless/ath/ath10k/debugfs_sta.c char __user *user_buf, user_buf 629 drivers/net/wireless/ath/ath10k/debugfs_sta.c ret = simple_read_from_buffer(user_buf, count, ppos, buf, len); user_buf 646 drivers/net/wireless/ath/ath10k/debugfs_sta.c char __user *user_buf, user_buf 743 drivers/net/wireless/ath/ath10k/debugfs_sta.c retval = simple_read_from_buffer(user_buf, count, ppos, buf, len); user_buf 273 drivers/net/wireless/ath/ath10k/spectral.c static ssize_t read_file_spec_scan_ctl(struct file *file, char __user *user_buf, user_buf 298 drivers/net/wireless/ath/ath10k/spectral.c return simple_read_from_buffer(user_buf, count, ppos, mode, len); user_buf 302 drivers/net/wireless/ath/ath10k/spectral.c const char __user *user_buf, user_buf 311 drivers/net/wireless/ath/ath10k/spectral.c if (copy_from_user(buf, user_buf, len)) user_buf 365 drivers/net/wireless/ath/ath10k/spectral.c char __user *user_buf, user_buf 378 drivers/net/wireless/ath/ath10k/spectral.c return simple_read_from_buffer(user_buf, count, ppos, buf, len); user_buf 382 drivers/net/wireless/ath/ath10k/spectral.c const char __user *user_buf, user_buf 391 drivers/net/wireless/ath/ath10k/spectral.c if (copy_from_user(buf, user_buf, len)) user_buf 417 drivers/net/wireless/ath/ath10k/spectral.c char __user *user_buf, user_buf 434 drivers/net/wireless/ath/ath10k/spectral.c return simple_read_from_buffer(user_buf, count, ppos, buf, len); user_buf 438 drivers/net/wireless/ath/ath10k/spectral.c const char __user *user_buf, user_buf 447 drivers/net/wireless/ath/ath10k/spectral.c if (copy_from_user(buf, user_buf, len)) user_buf 194 drivers/net/wireless/ath/ath5k/debug.c static ssize_t read_file_beacon(struct file *file, char __user *user_buf, user_buf 239 drivers/net/wireless/ath/ath5k/debug.c return simple_read_from_buffer(user_buf, count, ppos, buf, len); user_buf 315 drivers/net/wireless/ath/ath5k/debug.c static ssize_t read_file_debug(struct file *file, char __user *user_buf, user_buf 340 drivers/net/wireless/ath/ath5k/debug.c return simple_read_from_buffer(user_buf, count, ppos, buf, len); user_buf 377 drivers/net/wireless/ath/ath5k/debug.c static ssize_t read_file_antenna(struct file *file, char __user *user_buf, user_buf 445 drivers/net/wireless/ath/ath5k/debug.c return simple_read_from_buffer(user_buf, count, ppos, buf, len); user_buf 490 drivers/net/wireless/ath/ath5k/debug.c static ssize_t read_file_misc(struct file *file, char __user *user_buf, user_buf 533 drivers/net/wireless/ath/ath5k/debug.c return simple_read_from_buffer(user_buf, count, ppos, buf, len); user_buf 545 drivers/net/wireless/ath/ath5k/debug.c static ssize_t read_file_frameerrors(struct file *file, char __user *user_buf, user_buf 618 drivers/net/wireless/ath/ath5k/debug.c return simple_read_from_buffer(user_buf, count, ppos, buf, len); user_buf 663 drivers/net/wireless/ath/ath5k/debug.c static ssize_t read_file_ani(struct file *file, char __user *user_buf, user_buf 768 drivers/net/wireless/ath/ath5k/debug.c return simple_read_from_buffer(user_buf, count, ppos, buf, len); user_buf 828 drivers/net/wireless/ath/ath5k/debug.c static ssize_t read_file_queue(struct file *file, char __user *user_buf, user_buf 866 drivers/net/wireless/ath/ath5k/debug.c return simple_read_from_buffer(user_buf, count, ppos, buf, len); user_buf 970 drivers/net/wireless/ath/ath5k/debug.c static ssize_t read_file_eeprom(struct file *file, char __user *user_buf, user_buf 975 drivers/net/wireless/ath/ath5k/debug.c return simple_read_from_buffer(user_buf, count, ppos, ep->buf, ep->len); user_buf 300 drivers/net/wireless/ath/ath6kl/debug.c static ssize_t read_file_war_stats(struct file *file, char __user *user_buf, user_buf 323 drivers/net/wireless/ath/ath6kl/debug.c ret_cnt = simple_read_from_buffer(user_buf, count, ppos, buf, len); user_buf 398 drivers/net/wireless/ath/ath6kl/debug.c static ssize_t ath6kl_fwlog_read(struct file *file, char __user *user_buf, user_buf 434 drivers/net/wireless/ath/ath6kl/debug.c ret_cnt = simple_read_from_buffer(user_buf, count, ppos, buf, len); user_buf 450 drivers/net/wireless/ath/ath6kl/debug.c char __user *user_buf, user_buf 501 drivers/net/wireless/ath/ath6kl/debug.c not_copied = copy_to_user(user_buf, buf, len); user_buf 525 drivers/net/wireless/ath/ath6kl/debug.c static ssize_t ath6kl_fwlog_mask_read(struct file *file, char __user *user_buf, user_buf 534 drivers/net/wireless/ath/ath6kl/debug.c return simple_read_from_buffer(user_buf, count, ppos, buf, len); user_buf 538 drivers/net/wireless/ath/ath6kl/debug.c const char __user *user_buf, user_buf 544 drivers/net/wireless/ath/ath6kl/debug.c ret = kstrtou32_from_user(user_buf, count, 0, &ar->debug.fwlog_mask); user_buf 565 drivers/net/wireless/ath/ath6kl/debug.c static ssize_t read_file_tgt_stats(struct file *file, char __user *user_buf, user_buf 684 drivers/net/wireless/ath/ath6kl/debug.c ret_cnt = simple_read_from_buffer(user_buf, count, ppos, buf, len); user_buf 704 drivers/net/wireless/ath/ath6kl/debug.c char __user *user_buf, user_buf 750 drivers/net/wireless/ath/ath6kl/debug.c ret_cnt = simple_read_from_buffer(user_buf, count, ppos, buf, len); user_buf 782 drivers/net/wireless/ath/ath6kl/debug.c char __user *user_buf, user_buf 831 drivers/net/wireless/ath/ath6kl/debug.c ret_cnt = simple_read_from_buffer(user_buf, count, ppos, buf, len); user_buf 837 drivers/net/wireless/ath/ath6kl/debug.c const char __user *user_buf, user_buf 846 drivers/net/wireless/ath/ath6kl/debug.c ret = kstrtou32_from_user(user_buf, count, 0, &val); user_buf 892 drivers/net/wireless/ath/ath6kl/debug.c static ssize_t ath6kl_regread_read(struct file *file, char __user *user_buf, user_buf 906 drivers/net/wireless/ath/ath6kl/debug.c return simple_read_from_buffer(user_buf, count, ppos, buf, len); user_buf 910 drivers/net/wireless/ath/ath6kl/debug.c const char __user *user_buf, user_buf 916 drivers/net/wireless/ath/ath6kl/debug.c if (kstrtoul_from_user(user_buf, count, 0, ®_addr)) user_buf 1003 drivers/net/wireless/ath/ath6kl/debug.c static ssize_t ath6kl_regdump_read(struct file *file, char __user *user_buf, user_buf 1007 drivers/net/wireless/ath/ath6kl/debug.c return simple_read_from_buffer(user_buf, count, ppos, buf, strlen(buf)); user_buf 1025 drivers/net/wireless/ath/ath6kl/debug.c const char __user *user_buf, user_buf 1031 drivers/net/wireless/ath/ath6kl/debug.c if (kstrtoul_from_user(user_buf, count, 0, &lrssi_roam_threshold)) user_buf 1042 drivers/net/wireless/ath/ath6kl/debug.c char __user *user_buf, user_buf 1051 drivers/net/wireless/ath/ath6kl/debug.c return simple_read_from_buffer(user_buf, count, ppos, buf, len); user_buf 1063 drivers/net/wireless/ath/ath6kl/debug.c char __user *user_buf, user_buf 1073 drivers/net/wireless/ath/ath6kl/debug.c return simple_read_from_buffer(user_buf, count, ppos, buf, len); user_buf 1077 drivers/net/wireless/ath/ath6kl/debug.c const char __user *user_buf, user_buf 1087 drivers/net/wireless/ath/ath6kl/debug.c if (copy_from_user(buf, user_buf, len)) user_buf 1157 drivers/net/wireless/ath/ath6kl/debug.c static ssize_t ath6kl_roam_table_read(struct file *file, char __user *user_buf, user_buf 1215 drivers/net/wireless/ath/ath6kl/debug.c ret_cnt = simple_read_from_buffer(user_buf, count, ppos, buf, len); user_buf 1229 drivers/net/wireless/ath/ath6kl/debug.c const char __user *user_buf, user_buf 1239 drivers/net/wireless/ath/ath6kl/debug.c if (copy_from_user(buf, user_buf, len)) user_buf 1261 drivers/net/wireless/ath/ath6kl/debug.c const char __user *user_buf, user_buf 1271 drivers/net/wireless/ath/ath6kl/debug.c if (copy_from_user(buf, user_buf, len)) user_buf 1305 drivers/net/wireless/ath/ath6kl/debug.c static ssize_t ath6kl_keepalive_read(struct file *file, char __user *user_buf, user_buf 1314 drivers/net/wireless/ath/ath6kl/debug.c return simple_read_from_buffer(user_buf, count, ppos, buf, len); user_buf 1318 drivers/net/wireless/ath/ath6kl/debug.c const char __user *user_buf, user_buf 1325 drivers/net/wireless/ath/ath6kl/debug.c ret = kstrtou8_from_user(user_buf, count, 0, &val); user_buf 1350 drivers/net/wireless/ath/ath6kl/debug.c char __user *user_buf, user_buf 1359 drivers/net/wireless/ath/ath6kl/debug.c return simple_read_from_buffer(user_buf, count, ppos, buf, len); user_buf 1363 drivers/net/wireless/ath/ath6kl/debug.c const char __user *user_buf, user_buf 1370 drivers/net/wireless/ath/ath6kl/debug.c ret = kstrtou8_from_user(user_buf, count, 0, &val); user_buf 1390 drivers/net/wireless/ath/ath6kl/debug.c const char __user *user_buf, user_buf 1407 drivers/net/wireless/ath/ath6kl/debug.c if (copy_from_user(buf, user_buf, len)) user_buf 1568 drivers/net/wireless/ath/ath6kl/debug.c const char __user *user_buf, user_buf 1584 drivers/net/wireless/ath/ath6kl/debug.c if (copy_from_user(buf, user_buf, len)) user_buf 1615 drivers/net/wireless/ath/ath6kl/debug.c const char __user *user_buf, user_buf 1629 drivers/net/wireless/ath/ath6kl/debug.c if (copy_from_user(buf, user_buf, len)) user_buf 1655 drivers/net/wireless/ath/ath6kl/debug.c const char __user *user_buf, user_buf 1669 drivers/net/wireless/ath/ath6kl/debug.c if (copy_from_user(buf, user_buf, len)) user_buf 1687 drivers/net/wireless/ath/ath6kl/debug.c char __user *user_buf, user_buf 1701 drivers/net/wireless/ath/ath6kl/debug.c return simple_read_from_buffer(user_buf, count, ppos, buf, len); user_buf 1713 drivers/net/wireless/ath/ath6kl/debug.c const char __user *user_buf, user_buf 1724 drivers/net/wireless/ath/ath6kl/debug.c if (copy_from_user(buf, user_buf, len)) user_buf 19 drivers/net/wireless/ath/ath9k/common-debug.c static ssize_t read_file_modal_eeprom(struct file *file, char __user *user_buf, user_buf 33 drivers/net/wireless/ath/ath9k/common-debug.c retval = simple_read_from_buffer(user_buf, count, ppos, buf, len); user_buf 55 drivers/net/wireless/ath/ath9k/common-debug.c static ssize_t read_file_base_eeprom(struct file *file, char __user *user_buf, user_buf 69 drivers/net/wireless/ath/ath9k/common-debug.c retval = simple_read_from_buffer(user_buf, count, ppos, buf, len); user_buf 123 drivers/net/wireless/ath/ath9k/common-debug.c static ssize_t read_file_recv(struct file *file, char __user *user_buf, user_buf 165 drivers/net/wireless/ath/ath9k/common-debug.c retval = simple_read_from_buffer(user_buf, count, ppos, buf, len); user_buf 187 drivers/net/wireless/ath/ath9k/common-debug.c static ssize_t read_file_phy_err(struct file *file, char __user *user_buf, user_buf 241 drivers/net/wireless/ath/ath9k/common-debug.c retval = simple_read_from_buffer(user_buf, count, ppos, buf, len); user_buf 689 drivers/net/wireless/ath/ath9k/common-spectral.c static ssize_t read_file_spec_scan_ctl(struct file *file, char __user *user_buf, user_buf 711 drivers/net/wireless/ath/ath9k/common-spectral.c return simple_read_from_buffer(user_buf, count, ppos, mode, len); user_buf 790 drivers/net/wireless/ath/ath9k/common-spectral.c const char __user *user_buf, user_buf 802 drivers/net/wireless/ath/ath9k/common-spectral.c if (copy_from_user(buf, user_buf, len)) user_buf 841 drivers/net/wireless/ath/ath9k/common-spectral.c char __user *user_buf, user_buf 849 drivers/net/wireless/ath/ath9k/common-spectral.c return simple_read_from_buffer(user_buf, count, ppos, buf, len); user_buf 853 drivers/net/wireless/ath/ath9k/common-spectral.c const char __user *user_buf, user_buf 862 drivers/net/wireless/ath/ath9k/common-spectral.c if (copy_from_user(buf, user_buf, len)) user_buf 889 drivers/net/wireless/ath/ath9k/common-spectral.c char __user *user_buf, user_buf 897 drivers/net/wireless/ath/ath9k/common-spectral.c return simple_read_from_buffer(user_buf, count, ppos, buf, len); user_buf 901 drivers/net/wireless/ath/ath9k/common-spectral.c const char __user *user_buf, user_buf 910 drivers/net/wireless/ath/ath9k/common-spectral.c if (copy_from_user(buf, user_buf, len)) user_buf 937 drivers/net/wireless/ath/ath9k/common-spectral.c char __user *user_buf, user_buf 945 drivers/net/wireless/ath/ath9k/common-spectral.c return simple_read_from_buffer(user_buf, count, ppos, buf, len); user_buf 949 drivers/net/wireless/ath/ath9k/common-spectral.c const char __user *user_buf, user_buf 958 drivers/net/wireless/ath/ath9k/common-spectral.c if (copy_from_user(buf, user_buf, len)) user_buf 985 drivers/net/wireless/ath/ath9k/common-spectral.c char __user *user_buf, user_buf 993 drivers/net/wireless/ath/ath9k/common-spectral.c return simple_read_from_buffer(user_buf, count, ppos, buf, len); user_buf 997 drivers/net/wireless/ath/ath9k/common-spectral.c const char __user *user_buf, user_buf 1006 drivers/net/wireless/ath/ath9k/common-spectral.c if (copy_from_user(buf, user_buf, len)) user_buf 71 drivers/net/wireless/ath/ath9k/debug.c static ssize_t ath9k_debugfs_read_buf(struct file *file, char __user *user_buf, user_buf 75 drivers/net/wireless/ath/ath9k/debug.c return simple_read_from_buffer(user_buf, count, ppos, buf, strlen(buf)); user_buf 86 drivers/net/wireless/ath/ath9k/debug.c static ssize_t read_file_debug(struct file *file, char __user *user_buf, user_buf 95 drivers/net/wireless/ath/ath9k/debug.c return simple_read_from_buffer(user_buf, count, ppos, buf, len); user_buf 98 drivers/net/wireless/ath/ath9k/debug.c static ssize_t write_file_debug(struct file *file, const char __user *user_buf, user_buf 108 drivers/net/wireless/ath/ath9k/debug.c if (copy_from_user(buf, user_buf, len)) user_buf 132 drivers/net/wireless/ath/ath9k/debug.c static ssize_t read_file_ani(struct file *file, char __user *user_buf, user_buf 181 drivers/net/wireless/ath/ath9k/debug.c retval = simple_read_from_buffer(user_buf, count, ppos, buf, len); user_buf 188 drivers/net/wireless/ath/ath9k/debug.c const char __user *user_buf, user_buf 198 drivers/net/wireless/ath/ath9k/debug.c if (copy_from_user(buf, user_buf, len)) user_buf 231 drivers/net/wireless/ath/ath9k/debug.c char __user *user_buf, user_buf 240 drivers/net/wireless/ath/ath9k/debug.c return simple_read_from_buffer(user_buf, count, ppos, buf, len); user_buf 244 drivers/net/wireless/ath/ath9k/debug.c const char __user *user_buf, user_buf 255 drivers/net/wireless/ath/ath9k/debug.c if (copy_from_user(buf, user_buf, len)) user_buf 300 drivers/net/wireless/ath/ath9k/debug.c char __user *user_buf, user_buf 391 drivers/net/wireless/ath/ath9k/debug.c retval = simple_read_from_buffer(user_buf, count, ppos, buf, len); user_buf 824 drivers/net/wireless/ath/ath9k/debug.c static ssize_t read_file_regidx(struct file *file, char __user *user_buf, user_buf 832 drivers/net/wireless/ath/ath9k/debug.c return simple_read_from_buffer(user_buf, count, ppos, buf, len); user_buf 835 drivers/net/wireless/ath/ath9k/debug.c static ssize_t write_file_regidx(struct file *file, const char __user *user_buf, user_buf 844 drivers/net/wireless/ath/ath9k/debug.c if (copy_from_user(buf, user_buf, len)) user_buf 863 drivers/net/wireless/ath/ath9k/debug.c static ssize_t read_file_regval(struct file *file, char __user *user_buf, user_buf 876 drivers/net/wireless/ath/ath9k/debug.c return simple_read_from_buffer(user_buf, count, ppos, buf, len); user_buf 879 drivers/net/wireless/ath/ath9k/debug.c static ssize_t write_file_regval(struct file *file, const char __user *user_buf, user_buf 889 drivers/net/wireless/ath/ath9k/debug.c if (copy_from_user(buf, user_buf, len)) user_buf 994 drivers/net/wireless/ath/ath9k/debug.c static ssize_t read_file_btcoex(struct file *file, char __user *user_buf, user_buf 1014 drivers/net/wireless/ath/ath9k/debug.c retval = simple_read_from_buffer(user_buf, count, ppos, buf, len); user_buf 1029 drivers/net/wireless/ath/ath9k/debug.c static ssize_t read_file_ackto(struct file *file, char __user *user_buf, user_buf 1040 drivers/net/wireless/ath/ath9k/debug.c return simple_read_from_buffer(user_buf, count, ppos, buf, len); user_buf 1053 drivers/net/wireless/ath/ath9k/debug.c static ssize_t read_file_wow(struct file *file, char __user *user_buf, user_buf 1071 drivers/net/wireless/ath/ath9k/debug.c retval = simple_read_from_buffer(user_buf, count, ppos, buf, len); user_buf 1077 drivers/net/wireless/ath/ath9k/debug.c static ssize_t write_file_wow(struct file *file, const char __user *user_buf, user_buf 1086 drivers/net/wireless/ath/ath9k/debug.c if (copy_from_user(buf, user_buf, len)) user_buf 1114 drivers/net/wireless/ath/ath9k/debug.c static ssize_t read_file_tpc(struct file *file, char __user *user_buf, user_buf 1133 drivers/net/wireless/ath/ath9k/debug.c retval = simple_read_from_buffer(user_buf, count, ppos, buf, len); user_buf 1139 drivers/net/wireless/ath/ath9k/debug.c static ssize_t write_file_tpc(struct file *file, const char __user *user_buf, user_buf 1150 drivers/net/wireless/ath/ath9k/debug.c if (copy_from_user(buf, user_buf, len)) user_buf 1182 drivers/net/wireless/ath/ath9k/debug.c char __user *user_buf, user_buf 1195 drivers/net/wireless/ath/ath9k/debug.c return simple_read_from_buffer(user_buf, count, ppos, buf, len); user_buf 1199 drivers/net/wireless/ath/ath9k/debug.c const char __user *user_buf, user_buf 1209 drivers/net/wireless/ath/ath9k/debug.c if (copy_from_user(buf, user_buf, len)) user_buf 23 drivers/net/wireless/ath/ath9k/debug_sta.c static ssize_t read_file_node_aggr(struct file *file, char __user *user_buf, user_buf 74 drivers/net/wireless/ath/ath9k/debug_sta.c retval = simple_read_from_buffer(user_buf, count, ppos, buf, len); user_buf 168 drivers/net/wireless/ath/ath9k/debug_sta.c static ssize_t read_file_node_recv(struct file *file, char __user *user_buf, user_buf 229 drivers/net/wireless/ath/ath9k/debug_sta.c retval = simple_read_from_buffer(user_buf, count, ppos, buf, len); user_buf 34 drivers/net/wireless/ath/ath9k/dfs_debug.c static ssize_t read_file_dfs(struct file *file, char __user *user_buf, user_buf 89 drivers/net/wireless/ath/ath9k/dfs_debug.c retval = simple_read_from_buffer(user_buf, count, ppos, buf, len); user_buf 97 drivers/net/wireless/ath/ath9k/dfs_debug.c static ssize_t write_file_dfs(struct file *file, const char __user *user_buf, user_buf 106 drivers/net/wireless/ath/ath9k/dfs_debug.c if (copy_from_user(buf, user_buf, len)) user_buf 120 drivers/net/wireless/ath/ath9k/dfs_debug.c const char __user *user_buf, user_buf 19 drivers/net/wireless/ath/ath9k/htc_drv_debug.c static ssize_t read_file_tgt_int_stats(struct file *file, char __user *user_buf, user_buf 67 drivers/net/wireless/ath/ath9k/htc_drv_debug.c return simple_read_from_buffer(user_buf, count, ppos, buf, len); user_buf 77 drivers/net/wireless/ath/ath9k/htc_drv_debug.c static ssize_t read_file_tgt_tx_stats(struct file *file, char __user *user_buf, user_buf 137 drivers/net/wireless/ath/ath9k/htc_drv_debug.c return simple_read_from_buffer(user_buf, count, ppos, buf, len); user_buf 147 drivers/net/wireless/ath/ath9k/htc_drv_debug.c static ssize_t read_file_tgt_rx_stats(struct file *file, char __user *user_buf, user_buf 183 drivers/net/wireless/ath/ath9k/htc_drv_debug.c return simple_read_from_buffer(user_buf, count, ppos, buf, len); user_buf 193 drivers/net/wireless/ath/ath9k/htc_drv_debug.c static ssize_t read_file_xmit(struct file *file, char __user *user_buf, user_buf 235 drivers/net/wireless/ath/ath9k/htc_drv_debug.c return simple_read_from_buffer(user_buf, count, ppos, buf, len); user_buf 251 drivers/net/wireless/ath/ath9k/htc_drv_debug.c static ssize_t read_file_skb_rx(struct file *file, char __user *user_buf, user_buf 276 drivers/net/wireless/ath/ath9k/htc_drv_debug.c retval = simple_read_from_buffer(user_buf, count, ppos, buf, len); user_buf 289 drivers/net/wireless/ath/ath9k/htc_drv_debug.c static ssize_t read_file_slot(struct file *file, char __user *user_buf, user_buf 303 drivers/net/wireless/ath/ath9k/htc_drv_debug.c return simple_read_from_buffer(user_buf, count, ppos, buf, len); user_buf 313 drivers/net/wireless/ath/ath9k/htc_drv_debug.c static ssize_t read_file_queue(struct file *file, char __user *user_buf, user_buf 349 drivers/net/wireless/ath/ath9k/htc_drv_debug.c return simple_read_from_buffer(user_buf, count, ppos, buf, len); user_buf 360 drivers/net/wireless/ath/ath9k/htc_drv_debug.c static ssize_t read_file_debug(struct file *file, char __user *user_buf, user_buf 369 drivers/net/wireless/ath/ath9k/htc_drv_debug.c return simple_read_from_buffer(user_buf, count, ppos, buf, len); user_buf 372 drivers/net/wireless/ath/ath9k/htc_drv_debug.c static ssize_t write_file_debug(struct file *file, const char __user *user_buf, user_buf 382 drivers/net/wireless/ath/ath9k/htc_drv_debug.c if (copy_from_user(buf, user_buf, len)) user_buf 159 drivers/net/wireless/ath/ath9k/tx99.c static ssize_t read_file_tx99(struct file *file, char __user *user_buf, user_buf 167 drivers/net/wireless/ath/ath9k/tx99.c return simple_read_from_buffer(user_buf, count, ppos, buf, len); user_buf 170 drivers/net/wireless/ath/ath9k/tx99.c static ssize_t write_file_tx99(struct file *file, const char __user *user_buf, user_buf 187 drivers/net/wireless/ath/ath9k/tx99.c if (copy_from_user(buf, user_buf, len)) user_buf 228 drivers/net/wireless/ath/ath9k/tx99.c char __user *user_buf, user_buf 239 drivers/net/wireless/ath/ath9k/tx99.c return simple_read_from_buffer(user_buf, count, ppos, buf, len); user_buf 243 drivers/net/wireless/ath/ath9k/tx99.c const char __user *user_buf, user_buf 250 drivers/net/wireless/ath/ath9k/tx99.c r = kstrtou8_from_user(user_buf, count, 0, &tx_power); user_buf 27 drivers/net/wireless/ath/wcn36xx/debug.c static ssize_t read_file_bool_bmps(struct file *file, char __user *user_buf, user_buf 48 drivers/net/wireless/ath/wcn36xx/debug.c return simple_read_from_buffer(user_buf, count, ppos, buf, 2); user_buf 52 drivers/net/wireless/ath/wcn36xx/debug.c const char __user *user_buf, user_buf 63 drivers/net/wireless/ath/wcn36xx/debug.c if (copy_from_user(buf, user_buf, buf_size)) user_buf 99 drivers/net/wireless/ath/wcn36xx/debug.c const char __user *user_buf, user_buf 112 drivers/net/wireless/ath/wcn36xx/debug.c if (copy_from_user(buf, user_buf, buf_size)) user_buf 625 drivers/net/wireless/ath/wil6210/debugfs.c static ssize_t wil_read_file_ioblob(struct file *file, char __user *user_buf, user_buf 673 drivers/net/wireless/ath/wil6210/debugfs.c ret = copy_to_user(user_buf, buf + unaligned_bytes, count); user_buf 861 drivers/net/wireless/ath/wil6210/debugfs.c static ssize_t wil_read_back(struct file *file, char __user *user_buf, user_buf 871 drivers/net/wireless/ath/wil6210/debugfs.c return simple_read_from_buffer(user_buf, count, ppos, text, user_buf 935 drivers/net/wireless/ath/wil6210/debugfs.c static ssize_t wil_read_pmccfg(struct file *file, char __user *user_buf, user_buf 947 drivers/net/wireless/ath/wil6210/debugfs.c return simple_read_from_buffer(user_buf, count, ppos, text, user_buf 1513 drivers/net/wireless/ath/wil6210/debugfs.c static ssize_t wil_read_file_recovery(struct file *file, char __user *user_buf, user_buf 1527 drivers/net/wireless/ath/wil6210/debugfs.c return simple_read_from_buffer(user_buf, count, ppos, user_buf 2069 drivers/net/wireless/ath/wil6210/debugfs.c static ssize_t wil_read_file_led_cfg(struct file *file, char __user *user_buf, user_buf 2081 drivers/net/wireless/ath/wil6210/debugfs.c return simple_read_from_buffer(user_buf, count, ppos, user_buf 2153 drivers/net/wireless/ath/wil6210/debugfs.c static ssize_t wil_read_led_blink_time(struct file *file, char __user *user_buf, user_buf 2171 drivers/net/wireless/ath/wil6210/debugfs.c return simple_read_from_buffer(user_buf, count, ppos, text, user_buf 2244 drivers/net/wireless/ath/wil6210/debugfs.c char __user *user_buf, user_buf 2278 drivers/net/wireless/ath/wil6210/debugfs.c ret = simple_read_from_buffer(user_buf, count, ppos, text, n); user_buf 1089 drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c static ssize_t bus_reset_write(struct file *file, const char __user *user_buf, user_buf 1095 drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c if (kstrtou8_from_user(user_buf, count, 0, &value)) user_buf 34 drivers/net/wireless/intel/iwlegacy/3945-debug.c il3945_ucode_rx_stats_read(struct file *file, char __user *user_buf, user_buf 293 drivers/net/wireless/intel/iwlegacy/3945-debug.c ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); user_buf 299 drivers/net/wireless/intel/iwlegacy/3945-debug.c il3945_ucode_tx_stats_read(struct file *file, char __user *user_buf, user_buf 383 drivers/net/wireless/intel/iwlegacy/3945-debug.c ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); user_buf 389 drivers/net/wireless/intel/iwlegacy/3945-debug.c il3945_ucode_general_stats_read(struct file *file, char __user *user_buf, user_buf 484 drivers/net/wireless/intel/iwlegacy/3945-debug.c ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); user_buf 804 drivers/net/wireless/intel/iwlegacy/3945-rs.c il3945_sta_dbgfs_stats_table_read(struct file *file, char __user *user_buf, user_buf 830 drivers/net/wireless/intel/iwlegacy/3945-rs.c ret = simple_read_from_buffer(user_buf, count, ppos, buff, desc); user_buf 41 drivers/net/wireless/intel/iwlegacy/4965-debug.c il4965_ucode_rx_stats_read(struct file *file, char __user *user_buf, user_buf 447 drivers/net/wireless/intel/iwlegacy/4965-debug.c ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); user_buf 453 drivers/net/wireless/intel/iwlegacy/4965-debug.c il4965_ucode_tx_stats_read(struct file *file, char __user *user_buf, user_buf 613 drivers/net/wireless/intel/iwlegacy/4965-debug.c ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); user_buf 619 drivers/net/wireless/intel/iwlegacy/4965-debug.c il4965_ucode_general_stats_read(struct file *file, char __user *user_buf, user_buf 725 drivers/net/wireless/intel/iwlegacy/4965-debug.c ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); user_buf 2531 drivers/net/wireless/intel/iwlegacy/4965-rs.c const char __user *user_buf, user_buf 2543 drivers/net/wireless/intel/iwlegacy/4965-rs.c if (copy_from_user(buf, user_buf, buf_size)) user_buf 2567 drivers/net/wireless/intel/iwlegacy/4965-rs.c il4965_rs_sta_dbgfs_scale_table_read(struct file *file, char __user *user_buf, user_buf 2662 drivers/net/wireless/intel/iwlegacy/4965-rs.c ret = simple_read_from_buffer(user_buf, count, ppos, buff, desc); user_buf 2675 drivers/net/wireless/intel/iwlegacy/4965-rs.c il4965_rs_sta_dbgfs_stats_table_read(struct file *file, char __user *user_buf, user_buf 2708 drivers/net/wireless/intel/iwlegacy/4965-rs.c ret = simple_read_from_buffer(user_buf, count, ppos, buff, desc); user_buf 2721 drivers/net/wireless/intel/iwlegacy/4965-rs.c char __user *user_buf, size_t count, user_buf 2738 drivers/net/wireless/intel/iwlegacy/4965-rs.c return simple_read_from_buffer(user_buf, count, ppos, buff, desc); user_buf 1521 drivers/net/wireless/intel/iwlegacy/common.h ssize_t(*rx_stats_read) (struct file *file, char __user *user_buf, user_buf 1523 drivers/net/wireless/intel/iwlegacy/common.h ssize_t(*tx_stats_read) (struct file *file, char __user *user_buf, user_buf 1526 drivers/net/wireless/intel/iwlegacy/common.h char __user *user_buf, size_t count, user_buf 124 drivers/net/wireless/intel/iwlegacy/debug.c char __user *user_buf, \ user_buf 129 drivers/net/wireless/intel/iwlegacy/debug.c const char __user *user_buf, \ user_buf 200 drivers/net/wireless/intel/iwlegacy/debug.c il_dbgfs_tx_stats_read(struct file *file, char __user *user_buf, size_t count, user_buf 234 drivers/net/wireless/intel/iwlegacy/debug.c ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); user_buf 241 drivers/net/wireless/intel/iwlegacy/debug.c const char __user *user_buf, size_t count, user_buf 251 drivers/net/wireless/intel/iwlegacy/debug.c if (copy_from_user(buf, user_buf, buf_size)) user_buf 261 drivers/net/wireless/intel/iwlegacy/debug.c il_dbgfs_rx_stats_read(struct file *file, char __user *user_buf, size_t count, user_buf 296 drivers/net/wireless/intel/iwlegacy/debug.c ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); user_buf 305 drivers/net/wireless/intel/iwlegacy/debug.c il_dbgfs_sram_read(struct file *file, char __user *user_buf, size_t count, user_buf 358 drivers/net/wireless/intel/iwlegacy/debug.c ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); user_buf 364 drivers/net/wireless/intel/iwlegacy/debug.c il_dbgfs_sram_write(struct file *file, const char __user *user_buf, user_buf 374 drivers/net/wireless/intel/iwlegacy/debug.c if (copy_from_user(buf, user_buf, buf_size)) user_buf 389 drivers/net/wireless/intel/iwlegacy/debug.c il_dbgfs_stations_read(struct file *file, char __user *user_buf, size_t count, user_buf 447 drivers/net/wireless/intel/iwlegacy/debug.c ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); user_buf 453 drivers/net/wireless/intel/iwlegacy/debug.c il_dbgfs_nvm_read(struct file *file, char __user *user_buf, size_t count, user_buf 491 drivers/net/wireless/intel/iwlegacy/debug.c ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); user_buf 497 drivers/net/wireless/intel/iwlegacy/debug.c il_dbgfs_channels_read(struct file *file, char __user *user_buf, size_t count, user_buf 570 drivers/net/wireless/intel/iwlegacy/debug.c ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); user_buf 576 drivers/net/wireless/intel/iwlegacy/debug.c il_dbgfs_status_read(struct file *file, char __user *user_buf, size_t count, user_buf 633 drivers/net/wireless/intel/iwlegacy/debug.c return simple_read_from_buffer(user_buf, count, ppos, buf, pos); user_buf 637 drivers/net/wireless/intel/iwlegacy/debug.c il_dbgfs_interrupt_read(struct file *file, char __user *user_buf, size_t count, user_buf 710 drivers/net/wireless/intel/iwlegacy/debug.c ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); user_buf 716 drivers/net/wireless/intel/iwlegacy/debug.c il_dbgfs_interrupt_write(struct file *file, const char __user *user_buf, user_buf 726 drivers/net/wireless/intel/iwlegacy/debug.c if (copy_from_user(buf, user_buf, buf_size)) user_buf 737 drivers/net/wireless/intel/iwlegacy/debug.c il_dbgfs_qos_read(struct file *file, char __user *user_buf, size_t count, user_buf 758 drivers/net/wireless/intel/iwlegacy/debug.c return simple_read_from_buffer(user_buf, count, ppos, buf, pos); user_buf 762 drivers/net/wireless/intel/iwlegacy/debug.c il_dbgfs_disable_ht40_write(struct file *file, const char __user *user_buf, user_buf 772 drivers/net/wireless/intel/iwlegacy/debug.c if (copy_from_user(buf, user_buf, buf_size)) user_buf 788 drivers/net/wireless/intel/iwlegacy/debug.c il_dbgfs_disable_ht40_read(struct file *file, char __user *user_buf, user_buf 799 drivers/net/wireless/intel/iwlegacy/debug.c return simple_read_from_buffer(user_buf, count, ppos, buf, pos); user_buf 812 drivers/net/wireless/intel/iwlegacy/debug.c il_dbgfs_tx_queue_read(struct file *file, char __user *user_buf, size_t count, user_buf 853 drivers/net/wireless/intel/iwlegacy/debug.c ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); user_buf 859 drivers/net/wireless/intel/iwlegacy/debug.c il_dbgfs_rx_queue_read(struct file *file, char __user *user_buf, size_t count, user_buf 884 drivers/net/wireless/intel/iwlegacy/debug.c return simple_read_from_buffer(user_buf, count, ppos, buf, pos); user_buf 888 drivers/net/wireless/intel/iwlegacy/debug.c il_dbgfs_ucode_rx_stats_read(struct file *file, char __user *user_buf, user_buf 893 drivers/net/wireless/intel/iwlegacy/debug.c return il->debugfs_ops->rx_stats_read(file, user_buf, count, ppos); user_buf 897 drivers/net/wireless/intel/iwlegacy/debug.c il_dbgfs_ucode_tx_stats_read(struct file *file, char __user *user_buf, user_buf 902 drivers/net/wireless/intel/iwlegacy/debug.c return il->debugfs_ops->tx_stats_read(file, user_buf, count, ppos); user_buf 906 drivers/net/wireless/intel/iwlegacy/debug.c il_dbgfs_ucode_general_stats_read(struct file *file, char __user *user_buf, user_buf 911 drivers/net/wireless/intel/iwlegacy/debug.c return il->debugfs_ops->general_stats_read(file, user_buf, count, ppos); user_buf 915 drivers/net/wireless/intel/iwlegacy/debug.c il_dbgfs_sensitivity_read(struct file *file, char __user *user_buf, user_buf 1008 drivers/net/wireless/intel/iwlegacy/debug.c ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); user_buf 1014 drivers/net/wireless/intel/iwlegacy/debug.c il_dbgfs_chain_noise_read(struct file *file, char __user *user_buf, user_buf 1079 drivers/net/wireless/intel/iwlegacy/debug.c ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); user_buf 1085 drivers/net/wireless/intel/iwlegacy/debug.c il_dbgfs_power_save_status_read(struct file *file, char __user *user_buf, user_buf 1105 drivers/net/wireless/intel/iwlegacy/debug.c return simple_read_from_buffer(user_buf, count, ppos, buf, pos); user_buf 1110 drivers/net/wireless/intel/iwlegacy/debug.c const char __user *user_buf, size_t count, user_buf 1120 drivers/net/wireless/intel/iwlegacy/debug.c if (copy_from_user(buf, user_buf, buf_size)) user_buf 1134 drivers/net/wireless/intel/iwlegacy/debug.c il_dbgfs_rxon_flags_read(struct file *file, char __user *user_buf, user_buf 1143 drivers/net/wireless/intel/iwlegacy/debug.c return simple_read_from_buffer(user_buf, count, ppos, buf, len); user_buf 1147 drivers/net/wireless/intel/iwlegacy/debug.c il_dbgfs_rxon_filter_flags_read(struct file *file, char __user *user_buf, user_buf 1157 drivers/net/wireless/intel/iwlegacy/debug.c return simple_read_from_buffer(user_buf, count, ppos, buf, len); user_buf 1161 drivers/net/wireless/intel/iwlegacy/debug.c il_dbgfs_fh_reg_read(struct file *file, char __user *user_buf, size_t count, user_buf 1173 drivers/net/wireless/intel/iwlegacy/debug.c simple_read_from_buffer(user_buf, count, ppos, buf, user_buf 1183 drivers/net/wireless/intel/iwlegacy/debug.c il_dbgfs_missed_beacon_read(struct file *file, char __user *user_buf, user_buf 1196 drivers/net/wireless/intel/iwlegacy/debug.c return simple_read_from_buffer(user_buf, count, ppos, buf, pos); user_buf 1200 drivers/net/wireless/intel/iwlegacy/debug.c il_dbgfs_missed_beacon_write(struct file *file, const char __user *user_buf, user_buf 1210 drivers/net/wireless/intel/iwlegacy/debug.c if (copy_from_user(buf, user_buf, buf_size)) user_buf 1225 drivers/net/wireless/intel/iwlegacy/debug.c il_dbgfs_force_reset_read(struct file *file, char __user *user_buf, user_buf 1252 drivers/net/wireless/intel/iwlegacy/debug.c return simple_read_from_buffer(user_buf, count, ppos, buf, pos); user_buf 1256 drivers/net/wireless/intel/iwlegacy/debug.c il_dbgfs_force_reset_write(struct file *file, const char __user *user_buf, user_buf 1269 drivers/net/wireless/intel/iwlegacy/debug.c il_dbgfs_wd_timeout_write(struct file *file, const char __user *user_buf, user_buf 1280 drivers/net/wireless/intel/iwlegacy/debug.c if (copy_from_user(buf, user_buf, buf_size)) user_buf 56 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c char __user *user_buf, user_buf 140 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); user_buf 146 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c const char __user *user_buf, user_buf 156 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c if (copy_from_user(buf, user_buf, buf_size)) user_buf 174 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c char __user *user_buf, user_buf 183 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c return simple_read_from_buffer(user_buf, count, ppos, user_buf 187 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c static ssize_t iwl_dbgfs_stations_read(struct file *file, char __user *user_buf, user_buf 238 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); user_buf 244 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c char __user *user_buf, user_buf 277 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); user_buf 282 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c static ssize_t iwl_dbgfs_channels_read(struct file *file, char __user *user_buf, user_buf 342 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); user_buf 348 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c char __user *user_buf, user_buf 378 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c return simple_read_from_buffer(user_buf, count, ppos, buf, pos); user_buf 382 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c char __user *user_buf, user_buf 405 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); user_buf 411 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c const char __user *user_buf, user_buf 422 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c if (copy_from_user(buf, user_buf, buf_size)) user_buf 433 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c static ssize_t iwl_dbgfs_qos_read(struct file *file, char __user *user_buf, user_buf 457 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c return simple_read_from_buffer(user_buf, count, ppos, buf, pos); user_buf 461 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c char __user *user_buf, user_buf 489 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c return simple_read_from_buffer(user_buf, count, ppos, buf, pos); user_buf 493 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c const char __user *user_buf, user_buf 503 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c if (copy_from_user(buf, user_buf, buf_size)) user_buf 516 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c char __user *user_buf, user_buf 527 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c return simple_read_from_buffer(user_buf, count, ppos, buf, pos); user_buf 531 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c char __user *user_buf, user_buf 540 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c return simple_read_from_buffer(user_buf, count, ppos, buf, pos); user_buf 545 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c const char __user *user_buf, user_buf 555 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c if (copy_from_user(buf, user_buf, buf_size)) user_buf 587 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c char __user *user_buf, user_buf 601 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c return simple_read_from_buffer(user_buf, count, ppos, buf, pos); user_buf 605 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c char __user *user_buf, user_buf 625 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c return simple_read_from_buffer(user_buf, count, ppos, buf, pos); user_buf 671 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c char __user *user_buf, user_buf 1098 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); user_buf 1104 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c char __user *user_buf, user_buf 1295 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); user_buf 1301 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c char __user *user_buf, user_buf 1415 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); user_buf 1421 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c char __user *user_buf, user_buf 1503 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); user_buf 1509 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c char __user *user_buf, user_buf 1645 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); user_buf 1651 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c char __user *user_buf, user_buf 1723 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); user_buf 1730 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c char __user *user_buf, user_buf 1780 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); user_buf 1786 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c char __user *user_buf, user_buf 1805 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c return simple_read_from_buffer(user_buf, count, ppos, buf, pos); user_buf 1809 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c const char __user *user_buf, user_buf 1819 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c if (copy_from_user(buf, user_buf, buf_size)) user_buf 1833 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c char __user *user_buf, user_buf 1850 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c return simple_read_from_buffer(user_buf, count, ppos, buf, pos); user_buf 1854 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c const char __user *user_buf, user_buf 1864 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c if (copy_from_user(buf, user_buf, buf_size)) user_buf 1884 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c char __user *user_buf, user_buf 1893 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c return simple_read_from_buffer(user_buf, count, ppos, buf, len); user_buf 1897 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c char __user *user_buf, user_buf 1906 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c return simple_read_from_buffer(user_buf, count, ppos, buf, len); user_buf 1910 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c char __user *user_buf, user_buf 1921 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c return simple_read_from_buffer(user_buf, count, ppos, buf, pos); user_buf 1925 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c const char __user *user_buf, user_buf 1935 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c if (copy_from_user(buf, user_buf, buf_size)) user_buf 1951 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c char __user *user_buf, user_buf 1962 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c return simple_read_from_buffer(user_buf, count, ppos, buf, pos); user_buf 1966 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c const char __user *user_buf, user_buf 1976 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c if (copy_from_user(buf, user_buf, buf_size)) user_buf 1990 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c char __user *user_buf, user_buf 2011 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c return simple_read_from_buffer(user_buf, count, ppos, buf, pos); user_buf 2015 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c const char __user *user_buf, user_buf 2026 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c const char __user *user_buf, user_buf 2036 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c if (copy_from_user(buf, user_buf, buf_size)) user_buf 2050 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c char __user *user_buf, user_buf 2060 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c return simple_read_from_buffer(user_buf, count, ppos, buf, pos); user_buf 2091 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c return simple_read_from_buffer(user_buf, count, ppos, buf, pos); user_buf 2095 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c char __user *user_buf, user_buf 2112 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c return simple_read_from_buffer(user_buf, count, ppos, buf, pos); user_buf 2116 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c const char __user *user_buf, user_buf 2129 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c if (copy_from_user(buf, user_buf, buf_size)) user_buf 2157 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c const char __user *user_buf, user_buf 2166 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c if (copy_from_user(buf, user_buf, buf_size)) user_buf 2175 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c char __user *user_buf, user_buf 2184 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c ret = simple_read_from_buffer(user_buf, count, ppos, buf, ret); user_buf 2190 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c const char __user *user_buf, user_buf 2204 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c if (copy_from_user(buf, user_buf, buf_size)) user_buf 2216 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c char __user *user_buf, user_buf 2240 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c return simple_read_from_buffer(user_buf, count, ppos, buf, pos); user_buf 2244 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c const char __user *user_buf, user_buf 2254 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c if (copy_from_user(buf, user_buf, buf_size)) user_buf 2265 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c const char __user *user_buf, user_buf 3072 drivers/net/wireless/intel/iwlwifi/dvm/rs.c const char __user *user_buf, size_t count, loff_t *ppos) user_buf 3084 drivers/net/wireless/intel/iwlwifi/dvm/rs.c if (copy_from_user(buf, user_buf, buf_size)) user_buf 3098 drivers/net/wireless/intel/iwlwifi/dvm/rs.c char __user *user_buf, size_t count, loff_t *ppos) user_buf 3174 drivers/net/wireless/intel/iwlwifi/dvm/rs.c ret = simple_read_from_buffer(user_buf, count, ppos, buff, desc); user_buf 3186 drivers/net/wireless/intel/iwlwifi/dvm/rs.c char __user *user_buf, size_t count, loff_t *ppos) user_buf 3218 drivers/net/wireless/intel/iwlwifi/dvm/rs.c ret = simple_read_from_buffer(user_buf, count, ppos, buff, desc); user_buf 3230 drivers/net/wireless/intel/iwlwifi/dvm/rs.c char __user *user_buf, size_t count, loff_t *ppos) user_buf 3246 drivers/net/wireless/intel/iwlwifi/dvm/rs.c return simple_read_from_buffer(user_buf, count, ppos, buff, desc); user_buf 93 drivers/net/wireless/intel/iwlwifi/fw/debugfs.c char __user *user_buf, \ user_buf 107 drivers/net/wireless/intel/iwlwifi/fw/debugfs.c return simple_read_from_buffer(user_buf, count, ppos, \ user_buf 130 drivers/net/wireless/intel/iwlwifi/fw/debugfs.c const char __user *user_buf, \ user_buf 138 drivers/net/wireless/intel/iwlwifi/fw/debugfs.c if (copy_from_user(buf, user_buf, buf_size)) \ user_buf 2098 drivers/net/wireless/intel/iwlwifi/mvm/d3.c static ssize_t iwl_mvm_d3_test_read(struct file *file, char __user *user_buf, user_buf 191 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c char __user *user_buf, user_buf 202 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c return simple_read_from_buffer(user_buf, count, ppos, buf, pos); user_buf 206 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c char __user *user_buf, user_buf 218 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c return simple_read_from_buffer(user_buf, count, ppos, buf, pos); user_buf 222 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c char __user *user_buf, user_buf 302 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c return simple_read_from_buffer(user_buf, count, ppos, buf, pos); user_buf 448 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c char __user *user_buf, user_buf 493 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c return simple_read_from_buffer(user_buf, count, ppos, buf, pos); user_buf 504 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c char __user *user_buf, user_buf 522 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c return simple_read_from_buffer(user_buf, count, ppos, buf, pos); user_buf 580 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c char __user *user_buf, user_buf 604 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c return simple_read_from_buffer(user_buf, count, ppos, buf, len); user_buf 608 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c char __user *user_buf, user_buf 617 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c return simple_read_from_buffer(user_buf, count, ppos, buf, len); user_buf 674 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c char __user *user_buf, user_buf 685 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c return simple_read_from_buffer(user_buf, count, ppos, buf, len); user_buf 728 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c char __user *user_buf, user_buf 738 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c return simple_read_from_buffer(user_buf, count, ppos, buf, len); user_buf 76 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c char __user *user_buf, user_buf 99 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c return simple_read_from_buffer(user_buf, count, ppos, buf, pos); user_buf 197 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c static ssize_t iwl_dbgfs_sram_read(struct file *file, char __user *user_buf, user_buf 225 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c ret = simple_read_from_buffer(user_buf, count, ppos, ptr, len); user_buf 264 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c char __user *user_buf, user_buf 276 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c return simple_read_from_buffer(user_buf, count, ppos, buf, pos); user_buf 331 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c char __user *user_buf, user_buf 351 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c return simple_read_from_buffer(user_buf, count, ppos, buf, pos); user_buf 356 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c char __user *user_buf, user_buf 393 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c return simple_read_from_buffer(user_buf, count, ppos, buf, pos); user_buf 397 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c static ssize_t iwl_dbgfs_stations_read(struct file *file, char __user *user_buf, user_buf 423 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c return simple_read_from_buffer(user_buf, count, ppos, buf, pos); user_buf 426 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c static ssize_t iwl_dbgfs_rs_data_read(struct file *file, char __user *user_buf, user_buf 465 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c ret = simple_read_from_buffer(user_buf, count, ppos, buff, desc); user_buf 494 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c char __user *user_buf, user_buf 507 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c return simple_read_from_buffer(user_buf, count, ppos, buf, pos); user_buf 511 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c char __user *user_buf, user_buf 524 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c return simple_read_from_buffer(user_buf, count, ppos, buf, pos); user_buf 614 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c static ssize_t iwl_dbgfs_bt_notif_read(struct file *file, char __user *user_buf, user_buf 651 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); user_buf 658 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c static ssize_t iwl_dbgfs_bt_cmd_read(struct file *file, char __user *user_buf, user_buf 679 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c return simple_read_from_buffer(user_buf, count, ppos, buf, pos); user_buf 734 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c static ssize_t iwl_dbgfs_fw_ver_read(struct file *file, char __user *user_buf, user_buf 758 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c ret = simple_read_from_buffer(user_buf, count, ppos, buff, pos - buff); user_buf 770 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c char __user *user_buf, size_t count, user_buf 952 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); user_buf 960 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c char __user *user_buf, size_t count, user_buf 1018 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c ret = simple_read_from_buffer(user_buf, count, ppos, buff, pos - buff); user_buf 1025 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c char __user *user_buf, size_t count, user_buf 1030 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c return iwl_dbgfs_frame_stats_read(mvm, user_buf, count, ppos, user_buf 1069 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c char __user *user_buf, user_buf 1087 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c return simple_read_from_buffer(user_buf, count, ppos, buf, pos); user_buf 1329 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c char __user *user_buf, user_buf 1344 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c return simple_read_from_buffer(user_buf, count, ppos, buf, pos); user_buf 1387 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c char __user *user_buf, user_buf 1435 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); user_buf 1494 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c char __user *user_buf, user_buf 1523 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); user_buf 1592 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c char __user *user_buf, user_buf 1607 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c return simple_read_from_buffer(user_buf, count, ppos, buf, pos); user_buf 1724 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c iwl_dbgfs_he_sniffer_params_read(struct file *file, char __user *user_buf, user_buf 1737 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c return simple_read_from_buffer(user_buf, count, ppos, buf, len); user_buf 1741 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c iwl_dbgfs_uapsd_noagg_bssids_read(struct file *file, char __user *user_buf, user_buf 1758 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c return simple_read_from_buffer(user_buf, count, ppos, buf, pos); user_buf 1843 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c static ssize_t iwl_dbgfs_mem_read(struct file *file, char __user *user_buf, user_buf 1891 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c ret = len - copy_to_user(user_buf, (void *)rsp->data + delta, len); user_buf 1900 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c const char __user *user_buf, size_t count, user_buf 1936 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c if (copy_from_user((void *)cmd->data, user_buf, data_size)) { user_buf 70 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.h const char __user *user_buf, \ user_buf 77 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.h if (copy_from_user(buf, user_buf, buf_size)) \ user_buf 3773 drivers/net/wireless/intel/iwlwifi/mvm/rs.c const char __user *user_buf, size_t count, loff_t *ppos) user_buf 3784 drivers/net/wireless/intel/iwlwifi/mvm/rs.c if (copy_from_user(buf, user_buf, buf_size)) user_buf 3798 drivers/net/wireless/intel/iwlwifi/mvm/rs.c char __user *user_buf, size_t count, loff_t *ppos) user_buf 3891 drivers/net/wireless/intel/iwlwifi/mvm/rs.c ret = simple_read_from_buffer(user_buf, count, ppos, buff, desc); user_buf 3903 drivers/net/wireless/intel/iwlwifi/mvm/rs.c char __user *user_buf, size_t count, loff_t *ppos) user_buf 3939 drivers/net/wireless/intel/iwlwifi/mvm/rs.c ret = simple_read_from_buffer(user_buf, count, ppos, buff, desc); user_buf 3951 drivers/net/wireless/intel/iwlwifi/mvm/rs.c char __user *user_buf, user_buf 4018 drivers/net/wireless/intel/iwlwifi/mvm/rs.c ret = simple_read_from_buffer(user_buf, count, ppos, buff, pos - buff); user_buf 4024 drivers/net/wireless/intel/iwlwifi/mvm/rs.c const char __user *user_buf, user_buf 4041 drivers/net/wireless/intel/iwlwifi/mvm/rs.c char __user *user_buf, user_buf 4057 drivers/net/wireless/intel/iwlwifi/mvm/rs.c return simple_read_from_buffer(user_buf, count, ppos, buf, pos); user_buf 2546 drivers/net/wireless/intel/iwlwifi/pcie/trans.c char __user *user_buf, user_buf 2580 drivers/net/wireless/intel/iwlwifi/pcie/trans.c ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); user_buf 2586 drivers/net/wireless/intel/iwlwifi/pcie/trans.c char __user *user_buf, user_buf 2630 drivers/net/wireless/intel/iwlwifi/pcie/trans.c ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); user_buf 2637 drivers/net/wireless/intel/iwlwifi/pcie/trans.c char __user *user_buf, user_buf 2689 drivers/net/wireless/intel/iwlwifi/pcie/trans.c ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); user_buf 2695 drivers/net/wireless/intel/iwlwifi/pcie/trans.c const char __user *user_buf, user_buf 2704 drivers/net/wireless/intel/iwlwifi/pcie/trans.c ret = kstrtou32_from_user(user_buf, count, 16, &reset_flag); user_buf 2714 drivers/net/wireless/intel/iwlwifi/pcie/trans.c const char __user *user_buf, user_buf 2725 drivers/net/wireless/intel/iwlwifi/pcie/trans.c char __user *user_buf, user_buf 2737 drivers/net/wireless/intel/iwlwifi/pcie/trans.c ret = simple_read_from_buffer(user_buf, count, ppos, buf, ret); user_buf 2743 drivers/net/wireless/intel/iwlwifi/pcie/trans.c char __user *user_buf, user_buf 2756 drivers/net/wireless/intel/iwlwifi/pcie/trans.c return simple_read_from_buffer(user_buf, count, ppos, buf, pos); user_buf 2760 drivers/net/wireless/intel/iwlwifi/pcie/trans.c const char __user *user_buf, user_buf 2768 drivers/net/wireless/intel/iwlwifi/pcie/trans.c ret = kstrtobool_from_user(user_buf, count, &new_value); user_buf 2811 drivers/net/wireless/intel/iwlwifi/pcie/trans.c static bool iwl_write_to_user_buf(char __user *user_buf, ssize_t count, user_buf 2821 drivers/net/wireless/intel/iwlwifi/pcie/trans.c *size -= copy_to_user(user_buf, buf, *size); user_buf 2830 drivers/net/wireless/intel/iwlwifi/pcie/trans.c char __user *user_buf, user_buf 2867 drivers/net/wireless/intel/iwlwifi/pcie/trans.c b_full = iwl_write_to_user_buf(user_buf, count, user_buf 2876 drivers/net/wireless/intel/iwlwifi/pcie/trans.c b_full = iwl_write_to_user_buf(user_buf, count, user_buf 2883 drivers/net/wireless/intel/iwlwifi/pcie/trans.c b_full = iwl_write_to_user_buf(user_buf, count, user_buf 2900 drivers/net/wireless/intel/iwlwifi/pcie/trans.c b_full = iwl_write_to_user_buf(user_buf, count, user_buf 56 drivers/net/wireless/marvell/libertas/debugfs.c const char __user *user_buf, size_t count, user_buf 65 drivers/net/wireless/marvell/libertas/debugfs.c buf = memdup_user_nul(user_buf, min(count, len - 1)); user_buf 121 drivers/net/wireless/marvell/libertas/debugfs.c const char __user *user_buf, size_t count, user_buf 129 drivers/net/wireless/marvell/libertas/debugfs.c buf = memdup_user_nul(user_buf, min(count, len - 1)); user_buf 336 drivers/net/wireless/st/cw1200/debug.c const char __user *user_buf, size_t count, loff_t *ppos) user_buf 343 drivers/net/wireless/st/cw1200/debug.c if (copy_from_user(buf, user_buf, 1)) user_buf 178 drivers/net/wireless/ti/wl18xx/debugfs.c static ssize_t conf_read(struct file *file, char __user *user_buf, user_buf 208 drivers/net/wireless/ti/wl18xx/debugfs.c ret = simple_read_from_buffer(user_buf, count, ppos, buf, len); user_buf 221 drivers/net/wireless/ti/wl18xx/debugfs.c const char __user *user_buf, user_buf 249 drivers/net/wireless/ti/wl18xx/debugfs.c const char __user *user_buf, user_buf 256 drivers/net/wireless/ti/wl18xx/debugfs.c ret = kstrtou8_from_user(user_buf, count, 10, &channel); user_buf 291 drivers/net/wireless/ti/wl18xx/debugfs.c const char __user *user_buf, user_buf 298 drivers/net/wireless/ti/wl18xx/debugfs.c ret = kstrtoul_from_user(user_buf, count, 0, &value); user_buf 344 drivers/net/wireless/ti/wl18xx/debugfs.c const char __user *user_buf, user_buf 352 drivers/net/wireless/ti/wl18xx/debugfs.c ret = kstrtoul_from_user(user_buf, count, 10, &value); user_buf 136 drivers/net/wireless/ti/wlcore/debugfs.c char __user *user_buf, \ user_buf 140 drivers/net/wireless/ti/wlcore/debugfs.c return wl1271_format_buffer(user_buf, count, \ user_buf 146 drivers/net/wireless/ti/wlcore/debugfs.c const char __user *user_buf, \ user_buf 153 drivers/net/wireless/ti/wlcore/debugfs.c ret = kstrtoul_from_user(user_buf, count, 10, &value); \ user_buf 187 drivers/net/wireless/ti/wlcore/debugfs.c static ssize_t gpio_power_read(struct file *file, char __user *user_buf, user_buf 198 drivers/net/wireless/ti/wlcore/debugfs.c return simple_read_from_buffer(user_buf, count, ppos, buf, res); user_buf 202 drivers/net/wireless/ti/wlcore/debugfs.c const char __user *user_buf, user_buf 209 drivers/net/wireless/ti/wlcore/debugfs.c ret = kstrtoul_from_user(user_buf, count, 10, &value); user_buf 234 drivers/net/wireless/ti/wlcore/debugfs.c const char __user *user_buf, user_buf 252 drivers/net/wireless/ti/wlcore/debugfs.c static ssize_t dynamic_ps_timeout_read(struct file *file, char __user *user_buf, user_buf 257 drivers/net/wireless/ti/wlcore/debugfs.c return wl1271_format_buffer(user_buf, count, user_buf 263 drivers/net/wireless/ti/wlcore/debugfs.c const char __user *user_buf, user_buf 271 drivers/net/wireless/ti/wlcore/debugfs.c ret = kstrtoul_from_user(user_buf, count, 10, &value); user_buf 319 drivers/net/wireless/ti/wlcore/debugfs.c static ssize_t forced_ps_read(struct file *file, char __user *user_buf, user_buf 324 drivers/net/wireless/ti/wlcore/debugfs.c return wl1271_format_buffer(user_buf, count, user_buf 330 drivers/net/wireless/ti/wlcore/debugfs.c const char __user *user_buf, user_buf 338 drivers/net/wireless/ti/wlcore/debugfs.c ret = kstrtoul_from_user(user_buf, count, 10, &value); user_buf 391 drivers/net/wireless/ti/wlcore/debugfs.c static ssize_t split_scan_timeout_read(struct file *file, char __user *user_buf, user_buf 396 drivers/net/wireless/ti/wlcore/debugfs.c return wl1271_format_buffer(user_buf, count, user_buf 402 drivers/net/wireless/ti/wlcore/debugfs.c const char __user *user_buf, user_buf 409 drivers/net/wireless/ti/wlcore/debugfs.c ret = kstrtoul_from_user(user_buf, count, 10, &value); user_buf 433 drivers/net/wireless/ti/wlcore/debugfs.c static ssize_t driver_state_read(struct file *file, char __user *user_buf, user_buf 521 drivers/net/wireless/ti/wlcore/debugfs.c ret = simple_read_from_buffer(user_buf, count, ppos, buf, res); user_buf 532 drivers/net/wireless/ti/wlcore/debugfs.c static ssize_t vifs_state_read(struct file *file, char __user *user_buf, user_buf 631 drivers/net/wireless/ti/wlcore/debugfs.c ret = simple_read_from_buffer(user_buf, count, ppos, buf, res); user_buf 642 drivers/net/wireless/ti/wlcore/debugfs.c static ssize_t dtim_interval_read(struct file *file, char __user *user_buf, user_buf 654 drivers/net/wireless/ti/wlcore/debugfs.c return wl1271_format_buffer(user_buf, count, ppos, "%d\n", value); user_buf 658 drivers/net/wireless/ti/wlcore/debugfs.c const char __user *user_buf, user_buf 665 drivers/net/wireless/ti/wlcore/debugfs.c ret = kstrtoul_from_user(user_buf, count, 10, &value); user_buf 703 drivers/net/wireless/ti/wlcore/debugfs.c char __user *user_buf, user_buf 715 drivers/net/wireless/ti/wlcore/debugfs.c return wl1271_format_buffer(user_buf, count, ppos, "%d\n", value); user_buf 719 drivers/net/wireless/ti/wlcore/debugfs.c const char __user *user_buf, user_buf 726 drivers/net/wireless/ti/wlcore/debugfs.c ret = kstrtoul_from_user(user_buf, count, 10, &value); user_buf 758 drivers/net/wireless/ti/wlcore/debugfs.c static ssize_t beacon_interval_read(struct file *file, char __user *user_buf, user_buf 770 drivers/net/wireless/ti/wlcore/debugfs.c return wl1271_format_buffer(user_buf, count, ppos, "%d\n", value); user_buf 774 drivers/net/wireless/ti/wlcore/debugfs.c const char __user *user_buf, user_buf 781 drivers/net/wireless/ti/wlcore/debugfs.c ret = kstrtoul_from_user(user_buf, count, 10, &value); user_buf 817 drivers/net/wireless/ti/wlcore/debugfs.c const char __user *user_buf, user_buf 825 drivers/net/wireless/ti/wlcore/debugfs.c ret = kstrtoul_from_user(user_buf, count, 10, &value); user_buf 875 drivers/net/wireless/ti/wlcore/debugfs.c const char __user *user_buf, user_buf 883 drivers/net/wireless/ti/wlcore/debugfs.c ret = kstrtoul_from_user(user_buf, count, 10, &value); user_buf 933 drivers/net/wireless/ti/wlcore/debugfs.c const char __user *user_buf, user_buf 941 drivers/net/wireless/ti/wlcore/debugfs.c ret = kstrtoul_from_user(user_buf, count, 0, &value); user_buf 991 drivers/net/wireless/ti/wlcore/debugfs.c static ssize_t sleep_auth_read(struct file *file, char __user *user_buf, user_buf 996 drivers/net/wireless/ti/wlcore/debugfs.c return wl1271_format_buffer(user_buf, count, user_buf 1002 drivers/net/wireless/ti/wlcore/debugfs.c const char __user *user_buf, user_buf 1009 drivers/net/wireless/ti/wlcore/debugfs.c ret = kstrtoul_from_user(user_buf, count, 0, &value); user_buf 1057 drivers/net/wireless/ti/wlcore/debugfs.c char __user *user_buf, size_t count, user_buf 1124 drivers/net/wireless/ti/wlcore/debugfs.c ret = copy_to_user(user_buf, buf, bytes); user_buf 1139 drivers/net/wireless/ti/wlcore/debugfs.c static ssize_t dev_mem_write(struct file *file, const char __user *user_buf, user_buf 1165 drivers/net/wireless/ti/wlcore/debugfs.c buf = memdup_user(user_buf, bytes); user_buf 1229 drivers/net/wireless/ti/wlcore/debugfs.c static ssize_t fw_logger_read(struct file *file, char __user *user_buf, user_buf 1234 drivers/net/wireless/ti/wlcore/debugfs.c return wl1271_format_buffer(user_buf, count, user_buf 1240 drivers/net/wireless/ti/wlcore/debugfs.c const char __user *user_buf, user_buf 1247 drivers/net/wireless/ti/wlcore/debugfs.c ret = kstrtoul_from_user(user_buf, count, 0, &value); user_buf 195 drivers/platform/chrome/cros_ec_debugfs.c char __user *user_buf, user_buf 242 drivers/platform/chrome/cros_ec_debugfs.c return simple_read_from_buffer(user_buf, count, ppos, user_buf 246 drivers/platform/chrome/cros_ec_debugfs.c static ssize_t cros_ec_uptime_read(struct file *file, char __user *user_buf, user_buf 271 drivers/platform/chrome/cros_ec_debugfs.c return simple_read_from_buffer(user_buf, count, ppos, read_buf, ret); user_buf 95 drivers/platform/chrome/wilco_ec/debugfs.c static ssize_t raw_write(struct file *file, const char __user *user_buf, user_buf 108 drivers/platform/chrome/wilco_ec/debugfs.c user_buf, count); user_buf 135 drivers/platform/chrome/wilco_ec/debugfs.c static ssize_t raw_read(struct file *file, char __user *user_buf, size_t count, user_buf 150 drivers/platform/chrome/wilco_ec/debugfs.c return simple_read_from_buffer(user_buf, count, ppos, user_buf 1524 drivers/regulator/core.c char __user *user_buf, user_buf 1555 drivers/regulator/core.c ret = simple_read_from_buffer(user_buf, count, ppos, buf, ret); user_buf 122 drivers/remoteproc/remoteproc_debugfs.c rproc_recovery_write(struct file *filp, const char __user *user_buf, user_buf 132 drivers/remoteproc/remoteproc_debugfs.c ret = copy_from_user(buf, user_buf, count); user_buf 165 drivers/remoteproc/remoteproc_debugfs.c rproc_crash_write(struct file *filp, const char __user *user_buf, user_buf 172 drivers/remoteproc/remoteproc_debugfs.c ret = kstrtouint_from_user(user_buf, count, 0, &type); user_buf 947 drivers/s390/block/dasd.c char *dasd_get_user_string(const char __user *user_buf, size_t user_len) user_buf 954 drivers/s390/block/dasd.c if (copy_from_user(buffer, user_buf, user_len) != 0) { user_buf 967 drivers/s390/block/dasd.c const char __user *user_buf, user_buf 977 drivers/s390/block/dasd.c buffer = dasd_get_user_string(user_buf, user_len); user_buf 260 drivers/s390/block/dasd_proc.c const char __user *user_buf, size_t user_len, loff_t *pos) user_buf 268 drivers/s390/block/dasd_proc.c buffer = dasd_get_user_string(user_buf, user_len); user_buf 353 drivers/s390/cio/blacklist.c cio_ignore_write(struct file *file, const char __user *user_buf, user_buf 367 drivers/s390/cio/blacklist.c if (strncpy_from_user (buf, user_buf, user_len) < 0) { user_buf 3276 drivers/scsi/hisi_sas/hisi_sas_main.c const char __user *user_buf, user_buf 3289 drivers/scsi/hisi_sas/hisi_sas_main.c if (copy_from_user(buf, user_buf, count)) user_buf 36 drivers/spi/spi-dw.c static ssize_t dw_spi_show_regs(struct file *file, char __user *user_buf, user_buf 85 drivers/spi/spi-dw.c ret = simple_read_from_buffer(user_buf, count, ppos, buf, len); user_buf 303 drivers/staging/kpc2000/kpc_dma/fileops.c ssize_t kpc_dma_read(struct file *filp, char __user *user_buf, size_t count, loff_t *ppos) user_buf 310 drivers/staging/kpc2000/kpc_dma/fileops.c return kpc_dma_transfer(priv, (unsigned long)user_buf, count); user_buf 314 drivers/staging/kpc2000/kpc_dma/fileops.c ssize_t kpc_dma_write(struct file *filp, const char __user *user_buf, size_t count, loff_t *ppos) user_buf 321 drivers/staging/kpc2000/kpc_dma/fileops.c return kpc_dma_transfer(priv, (unsigned long)user_buf, count); user_buf 303 drivers/tty/serial/pch_uart.c static ssize_t port_show_regs(struct file *file, char __user *user_buf, user_buf 348 drivers/tty/serial/pch_uart.c ret = simple_read_from_buffer(user_buf, count, ppos, buf, len); user_buf 955 drivers/usb/host/ehci-dbg.c static ssize_t debug_output(struct file *file, char __user *user_buf, user_buf 971 drivers/usb/host/ehci-dbg.c ret = simple_read_from_buffer(user_buf, len, offset, user_buf 783 drivers/usb/host/fotg210-hcd.c static ssize_t debug_output(struct file *file, char __user *user_buf, user_buf 799 drivers/usb/host/fotg210-hcd.c ret = simple_read_from_buffer(user_buf, len, offset, user_buf 704 drivers/usb/host/ohci-dbg.c static ssize_t debug_output(struct file *file, char __user *user_buf, user_buf 720 drivers/usb/host/ohci-dbg.c ret = simple_read_from_buffer(user_buf, len, offset, user_buf 810 fs/debugfs/file.c ssize_t debugfs_read_file_bool(struct file *file, char __user *user_buf, user_buf 830 fs/debugfs/file.c return simple_read_from_buffer(user_buf, count, ppos, buf, 2); user_buf 834 fs/debugfs/file.c ssize_t debugfs_write_file_bool(struct file *file, const char __user *user_buf, user_buf 842 fs/debugfs/file.c r = kstrtobool_from_user(user_buf, count, &bv); user_buf 905 fs/debugfs/file.c static ssize_t read_file_blob(struct file *file, char __user *user_buf, user_buf 915 fs/debugfs/file.c r = simple_read_from_buffer(user_buf, count, ppos, blob->data, user_buf 184 fs/kernfs/file.c char __user *user_buf, size_t count, user_buf 223 fs/kernfs/file.c if (copy_to_user(user_buf, buf, len)) { user_buf 245 fs/kernfs/file.c static ssize_t kernfs_fop_read(struct file *file, char __user *user_buf, user_buf 251 fs/kernfs/file.c return seq_read(file, user_buf, count, ppos); user_buf 253 fs/kernfs/file.c return kernfs_file_direct_read(of, user_buf, count, ppos); user_buf 272 fs/kernfs/file.c static ssize_t kernfs_fop_write(struct file *file, const char __user *user_buf, user_buf 296 fs/kernfs/file.c if (copy_from_user(buf, user_buf, len)) { user_buf 146 include/linux/debugfs.h ssize_t debugfs_read_file_bool(struct file *file, char __user *user_buf, user_buf 149 include/linux/debugfs.h ssize_t debugfs_write_file_bool(struct file *file, const char __user *user_buf, user_buf 371 include/linux/debugfs.h char __user *user_buf, user_buf 378 include/linux/debugfs.h const char __user *user_buf, user_buf 730 kernel/dma/debug.c static ssize_t filter_read(struct file *file, char __user *user_buf, user_buf 749 kernel/dma/debug.c return simple_read_from_buffer(user_buf, count, ppos, buf, len); user_buf 181 kernel/irq/debugfs.c static ssize_t irq_debug_write(struct file *file, const char __user *user_buf, user_buf 189 kernel/irq/debugfs.c if (copy_from_user(buf, user_buf, size)) user_buf 2566 kernel/kprobes.c char __user *user_buf, size_t count, loff_t *ppos) user_buf 2576 kernel/kprobes.c return simple_read_from_buffer(user_buf, count, ppos, buf, 2); user_buf 2580 kernel/kprobes.c const char __user *user_buf, size_t count, loff_t *ppos) user_buf 2587 kernel/kprobes.c if (copy_from_user(buf, user_buf, buf_size)) user_buf 61 kernel/locking/lock_events.c ssize_t __weak lockevent_read(struct file *file, char __user *user_buf, user_buf 80 kernel/locking/lock_events.c return simple_read_from_buffer(user_buf, count, ppos, buf, len); user_buf 88 kernel/locking/lock_events.c static ssize_t lockevent_write(struct file *file, const char __user *user_buf, user_buf 36 kernel/locking/qspinlock_stat.h ssize_t lockevent_read(struct file *file, char __user *user_buf, user_buf 94 kernel/locking/qspinlock_stat.h return simple_read_from_buffer(user_buf, count, ppos, buf, len); user_buf 1191 kernel/sched/psi.c static ssize_t psi_write(struct file *file, const char __user *user_buf, user_buf 1206 kernel/sched/psi.c if (copy_from_user(buf, user_buf, buf_size)) user_buf 1224 kernel/sched/psi.c static ssize_t psi_io_write(struct file *file, const char __user *user_buf, user_buf 1227 kernel/sched/psi.c return psi_write(file, user_buf, nbytes, PSI_IO); user_buf 1230 kernel/sched/psi.c static ssize_t psi_memory_write(struct file *file, const char __user *user_buf, user_buf 1233 kernel/sched/psi.c return psi_write(file, user_buf, nbytes, PSI_MEM); user_buf 1236 kernel/sched/psi.c static ssize_t psi_cpu_write(struct file *file, const char __user *user_buf, user_buf 1239 kernel/sched/psi.c return psi_write(file, user_buf, nbytes, PSI_CPU); user_buf 1767 mm/kmemleak.c static ssize_t kmemleak_write(struct file *file, const char __user *user_buf, user_buf 1775 mm/kmemleak.c if (strncpy_from_user(buf, user_buf, buf_size) < 0) user_buf 124 net/6lowpan/debugfs.c const char __user *user_buf, size_t count, user_buf 135 net/6lowpan/debugfs.c if (copy_from_user(&buf, user_buf, min_t(size_t, sizeof(buf) - 1, user_buf 63 net/bluetooth/hci_core.c static ssize_t dut_mode_read(struct file *file, char __user *user_buf, user_buf 72 net/bluetooth/hci_core.c return simple_read_from_buffer(user_buf, count, ppos, buf, 2); user_buf 75 net/bluetooth/hci_core.c static ssize_t dut_mode_write(struct file *file, const char __user *user_buf, user_buf 86 net/bluetooth/hci_core.c err = kstrtobool_from_user(user_buf, count, &enable); user_buf 119 net/bluetooth/hci_core.c static ssize_t vendor_diag_read(struct file *file, char __user *user_buf, user_buf 128 net/bluetooth/hci_core.c return simple_read_from_buffer(user_buf, count, ppos, buf, 2); user_buf 131 net/bluetooth/hci_core.c static ssize_t vendor_diag_write(struct file *file, const char __user *user_buf, user_buf 138 net/bluetooth/hci_core.c err = kstrtobool_from_user(user_buf, count, &enable); user_buf 33 net/bluetooth/hci_debugfs.c char __user *user_buf, \ user_buf 42 net/bluetooth/hci_debugfs.c return simple_read_from_buffer(user_buf, count, ppos, buf, 2); \ user_buf 46 net/bluetooth/hci_debugfs.c const char __user *user_buf, \ user_buf 56 net/bluetooth/hci_debugfs.c err = kstrtobool_from_user(user_buf, count, &enable); \ user_buf 255 net/bluetooth/hci_debugfs.c static ssize_t use_debug_keys_read(struct file *file, char __user *user_buf, user_buf 264 net/bluetooth/hci_debugfs.c return simple_read_from_buffer(user_buf, count, ppos, buf, 2); user_buf 273 net/bluetooth/hci_debugfs.c static ssize_t sc_only_mode_read(struct file *file, char __user *user_buf, user_buf 282 net/bluetooth/hci_debugfs.c return simple_read_from_buffer(user_buf, count, ppos, buf, 2); user_buf 407 net/bluetooth/hci_debugfs.c static ssize_t ssp_debug_mode_read(struct file *file, char __user *user_buf, user_buf 416 net/bluetooth/hci_debugfs.c return simple_read_from_buffer(user_buf, count, ppos, buf, 2); user_buf 671 net/bluetooth/hci_debugfs.c char __user *user_buf, user_buf 680 net/bluetooth/hci_debugfs.c return simple_read_from_buffer(user_buf, count, ppos, buf, 2); user_buf 684 net/bluetooth/hci_debugfs.c const char __user *user_buf, user_buf 694 net/bluetooth/hci_debugfs.c err = kstrtobool_from_user(user_buf, count, &enable); user_buf 186 net/bluetooth/selftest.c static ssize_t test_ecdh_read(struct file *file, char __user *user_buf, user_buf 189 net/bluetooth/selftest.c return simple_read_from_buffer(user_buf, count, ppos, test_ecdh_buffer, user_buf 3309 net/bluetooth/smp.c char __user *user_buf, user_buf 3318 net/bluetooth/smp.c return simple_read_from_buffer(user_buf, count, ppos, buf, 2); user_buf 3322 net/bluetooth/smp.c const char __user *user_buf, user_buf 3329 net/bluetooth/smp.c err = kstrtobool_from_user(user_buf, count, &enable); user_buf 3365 net/bluetooth/smp.c char __user *user_buf, user_buf 3373 net/bluetooth/smp.c return simple_read_from_buffer(user_buf, count, ppos, buf, strlen(buf)); user_buf 3377 net/bluetooth/smp.c const char __user *user_buf, user_buf 3385 net/bluetooth/smp.c if (copy_from_user(buf, user_buf, buf_size)) user_buf 3409 net/bluetooth/smp.c char __user *user_buf, user_buf 3417 net/bluetooth/smp.c return simple_read_from_buffer(user_buf, count, ppos, buf, strlen(buf)); user_buf 3421 net/bluetooth/smp.c const char __user *user_buf, user_buf 3429 net/bluetooth/smp.c if (copy_from_user(buf, user_buf, buf_size)) user_buf 3788 net/bluetooth/smp.c static ssize_t test_smp_read(struct file *file, char __user *user_buf, user_buf 3791 net/bluetooth/smp.c return simple_read_from_buffer(user_buf, count, ppos, test_smp_buffer, user_buf 74 net/mac80211/debugfs.c char __user *user_buf, user_buf 110 net/mac80211/debugfs.c return simple_read_from_buffer(user_buf, count, ppos, user_buf 115 net/mac80211/debugfs.c const char __user *user_buf, user_buf 126 net/mac80211/debugfs.c if (copy_from_user(buf, user_buf, count)) user_buf 152 net/mac80211/debugfs.c char __user *user_buf, user_buf 162 net/mac80211/debugfs.c return simple_read_from_buffer(user_buf, count, ppos, user_buf 167 net/mac80211/debugfs.c const char __user *user_buf, user_buf 178 net/mac80211/debugfs.c if (copy_from_user(buf, user_buf, count)) user_buf 204 net/mac80211/debugfs.c static ssize_t reset_write(struct file *file, const char __user *user_buf, user_buf 278 net/mac80211/debugfs.c static ssize_t hwflags_read(struct file *file, char __user *user_buf, user_buf 302 net/mac80211/debugfs.c rv = simple_read_from_buffer(user_buf, count, ppos, buf, strlen(buf)); user_buf 307 net/mac80211/debugfs.c static ssize_t misc_read(struct file *file, char __user *user_buf, user_buf 334 net/mac80211/debugfs.c rv = simple_read_from_buffer(user_buf, count, ppos, buf, strlen(buf)); user_buf 339 net/mac80211/debugfs.c static ssize_t queues_read(struct file *file, char __user *user_buf, user_buf 354 net/mac80211/debugfs.c return simple_read_from_buffer(user_buf, count, ppos, buf, res); user_buf 266 net/sunrpc/debugfs.c fault_disconnect_read(struct file *filp, char __user *user_buf, user_buf 273 net/sunrpc/debugfs.c return simple_read_from_buffer(user_buf, len, offset, buffer, size); user_buf 277 net/sunrpc/debugfs.c fault_disconnect_write(struct file *filp, const char __user *user_buf, user_buf 284 net/sunrpc/debugfs.c if (copy_from_user(buffer, user_buf, len)) user_buf 63 net/wireless/debugfs.c char __user *user_buf, user_buf 89 net/wireless/debugfs.c r = simple_read_from_buffer(user_buf, count, ppos, buf, offset); user_buf 301 samples/qmi/qmi_sample_client.c static ssize_t ping_write(struct file *file, const char __user *user_buf, user_buf 368 samples/qmi/qmi_sample_client.c static ssize_t data_write(struct file *file, const char __user *user_buf, user_buf 389 samples/qmi/qmi_sample_client.c if (copy_from_user(req->data, user_buf, req->data_len)) { user_buf 666 sound/soc/codecs/wm_adsp.c char __user *user_buf, user_buf 677 sound/soc/codecs/wm_adsp.c ret = simple_read_from_buffer(user_buf, count, ppos, user_buf 686 sound/soc/codecs/wm_adsp.c char __user *user_buf, user_buf 697 sound/soc/codecs/wm_adsp.c ret = simple_read_from_buffer(user_buf, count, ppos, user_buf 57 sound/soc/fsl/imx-audmux.c static ssize_t audmux_read_file(struct file *file, char __user *user_buf, user_buf 127 sound/soc/fsl/imx-audmux.c ret = simple_read_from_buffer(user_buf, count, ppos, buf, ret); user_buf 67 sound/soc/intel/skylake/skl-debug.c static ssize_t module_read(struct file *file, char __user *user_buf, user_buf 152 sound/soc/intel/skylake/skl-debug.c ret = simple_read_from_buffer(user_buf, count, ppos, buf, ret); user_buf 173 sound/soc/intel/skylake/skl-debug.c static ssize_t fw_softreg_read(struct file *file, char __user *user_buf, user_buf 206 sound/soc/intel/skylake/skl-debug.c ret = simple_read_from_buffer(user_buf, count, ppos, tmp, ret); user_buf 2096 sound/soc/soc-dapm.c char __user *user_buf, user_buf 2157 sound/soc/soc-dapm.c ret = simple_read_from_buffer(user_buf, count, ppos, buf, ret); user_buf 2169 sound/soc/soc-dapm.c static ssize_t dapm_bias_read_file(struct file *file, char __user *user_buf, user_buf 2194 sound/soc/soc-dapm.c return simple_read_from_buffer(user_buf, count, ppos, level, user_buf 3225 sound/soc/soc-pcm.c static ssize_t dpcm_state_read_file(struct file *file, char __user *user_buf, user_buf 3244 sound/soc/soc-pcm.c ret = simple_read_from_buffer(user_buf, count, ppos, buf, offset);