| /linux/net/mac80211/ |
| H A D | debugfs.c | 75 char __user *user_buf, in aqm_read() argument 109 return simple_read_from_buffer(user_buf, count, ppos, in aqm_read() 114 const char __user *user_buf, in aqm_write() argument 124 if (copy_from_user(buf, user_buf, count)) in aqm_write() 149 char __user *user_buf, in airtime_flags_read() argument 165 return simple_read_from_buffer(user_buf, count, ppos, buf, in airtime_flags_read() 170 const char __user *user_buf, in airtime_flags_write() argument 176 ret = kstrtou16_from_user(user_buf, count, 0, &local->airtime_flags); in airtime_flags_write() 187 char __user *user_buf, in aql_pending_read() argument 208 return simple_read_from_buffer(user_buf, coun in aql_pending_read() 218 aql_txq_limit_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) aql_txq_limit_read() argument 247 aql_txq_limit_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) aql_txq_limit_write() argument 304 aql_enable_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) aql_enable_read() argument 316 aql_enable_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) aql_enable_write() argument 341 force_tx_status_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) force_tx_status_read() argument 356 force_tx_status_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) force_tx_status_write() argument 379 reset_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) reset_write() argument 468 hwflags_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) hwflags_read() argument 497 hwflags_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) hwflags_write() argument 537 misc_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) misc_read() argument 569 queues_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) queues_read() argument [all...] |
| /linux/drivers/net/wireless/intel/iwlegacy/ |
| H A D | debug.c | 124 char __user *user_buf, \ 129 const char __user *user_buf, \ 200 il_dbgfs_tx_stats_read(struct file *file, char __user *user_buf, size_t count, in il_dbgfs_tx_stats_read() argument 234 ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); in il_dbgfs_tx_stats_read() 241 const char __user *user_buf, size_t count, in il_dbgfs_clear_traffic_stats_write() argument 251 if (copy_from_user(buf, user_buf, buf_size)) in il_dbgfs_clear_traffic_stats_write() 261 il_dbgfs_rx_stats_read(struct file *file, char __user *user_buf, size_t count, in il_dbgfs_rx_stats_read() argument 296 ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); in il_dbgfs_rx_stats_read() 305 il_dbgfs_sram_read(struct file *file, char __user *user_buf, size_t count, in il_dbgfs_sram_read() argument 358 ret = simple_read_from_buffer(user_buf, coun in il_dbgfs_sram_read() 364 il_dbgfs_sram_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) il_dbgfs_sram_write() argument 389 il_dbgfs_stations_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) il_dbgfs_stations_read() argument 453 il_dbgfs_nvm_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) il_dbgfs_nvm_read() argument 497 il_dbgfs_channels_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) il_dbgfs_channels_read() argument 576 il_dbgfs_status_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) il_dbgfs_status_read() argument 637 il_dbgfs_interrupt_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) il_dbgfs_interrupt_read() argument 716 il_dbgfs_interrupt_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) il_dbgfs_interrupt_write() argument 737 il_dbgfs_qos_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) il_dbgfs_qos_read() argument 762 il_dbgfs_disable_ht40_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) il_dbgfs_disable_ht40_write() argument 788 il_dbgfs_disable_ht40_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) il_dbgfs_disable_ht40_read() argument 812 il_dbgfs_tx_queue_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) il_dbgfs_tx_queue_read() argument 859 il_dbgfs_rx_queue_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) il_dbgfs_rx_queue_read() argument 888 il_dbgfs_ucode_rx_stats_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) il_dbgfs_ucode_rx_stats_read() argument 897 il_dbgfs_ucode_tx_stats_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) il_dbgfs_ucode_tx_stats_read() argument 906 il_dbgfs_ucode_general_stats_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) il_dbgfs_ucode_general_stats_read() argument 915 il_dbgfs_sensitivity_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) il_dbgfs_sensitivity_read() argument 1014 il_dbgfs_chain_noise_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) il_dbgfs_chain_noise_read() argument 1085 il_dbgfs_power_save_status_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) il_dbgfs_power_save_status_read() argument 1110 il_dbgfs_clear_ucode_stats_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) il_dbgfs_clear_ucode_stats_write() argument 1134 il_dbgfs_rxon_flags_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) il_dbgfs_rxon_flags_read() argument 1147 il_dbgfs_rxon_filter_flags_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) il_dbgfs_rxon_filter_flags_read() argument 1161 il_dbgfs_fh_reg_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) il_dbgfs_fh_reg_read() argument 1183 il_dbgfs_missed_beacon_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) il_dbgfs_missed_beacon_read() argument 1200 il_dbgfs_missed_beacon_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) il_dbgfs_missed_beacon_write() argument 1225 il_dbgfs_force_reset_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) il_dbgfs_force_reset_read() argument 1256 il_dbgfs_force_reset_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) il_dbgfs_force_reset_write() argument 1269 il_dbgfs_wd_timeout_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) il_dbgfs_wd_timeout_write() argument [all...] |
| /linux/samples/hung_task/ |
| H A D | hung_task_tests.c | 37 static ssize_t read_dummy_mutex(struct file *file, char __user *user_buf, in read_dummy_mutex() argument 50 return simple_read_from_buffer(user_buf, count, ppos, dummy_string, in read_dummy_mutex() 55 static ssize_t read_dummy_semaphore(struct file *file, char __user *user_buf, in read_dummy_semaphore() argument 70 return simple_read_from_buffer(user_buf, count, ppos, dummy_string, in read_dummy_semaphore() 75 static ssize_t read_dummy_rwsem_read(struct file *file, char __user *user_buf, in read_dummy_rwsem_read() argument 90 return simple_read_from_buffer(user_buf, count, ppos, dummy_string, in read_dummy_rwsem_read() 95 static ssize_t read_dummy_rwsem_write(struct file *file, char __user *user_buf, in read_dummy_rwsem_write() argument 110 return simple_read_from_buffer(user_buf, count, ppos, dummy_string, in read_dummy_rwsem_write()
|
| /linux/drivers/net/wireless/ath/wcn36xx/ |
| H A D | debug.c | 28 static ssize_t read_file_bool_bmps(struct file *file, char __user *user_buf, in read_file_bool_bmps() argument 49 return simple_read_from_buffer(user_buf, count, ppos, buf, 2); in read_file_bool_bmps() 53 const char __user *user_buf, in write_file_bool_bmps() argument 64 if (copy_from_user(buf, user_buf, buf_size)) in write_file_bool_bmps() 100 const char __user *user_buf, in write_file_dump() argument 113 if (copy_from_user(buf, user_buf, buf_size)) in write_file_dump() 141 char __user *user_buf, in read_file_firmware_feature_caps() argument 165 ret = simple_read_from_buffer(user_buf, count, ppos, buf, len); in read_file_firmware_feature_caps()
|
| /linux/drivers/net/wireless/intel/iwlwifi/mld/ |
| H A D | debugfs.h | 36 char __user *user_buf, \ 50 return simple_read_from_buffer(user_buf, count, ppos, \ 102 const char __user *user_buf, \ 111 user_buf, count, \ 147 const char __user *user_buf, \ 155 user_buf, count, \ 163 char __user *user_buf, \ 173 user_buf, count, ppos, \ 180 return simple_read_from_buffer(user_buf, count, ppos, \ 219 const char __user *user_buf, \ [all …]
|
| /linux/drivers/net/wireless/ath/ath9k/ |
| H A D | htc_drv_debug.c | 19 static ssize_t read_file_tgt_int_stats(struct file *file, char __user *user_buf, in read_file_tgt_int_stats() argument 67 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in read_file_tgt_int_stats() 77 static ssize_t read_file_tgt_tx_stats(struct file *file, char __user *user_buf, in read_file_tgt_tx_stats() argument 137 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in read_file_tgt_tx_stats() 147 static ssize_t read_file_tgt_rx_stats(struct file *file, char __user *user_buf, in read_file_tgt_rx_stats() argument 183 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in read_file_tgt_rx_stats() 193 static ssize_t read_file_xmit(struct file *file, char __user *user_buf, in read_file_xmit() argument 235 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in read_file_xmit() 251 static ssize_t read_file_skb_rx(struct file *file, char __user *user_buf, in read_file_skb_rx() argument 276 retval = simple_read_from_buffer(user_buf, count, ppos, buf, len); in read_file_skb_rx() [all …]
|
| H A D | tx99.c | 159 static ssize_t read_file_tx99(struct file *file, char __user *user_buf, in read_file_tx99() argument 167 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in read_file_tx99() 170 static ssize_t write_file_tx99(struct file *file, const char __user *user_buf, in write_file_tx99() argument 185 ret = kstrtobool_from_user(user_buf, count, &start); in write_file_tx99() 222 char __user *user_buf, in read_file_tx99_power() argument 233 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in read_file_tx99_power() 237 const char __user *user_buf, in write_file_tx99_power() argument 244 r = kstrtou8_from_user(user_buf, count, 0, &tx_power); in write_file_tx99_power()
|
| H A D | common-debug.c | 20 static ssize_t read_file_modal_eeprom(struct file *file, char __user *user_buf, in read_file_modal_eeprom() argument 34 retval = simple_read_from_buffer(user_buf, count, ppos, buf, len); in read_file_modal_eeprom() 56 static ssize_t read_file_base_eeprom(struct file *file, char __user *user_buf, in read_file_base_eeprom() argument 70 retval = simple_read_from_buffer(user_buf, count, ppos, buf, len); in read_file_base_eeprom() 124 static ssize_t read_file_recv(struct file *file, char __user *user_buf, in read_file_recv() argument 166 retval = simple_read_from_buffer(user_buf, count, ppos, buf, len); in read_file_recv() 188 static ssize_t read_file_phy_err(struct file *file, char __user *user_buf, in read_file_phy_err() argument 242 retval = simple_read_from_buffer(user_buf, count, ppos, buf, len); in read_file_phy_err()
|
| H A D | common-spectral.c | 690 static ssize_t read_file_spec_scan_ctl(struct file *file, char __user *user_buf, in read_file_spec_scan_ctl() argument 712 return simple_read_from_buffer(user_buf, count, ppos, mode, len); in read_file_spec_scan_ctl() 791 const char __user *user_buf, in write_file_spec_scan_ctl() argument 803 if (copy_from_user(buf, user_buf, len)) in write_file_spec_scan_ctl() 851 char __user *user_buf, in read_file_spectral_short_repeat() 859 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in write_file_spectral_short_repeat() 863 const char __user *user_buf, in write_file_spectral_short_repeat() 870 ret = kstrtoul_from_user(user_buf, count, 0, &val); in write_file_spectral_short_repeat() 894 char __user *user_buf, in read_file_spectral_count() 902 return simple_read_from_buffer(user_buf, coun in write_file_spectral_count() 842 read_file_spectral_short_repeat(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) read_file_spectral_short_repeat() argument 854 write_file_spectral_short_repeat(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) write_file_spectral_short_repeat() argument 885 read_file_spectral_count(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) read_file_spectral_count() argument 897 write_file_spectral_count(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) write_file_spectral_count() argument 927 read_file_spectral_period(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) read_file_spectral_period() argument 939 write_file_spectral_period(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) write_file_spectral_period() argument 970 read_file_spectral_fft_period(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) read_file_spectral_fft_period() argument 982 write_file_spectral_fft_period(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) write_file_spectral_fft_period() argument [all...] |
| H A D | dfs_debug.c | 34 static ssize_t read_file_dfs(struct file *file, char __user *user_buf, in read_file_dfs() argument 89 retval = simple_read_from_buffer(user_buf, count, ppos, buf, len); in read_file_dfs() 97 static ssize_t write_file_dfs(struct file *file, const char __user *user_buf, in write_file_dfs() argument 104 ret = kstrtoul_from_user(user_buf, count, 0, &val); in write_file_dfs() 114 const char __user *user_buf, in write_file_simulate_radar() argument
|
| /linux/drivers/accel/ivpu/ |
| H A D | ivpu_debugfs.c | 170 fw_dyndbg_fops_write(struct file *file, const char __user *user_buf, size_t size, loff_t *pos) in fw_dyndbg_fops_write() argument 179 ret = strncpy_from_user(buffer, user_buf, size); in fw_dyndbg_fops_write() 208 fw_log_fops_write(struct file *file, const char __user *user_buf, size_t size, loff_t *pos) in fw_log_fops_write() argument 230 fw_profiling_freq_fops_write(struct file *file, const char __user *user_buf, in fw_profiling_freq_fops_write() argument 237 ret = kstrtobool_from_user(user_buf, size, &enable); in fw_profiling_freq_fops_write() 257 fw_trace_destination_mask_fops_write(struct file *file, const char __user *user_buf, in fw_trace_destination_mask_fops_write() argument 265 ret = kstrtou32_from_user(user_buf, size, 0, &trace_destination_mask); in fw_trace_destination_mask_fops_write() 284 fw_trace_hw_comp_mask_fops_write(struct file *file, const char __user *user_buf, in fw_trace_hw_comp_mask_fops_write() argument 292 ret = kstrtou64_from_user(user_buf, size, 0, &trace_hw_component_mask); in fw_trace_hw_comp_mask_fops_write() 311 fw_trace_level_fops_write(struct file *file, const char __user *user_buf, size_t size, loff_t *pos) in fw_trace_level_fops_write() argument [all …]
|
| /linux/net/bluetooth/ |
| H A D | hci_debugfs.c | 32 char __user *user_buf, \ 41 return simple_read_from_buffer(user_buf, count, ppos, buf, 2); \ 45 const char __user *user_buf, \ 55 err = kstrtobool_from_user(user_buf, count, &enable); \ 274 static ssize_t use_debug_keys_read(struct file *file, char __user *user_buf, in use_debug_keys_read() 283 return simple_read_from_buffer(user_buf, count, ppos, buf, 2); in use_debug_keys_read() 293 static ssize_t sc_only_mode_read(struct file *file, char __user *user_buf, in sc_only_mode_read() 302 return simple_read_from_buffer(user_buf, count, ppos, buf, 2); 430 static ssize_t ssp_debug_mode_read(struct file *file, char __user *user_buf, in ssp_debug_mode_read() 439 return simple_read_from_buffer(user_buf, coun 273 use_debug_keys_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) use_debug_keys_read() argument 291 sc_only_mode_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) sc_only_mode_read() argument 427 ssp_debug_mode_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) ssp_debug_mode_read() argument 500 force_bredr_smp_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) force_bredr_smp_read() argument 513 force_bredr_smp_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) force_bredr_smp_write() argument 745 force_static_address_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) force_static_address_read() argument 758 force_static_address_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) force_static_address_write() argument 1147 force_no_mitm_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) force_no_mitm_read() argument 1160 force_no_mitm_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) force_no_mitm_write() argument 1268 dut_mode_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) dut_mode_read() argument 1280 dut_mode_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) dut_mode_write() argument 1324 vendor_diag_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) vendor_diag_read() argument 1336 vendor_diag_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) vendor_diag_write() argument [all...] |
| /linux/drivers/crypto/intel/qat/qat_common/ |
| H A D | adf_heartbeat_dbgfs.c | 44 static ssize_t adf_hb_status_read(struct file *file, char __user *user_buf, in adf_hb_status_read() argument 66 return simple_read_from_buffer(user_buf, count, ppos, ret_str, len + 1); in adf_hb_status_read() 75 static ssize_t adf_hb_cfg_read(struct file *file, char __user *user_buf, in adf_hb_cfg_read() argument 90 return simple_read_from_buffer(user_buf, count, ppos, timer_str, in adf_hb_cfg_read() 94 static ssize_t adf_hb_cfg_write(struct file *file, const char __user *user_buf, in adf_hb_cfg_write() argument 111 ppos, user_buf, count); in adf_hb_cfg_write() 159 const char __user *user_buf, in adf_hb_error_inject_write() argument 170 if (copy_from_user(buf, user_buf, count)) in adf_hb_error_inject_write()
|
| /linux/arch/mips/mm/ |
| H A D | sc-debugfs.c | 13 static ssize_t sc_prefetch_read(struct file *file, char __user *user_buf, in sc_prefetch_read() argument 23 return simple_read_from_buffer(user_buf, count, ppos, buf, 2); in sc_prefetch_read() 27 const char __user *user_buf, in sc_prefetch_write() argument 33 err = kstrtobool_from_user(user_buf, count, &enabled); in sc_prefetch_write()
|
| /linux/drivers/base/regmap/ |
| H A D | regmap-debugfs.c | 36 char __user *user_buf, size_t count, in regmap_name_read_file() argument 54 return simple_read_from_buffer(user_buf, count, ppos, buf, ret); in regmap_name_read_file() 209 unsigned int to, char __user *user_buf, in regmap_next_readable_reg() 265 if (copy_to_user(user_buf, buf, buf_pos)) { in regmap_read_debugfs() 277 static ssize_t regmap_map_read_file(struct file *file, char __user *user_buf, in regmap_read_debugfs() 282 return regmap_read_debugfs(map, 0, map->max_register, user_buf, in regmap_read_debugfs() 295 const char __user *user_buf, 306 if (copy_from_user(buf, user_buf, buf_size)) in regmap_map_write_file() 337 static ssize_t regmap_range_read_file(struct file *file, char __user *user_buf, 344 user_buf, coun 217 regmap_read_debugfs(struct regmap * map,unsigned int from,unsigned int to,char __user * user_buf,size_t count,loff_t * ppos) regmap_read_debugfs() argument 285 regmap_map_read_file(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) regmap_map_read_file() argument 303 regmap_map_write_file(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) regmap_map_write_file() argument 345 regmap_range_read_file(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) regmap_range_read_file() argument 362 regmap_reg_ranges_read_file(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) regmap_reg_ranges_read_file() argument 461 regmap_cache_only_write_file(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) regmap_cache_only_write_file() argument 503 regmap_cache_bypass_write_file(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) regmap_cache_bypass_write_file() argument [all...] |
| /linux/drivers/net/wireless/ath/ath10k/ |
| H A D | spectral.c | 273 static ssize_t read_file_spec_scan_ctl(struct file *file, char __user *user_buf, in read_file_spec_scan_ctl() argument 298 return simple_read_from_buffer(user_buf, count, ppos, mode, len); in read_file_spec_scan_ctl() 302 const char __user *user_buf, in write_file_spec_scan_ctl() argument 311 if (copy_from_user(buf, user_buf, len)) in write_file_spec_scan_ctl() 365 char __user *user_buf, in read_file_spectral_count() argument 378 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in read_file_spectral_count() 382 const char __user *user_buf, in write_file_spectral_count() argument 389 ret = kstrtoul_from_user(user_buf, count, 0, &val); in write_file_spectral_count() 412 char __user *user_buf, in read_file_spectral_bins() argument 429 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in read_file_spectral_bins() [all …]
|
| /linux/drivers/gpio/ |
| H A D | gpio-virtuser.c | 150 char __user *user_buf, in gpio_virtuser_value_array_do_read() argument 176 return simple_read_from_buffer(user_buf, size, ppos, buf, in gpio_virtuser_value_array_do_read() 228 const char __user *user_buf, in gpio_virtuser_value_array_do_write() argument 243 ret = simple_write_to_buffer(buf, count, ppos, user_buf, count); in gpio_virtuser_value_array_do_write() 264 char __user *user_buf, in gpio_virtuser_value_array_read() argument 267 return gpio_virtuser_value_array_do_read(file, user_buf, count, ppos, in gpio_virtuser_value_array_read() 272 const char __user *user_buf, in gpio_virtuser_value_array_write() argument 275 return gpio_virtuser_value_array_do_write(file, user_buf, count, ppos, in gpio_virtuser_value_array_write() 288 gpio_virtuser_value_array_atomic_read(struct file *file, char __user *user_buf, in gpio_virtuser_value_array_atomic_read() argument 291 return gpio_virtuser_value_array_do_read(file, user_buf, coun in gpio_virtuser_value_array_atomic_read() 297 gpio_virtuser_value_array_atomic_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) gpio_virtuser_value_array_atomic_write() argument 335 gpio_virtuser_direction_do_read(struct file * file,char __user * user_buf,size_t size,loff_t * ppos,bool atomic) gpio_virtuser_direction_do_read() argument 390 gpio_virtuser_direction_do_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos,bool atomic) gpio_virtuser_direction_do_write() argument 432 gpio_virtuser_direction_read(struct file * file,char __user * user_buf,size_t size,loff_t * ppos) gpio_virtuser_direction_read() argument 440 gpio_virtuser_direction_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) gpio_virtuser_direction_write() argument 456 gpio_virtuser_direction_atomic_read(struct file * file,char __user * user_buf,size_t size,loff_t * ppos) gpio_virtuser_direction_atomic_read() argument 464 gpio_virtuser_direction_atomic_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) gpio_virtuser_direction_atomic_write() argument 601 gpio_virtuser_consumer_read(struct file * file,char __user * user_buf,size_t size,loff_t * ppos) gpio_virtuser_consumer_read() argument 617 gpio_virtuser_consumer_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) gpio_virtuser_consumer_write() argument [all...] |
| /linux/drivers/net/wireless/silabs/wfx/ |
| H A D | debug.c | 205 static ssize_t wfx_send_pds_write(struct file *file, const char __user *user_buf, in wfx_send_pds_write() argument 216 buf = memdup_user(user_buf, count); in wfx_send_pds_write() 239 static ssize_t wfx_send_hif_msg_write(struct file *file, const char __user *user_buf, in wfx_send_hif_msg_write() argument 258 request = memdup_user(user_buf, count); in wfx_send_hif_msg_write() 272 static ssize_t wfx_send_hif_msg_read(struct file *file, char __user *user_buf, in wfx_send_hif_msg_read() argument 286 if (copy_to_user(user_buf, context->reply, count)) in wfx_send_hif_msg_read()
|
| /linux/kernel/locking/ |
| H A D | lock_events.c | 61 ssize_t __weak lockevent_read(struct file *file, char __user *user_buf, in lockevent_read() argument 80 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in lockevent_read() 88 static ssize_t lockevent_write(struct file *file, const char __user *user_buf, in lockevent_write() argument
|
| /linux/drivers/net/wireless/ath/ath5k/ |
| H A D | debug.c | 175 static ssize_t read_file_beacon(struct file *file, char __user *user_buf, in read_file_beacon() argument 220 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in read_file_beacon() 296 static ssize_t read_file_debug(struct file *file, char __user *user_buf, in read_file_debug() argument 321 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in read_file_debug() 358 static ssize_t read_file_antenna(struct file *file, char __user *user_buf, in read_file_antenna() argument 426 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in read_file_antenna() 471 static ssize_t read_file_misc(struct file *file, char __user *user_buf, in read_file_misc() argument 514 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in read_file_misc() 526 static ssize_t read_file_frameerrors(struct file *file, char __user *user_buf, in read_file_frameerrors() argument 599 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in read_file_frameerrors() [all …]
|
| /linux/drivers/net/wireless/ath/ath12k/ |
| H A D | debugfs.c | 14 const char __user *user_buf, in ath12k_write_simulate_radar() argument 37 char __user *user_buf, in ath12k_read_simulate_fw_crash() argument 44 return simple_read_from_buffer(user_buf, count, ppos, buf, strlen(buf)); in ath12k_read_simulate_fw_crash() 49 const char __user *user_buf, in ath12k_write_simulate_fw_crash() argument 63 rc = simple_write_to_buffer(buf, sizeof(buf) - 1, ppos, user_buf, count); in ath12k_write_simulate_fw_crash() 107 const char __user *user_buf, in ath12k_write_tpc_stats_type() argument 114 ret = kstrtou8_from_user(user_buf, count, 0, &type); in ath12k_write_tpc_stats_type() 784 char __user *user_buf, in ath12k_read_tpc_stats() argument 790 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath12k_read_tpc_stats() 998 char __user *user_buf, in ath12k_read_link_stats() argument 1026 ath12k_debugfs_dump_device_dp_stats(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) ath12k_debugfs_dump_device_dp_stats() argument 1318 ath12k_read_vdev_stats(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) ath12k_read_vdev_stats() argument 1385 ath12k_read_bcn_stats(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) ath12k_read_bcn_stats() argument 1446 ath12k_read_pdev_stats(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) ath12k_read_pdev_stats() argument 1465 ath12k_write_simulate_incumbent_signal_interference(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) ath12k_write_simulate_incumbent_signal_interference() argument [all...] |
| /linux/drivers/platform/chrome/wilco_ec/ |
| H A D | debugfs.c | 95 static ssize_t raw_write(struct file *file, const char __user *user_buf, in raw_write() argument 108 user_buf, count); in raw_write() 135 static ssize_t raw_read(struct file *file, char __user *user_buf, size_t count, in raw_read() argument 150 return simple_read_from_buffer(user_buf, count, ppos, in raw_read()
|
| /linux/drivers/remoteproc/ |
| H A D | remoteproc_debugfs.c | 72 const char __user *user_buf, size_t count, in rproc_coredump_write() argument 82 ret = copy_from_user(buf, user_buf, count); in rproc_coredump_write() 209 rproc_recovery_write(struct file *filp, const char __user *user_buf, in rproc_recovery_write() argument 219 ret = copy_from_user(buf, user_buf, count); in rproc_recovery_write() 252 rproc_crash_write(struct file *filp, const char __user *user_buf, in rproc_crash_write() argument 259 ret = kstrtouint_from_user(user_buf, count, 0, &type); in rproc_crash_write()
|
| /linux/drivers/mtd/ubi/ |
| H A D | debug.c | 328 static ssize_t dfs_file_read(struct file *file, char __user *user_buf, in dfs_file_read() argument 357 count = simple_read_from_buffer(user_buf, count, ppos, in dfs_file_read() 362 count = simple_read_from_buffer(user_buf, count, ppos, in dfs_file_read() 367 count = simple_read_from_buffer(user_buf, count, ppos, in dfs_file_read() 372 count = simple_read_from_buffer(user_buf, count, ppos, in dfs_file_read() 387 count = simple_read_from_buffer(user_buf, count, ppos, buf, 2); in dfs_file_read() 395 static ssize_t dfs_file_write(struct file *file, const char __user *user_buf, in dfs_file_write() argument 412 if (copy_from_user(buf, user_buf, buf_size)) { in dfs_file_write()
|
| /linux/arch/s390/kernel/ |
| H A D | debug.c | 71 static ssize_t debug_output(struct file *file, char __user *user_buf, 73 static ssize_t debug_input(struct file *file, const char __user *user_buf, 85 struct file *file, const char __user *user_buf, 91 struct file *file, const char __user *user_buf, 94 struct file *file, const char __user *user_buf, 638 char __user *user_buf, /* user buffer */ in debug_output() argument 663 if (copy_to_user(user_buf + count, p_info->temp_buf in debug_output() 687 static ssize_t debug_input(struct file *file, const char __user *user_buf, in debug_input() argument 697 p_info->view, file, user_buf, in debug_input() 1538 static inline char *debug_get_user_string(const char __user *user_buf, in debug_get_user_string() argument [all …]
|