/drivers/acpi/ |
H A D | custom_method.c | 22 static ssize_t cm_write(struct file *file, const char __user * user_buf, argument 36 if (copy_from_user(&table, user_buf, 54 if (copy_from_user(buf + (*ppos), user_buf, count)) {
|
/drivers/net/wireless/ath/ath9k/ |
H A D | dfs_debug.c | 28 static ssize_t read_file_dfs(struct file *file, char __user *user_buf, argument 57 retval = simple_read_from_buffer(user_buf, count, ppos, buf, len);
|
H A D | htc_drv_debug.c | 19 static ssize_t read_file_tgt_int_stats(struct file *file, char __user *user_buf, argument 67 return simple_read_from_buffer(user_buf, count, ppos, buf, len); 77 static ssize_t read_file_tgt_tx_stats(struct file *file, char __user *user_buf, argument 137 return simple_read_from_buffer(user_buf, count, ppos, buf, len); 147 static ssize_t read_file_tgt_rx_stats(struct file *file, char __user *user_buf, argument 183 return simple_read_from_buffer(user_buf, count, ppos, buf, len); 193 static ssize_t read_file_xmit(struct file *file, char __user *user_buf, argument 235 return simple_read_from_buffer(user_buf, count, ppos, buf, len); 272 static ssize_t read_file_recv(struct file *file, char __user *user_buf, argument 351 retval = simple_read_from_buffer(user_buf, coun 366 read_file_slot(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 401 read_file_queue(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 448 read_file_debug(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 460 write_file_debug(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument 489 read_file_base_eeprom(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 638 read_4k_modal_eeprom(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 717 read_def_modal_eeprom(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 825 read_9287_modal_eeprom(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 897 read_file_modal_eeprom(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument [all...] |
H A D | debug.c | 30 static ssize_t ath9k_debugfs_read_buf(struct file *file, char __user *user_buf, argument 34 return simple_read_from_buffer(user_buf, count, ppos, buf, strlen(buf)); 45 static ssize_t read_file_debug(struct file *file, char __user *user_buf, argument 54 return simple_read_from_buffer(user_buf, count, ppos, buf, len); 57 static ssize_t write_file_debug(struct file *file, const char __user *user_buf, argument 67 if (copy_from_user(buf, user_buf, len)) 90 static ssize_t read_file_tx_chainmask(struct file *file, char __user *user_buf, argument 99 return simple_read_from_buffer(user_buf, count, ppos, buf, len); 102 static ssize_t write_file_tx_chainmask(struct file *file, const char __user *user_buf, argument 112 if (copy_from_user(buf, user_buf, le 133 read_file_rx_chainmask(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 145 write_file_rx_chainmask(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument 175 read_file_disable_ani(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 187 write_file_disable_ani(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument 226 read_file_dma(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 379 read_file_interrupt(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 486 read_file_xmit(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 588 read_file_stations(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 653 read_file_misc(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 748 read_file_reset(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 876 read_file_recv(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 1019 read_file_regidx(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 1030 write_file_regidx(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument 1058 read_file_regval(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 1074 write_file_regval(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument 1141 read_file_dump_nfcal(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 1194 read_file_base_eeprom(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 1222 read_file_modal_eeprom(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument [all...] |
/drivers/media/video/uvc/ |
H A D | uvc_debugfs.c | 47 static ssize_t uvc_debugfs_stats_read(struct file *file, char __user *user_buf, argument 52 return simple_read_from_buffer(user_buf, nbytes, ppos, buf->data,
|
/drivers/base/regmap/ |
H A D | regmap-debugfs.c | 31 char __user *user_buf, size_t count, 48 ret = simple_read_from_buffer(user_buf, count, ppos, buf, ret); 59 static ssize_t regmap_map_read_file(struct file *file, char __user *user_buf, argument 117 if (copy_to_user(user_buf, buf, buf_pos)) { 138 const char __user *user_buf, 148 if (copy_from_user(buf, user_buf, buf_size)) 178 char __user *user_buf, size_t count, 227 if (copy_to_user(user_buf, buf, buf_pos)) { 30 regmap_name_read_file(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 137 regmap_map_write_file(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument 177 regmap_access_read_file(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
|
/drivers/net/wireless/iwlegacy/ |
H A D | 3945-debug.c | 52 il3945_ucode_rx_stats_read(struct file *file, char __user *user_buf, argument 311 ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); 317 il3945_ucode_tx_stats_read(struct file *file, char __user *user_buf, argument 401 ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); 407 il3945_ucode_general_stats_read(struct file *file, char __user *user_buf, argument 502 ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos);
|
H A D | 4965-debug.c | 59 il4965_ucode_rx_stats_read(struct file *file, char __user *user_buf, argument 465 ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); 471 il4965_ucode_tx_stats_read(struct file *file, char __user *user_buf, argument 631 ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); 637 il4965_ucode_general_stats_read(struct file *file, char __user *user_buf, argument 743 ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos);
|
H A D | 3945-rs.c | 826 il3945_sta_dbgfs_stats_table_read(struct file *file, char __user *user_buf, argument 852 ret = simple_read_from_buffer(user_buf, count, ppos, buff, desc);
|
/drivers/s390/block/ |
H A D | dasd_proc.c | 271 const char __user *user_buf, size_t user_len, loff_t *pos) 279 buffer = dasd_get_user_string(user_buf, user_len); 270 dasd_stats_proc_write(struct file *file, const char __user *user_buf, size_t user_len, loff_t *pos) argument
|
/drivers/mfd/ |
H A D | aat2870-core.c | 265 static ssize_t aat2870_reg_read_file(struct file *file, char __user *user_buf, argument 278 ret = simple_read_from_buffer(user_buf, count, ppos, buf, ret); 286 const char __user *user_buf, size_t count, 297 if (copy_from_user(buf, user_buf, buf_size)) { 285 aat2870_reg_write_file(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
|
H A D | ab5500-debugfs.c | 589 const char __user *user_buf, 600 if (copy_from_user(buf, user_buf, buf_size)) 633 const char __user *user_buf, 644 if (copy_from_user(buf, user_buf, buf_size)) 685 const char __user *user_buf, 697 if (copy_from_user(buf, user_buf, buf_size)) 588 ab5500_bank_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument 632 ab5500_address_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument 684 ab5500_val_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
|
H A D | ab8500-debugfs.c | 419 const char __user *user_buf, 427 err = kstrtoul_from_user(user_buf, count, 0, &user_bank); 452 const char __user *user_buf, 460 err = kstrtoul_from_user(user_buf, count, 0, &user_address); 496 const char __user *user_buf, 504 err = kstrtoul_from_user(user_buf, count, 0, &user_val); 418 ab8500_bank_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument 451 ab8500_address_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument 495 ab8500_val_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
|
H A D | ab3100-core.c | 487 const char __user *user_buf, 501 if (copy_from_user(buf, user_buf, buf_size)) 486 ab3100_get_set_reg(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
|
/drivers/mtd/ubi/ |
H A D | debug.c | 295 static ssize_t dfs_file_read(struct file *file, char __user *user_buf, argument 332 count = simple_read_from_buffer(user_buf, count, ppos, buf, 2); 340 static ssize_t dfs_file_write(struct file *file, const char __user *user_buf, argument 357 if (copy_from_user(buf, user_buf, buf_size)) {
|
/drivers/s390/cio/ |
H A D | blacklist.c | 328 cio_ignore_write(struct file *file, const char __user *user_buf, argument 342 if (strncpy_from_user (buf, user_buf, user_len) < 0) {
|
/drivers/media/video/ivtv/ |
H A D | ivtv-fileops.c | 543 ssize_t ivtv_v4l2_write(struct file *filp, const char __user *user_buf, size_t count, loff_t *pos) argument 574 (const struct v4l2_sliced_vbi_data __user *)user_buf, elems); 602 rc = ivtv_yuv_udma_stream_frame(itv, (void __user *)user_buf); 608 user_buf += itv->dma_data_req_size; 647 rc = ivtv_buf_copy_from_user(s, buf, user_buf, 650 rc = ivtv_buf_copy_from_user(s, buf, user_buf, count); 657 user_buf += rc;
|
/drivers/net/caif/ |
H A D | caif_spi.c | 130 static ssize_t dbgfs_state(struct file *file, char __user *user_buf, argument 170 size = simple_read_from_buffer(user_buf, count, ppos, buf, len); 202 static ssize_t dbgfs_frame(struct file *file, char __user *user_buf, argument 233 size = simple_read_from_buffer(user_buf, count, ppos, buf, len);
|
/drivers/net/wireless/ath/ath5k/ |
H A D | debug.c | 190 static ssize_t read_file_beacon(struct file *file, char __user *user_buf, argument 235 return simple_read_from_buffer(user_buf, count, ppos, buf, len); 309 static ssize_t read_file_debug(struct file *file, char __user *user_buf, argument 334 return simple_read_from_buffer(user_buf, count, ppos, buf, len); 369 static ssize_t read_file_antenna(struct file *file, char __user *user_buf, argument 437 return simple_read_from_buffer(user_buf, count, ppos, buf, len); 480 static ssize_t read_file_misc(struct file *file, char __user *user_buf, argument 523 return simple_read_from_buffer(user_buf, count, ppos, buf, len); 535 static ssize_t read_file_frameerrors(struct file *file, char __user *user_buf, argument 608 return simple_read_from_buffer(user_buf, coun 651 read_file_ani(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 814 read_file_queue(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument [all...] |
/drivers/media/video/ |
H A D | saa6588.c | 154 static int block_to_user_buf(struct saa6588 *s, unsigned char __user *user_buf) argument 170 if (copy_to_user(user_buf, &s->buffer[s->rd_index], 3))
|
/drivers/misc/ |
H A D | lkdtm.c | 438 const char __user *user_buf, size_t count, loff_t *off) 449 if (copy_from_user(buf, user_buf, count)) { 473 static ssize_t lkdtm_debugfs_read(struct file *f, char __user *user_buf, argument 486 out = simple_read_from_buffer(user_buf, count, off, 548 static ssize_t direct_entry(struct file *f, const char __user *user_buf, argument 562 if (copy_from_user(buf, user_buf, count)) { 437 do_register_entry(enum cname which, struct file *f, const char __user *user_buf, size_t count, loff_t *off) argument
|
/drivers/net/wireless/libertas/ |
H A D | debugfs.c | 55 const char __user *user_buf, size_t count, 68 if (copy_from_user(buf, user_buf, buf_size)) { 124 const char __user *user_buf, size_t count, 136 if (copy_from_user(buf, user_buf, buf_size)) { 54 lbs_sleepparams_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument 123 lbs_host_sleep_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
|
/drivers/net/wireless/wl12xx/ |
H A D | debugfs.c | 244 static ssize_t gpio_power_read(struct file *file, char __user *user_buf, argument 255 return simple_read_from_buffer(user_buf, count, ppos, buf, res); 259 const char __user *user_buf, 266 ret = kstrtoul_from_user(user_buf, count, 10, &value); 291 const char __user *user_buf, 309 static ssize_t dynamic_ps_timeout_read(struct file *file, char __user *user_buf, argument 314 return wl1271_format_buffer(user_buf, count, 320 const char __user *user_buf, 328 ret = kstrtoul_from_user(user_buf, count, 10, &value); 373 static ssize_t forced_ps_read(struct file *file, char __user *user_buf, argument 258 gpio_power_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument 290 start_recovery_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument 319 dynamic_ps_timeout_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument 383 forced_ps_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument 442 split_scan_timeout_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 452 split_scan_timeout_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument 484 driver_state_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 567 vifs_state_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 676 dtim_interval_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 691 dtim_interval_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument 736 suspend_dtim_interval_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 752 suspend_dtim_interval_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument 792 beacon_interval_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 807 beacon_interval_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument 850 rx_streaming_interval_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument 905 rx_streaming_always_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument 960 beacon_filtering_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument [all...] |
/drivers/spi/ |
H A D | spi-dw.c | 67 static ssize_t spi_show_regs(struct file *file, char __user *user_buf, argument 118 ret = simple_read_from_buffer(user_buf, count, ppos, buf, len);
|
/drivers/usb/host/ |
H A D | ehci-dbg.c | 355 static ssize_t debug_lpm_read(struct file *file, char __user *user_buf, 910 static ssize_t debug_output(struct file *file, char __user *user_buf, argument 926 ret = simple_read_from_buffer(user_buf, len, offset, 977 static ssize_t debug_lpm_read(struct file *file, char __user *user_buf, argument 984 static ssize_t debug_lpm_write(struct file *file, const char __user *user_buf, argument 1000 if (copy_from_user(buf, user_buf, len))
|