| /linux/drivers/net/wireless/ti/wlcore/ |
| H A D | debugfs.c | 124 char __user *user_buf, \ 128 return wl1271_format_buffer(user_buf, count, \ 134 const char __user *user_buf, \ 141 ret = kstrtoul_from_user(user_buf, count, 10, &value); \ 175 static ssize_t gpio_power_read(struct file *file, char __user *user_buf, in gpio_power_read() argument 186 return simple_read_from_buffer(user_buf, count, ppos, buf, res); in gpio_power_read() 190 const char __user *user_buf, in gpio_power_write() argument 197 ret = kstrtoul_from_user(user_buf, count, 10, &value); in gpio_power_write() 222 const char __user *user_buf, in start_recovery_write() argument 240 static ssize_t dynamic_ps_timeout_read(struct file *file, char __user *user_buf, in dynamic_ps_timeout_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, count, ppos, buf, pos); in il_dbgfs_sram_read() [all …]
|
| /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, 124 if (copy_from_user(buf, user_buf, count)) in aqm_write() 149 char __user *user_buf, 165 return simple_read_from_buffer(user_buf, count, ppos, buf, in airtime_flags_read() 170 const char __user *user_buf, 179 if (copy_from_user(buf, user_buf, count)) in airtime_flags_write() 200 char __user *user_buf, 219 return simple_read_from_buffer(user_buf, coun in aql_pending_read() 116 aqm_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) aqm_write() argument 151 airtime_flags_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) airtime_flags_read() argument 172 airtime_flags_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) airtime_flags_write() argument 202 aql_pending_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) aql_pending_read() argument 231 aql_txq_limit_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) aql_txq_limit_read() argument 258 aql_txq_limit_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) aql_txq_limit_write() argument 310 aql_enable_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) aql_enable_read() argument 322 aql_enable_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) aql_enable_write() argument 360 force_tx_status_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) force_tx_status_read() argument 375 force_tx_status_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) force_tx_status_write() argument 410 reset_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) reset_write() argument 498 hwflags_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) hwflags_read() argument 527 hwflags_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) hwflags_write() argument 567 misc_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) misc_read() argument 599 queues_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) queues_read() argument [all...] |
| /linux/drivers/net/wireless/ath/ath6kl/ |
| H A D | debug.c | 300 static ssize_t read_file_war_stats(struct file *file, char __user *user_buf, in read_file_war_stats() argument 323 ret_cnt = simple_read_from_buffer(user_buf, count, ppos, buf, len); in read_file_war_stats() 398 static ssize_t ath6kl_fwlog_read(struct file *file, char __user *user_buf, in ath6kl_fwlog_read() argument 434 ret_cnt = simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath6kl_fwlog_read() 450 char __user *user_buf, in ath6kl_fwlog_block_read() argument 501 not_copied = copy_to_user(user_buf, buf, len); in ath6kl_fwlog_block_read() 525 static ssize_t ath6kl_fwlog_mask_read(struct file *file, char __user *user_buf, in ath6kl_fwlog_mask_read() argument 534 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath6kl_fwlog_mask_read() 538 const char __user *user_buf, in ath6kl_fwlog_mask_write() argument 544 ret = kstrtou32_from_user(user_buf, count, 0, &ar->debug.fwlog_mask); in ath6kl_fwlog_mask_write() [all …]
|
| /linux/drivers/net/wireless/ath/ath10k/ |
| H A D | debug.c | 154 char __user *user_buf, in ath10k_read_wmi_services() argument 191 ret_cnt = simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_read_wmi_services() 447 static ssize_t ath10k_fw_stats_read(struct file *file, char __user *user_buf, in ath10k_fw_stats_read() argument 453 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_fw_stats_read() 465 char __user *user_buf, in ath10k_debug_fw_reset_stats_read() argument 490 ret = simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_debug_fw_reset_stats_read() 525 char __user *user_buf, in ath10k_read_simulate_fw_crash() argument 535 return simple_read_from_buffer(user_buf, count, ppos, buf, strlen(buf)); in ath10k_read_simulate_fw_crash() 546 const char __user *user_buf, in ath10k_write_simulate_fw_crash() argument 558 rc = simple_write_to_buffer(buf, sizeof(buf) - 1, ppos, user_buf, count); in ath10k_write_simulate_fw_crash() [all …]
|
| H A D | debugfs_sta.c | 178 char __user *user_buf, in ath10k_dbg_sta_read_aggr_mode() argument 193 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_dbg_sta_read_aggr_mode() 197 const char __user *user_buf, in ath10k_dbg_sta_write_aggr_mode() argument 206 if (kstrtouint_from_user(user_buf, count, 0, &aggr_mode)) in ath10k_dbg_sta_write_aggr_mode() 240 const char __user *user_buf, in ath10k_dbg_sta_write_addba() argument 251 user_buf, count); in ath10k_dbg_sta_write_addba() 291 const char __user *user_buf, in ath10k_dbg_sta_write_addba_resp() argument 302 user_buf, count); in ath10k_dbg_sta_write_addba_resp() 341 const char __user *user_buf, in ath10k_dbg_sta_write_delba() argument 352 user_buf, count); in ath10k_dbg_sta_write_delba() [all …]
|
| 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/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/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/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 | 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 | 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-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() 842 char __user *user_buf, in read_file_spectral_short_repeat() argument 850 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in read_file_spectral_short_repeat() 854 const char __user *user_buf, in write_file_spectral_short_repeat() argument 861 ret = kstrtoul_from_user(user_buf, count, 0, &val); in write_file_spectral_short_repeat() 885 char __user *user_buf, in read_file_spectral_count() argument 893 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in read_file_spectral_count() [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 | 159 fw_dyndbg_fops_write(struct file *file, const char __user *user_buf, size_t size, loff_t *pos) in fw_dyndbg_fops_write() argument 168 ret = strncpy_from_user(buffer, user_buf, size); in fw_dyndbg_fops_write() 197 fw_log_fops_write(struct file *file, const char __user *user_buf, size_t size, loff_t *pos) in fw_log_fops_write() argument 219 fw_profiling_freq_fops_write(struct file *file, const char __user *user_buf, in fw_profiling_freq_fops_write() argument 226 ret = kstrtobool_from_user(user_buf, size, &enable); in fw_profiling_freq_fops_write() 246 fw_trace_destination_mask_fops_write(struct file *file, const char __user *user_buf, in fw_trace_destination_mask_fops_write() argument 254 ret = kstrtou32_from_user(user_buf, size, 0, &trace_destination_mask); in fw_trace_destination_mask_fops_write() 273 fw_trace_hw_comp_mask_fops_write(struct file *file, const char __user *user_buf, in fw_trace_hw_comp_mask_fops_write() argument 281 ret = kstrtou64_from_user(user_buf, size, 0, &trace_hw_component_mask); in fw_trace_hw_comp_mask_fops_write() 300 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 | 35 char __user *user_buf, \ 44 return simple_read_from_buffer(user_buf, count, ppos, buf, 2); \ 48 const char __user *user_buf, \ 58 err = kstrtobool_from_user(user_buf, count, &enable); \ 276 static ssize_t use_debug_keys_read(struct file *file, char __user *user_buf, in use_debug_keys_read() argument 285 return simple_read_from_buffer(user_buf, count, ppos, buf, 2); in use_debug_keys_read() 294 static ssize_t sc_only_mode_read(struct file *file, char __user *user_buf, in sc_only_mode_read() argument 303 return simple_read_from_buffer(user_buf, count, ppos, buf, 2); in sc_only_mode_read() 430 static ssize_t ssp_debug_mode_read(struct file *file, char __user *user_buf, in ssp_debug_mode_read() argument 439 return simple_read_from_buffer(user_buf, count, ppos, buf, 2); in ssp_debug_mode_read() [all …]
|
| /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/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/drivers/base/regmap/ |
| H A D | regmap-debugfs.c | 35 char __user *user_buf, size_t count, in regmap_name_read_file() argument 56 ret = simple_read_from_buffer(user_buf, count, ppos, buf, ret); in regmap_name_read_file() 216 unsigned int to, char __user *user_buf, in regmap_read_debugfs() argument 272 if (copy_to_user(user_buf, buf, buf_pos)) { in regmap_read_debugfs() 284 static ssize_t regmap_map_read_file(struct file *file, char __user *user_buf, in regmap_map_read_file() argument 289 return regmap_read_debugfs(map, 0, map->max_register, user_buf, in regmap_map_read_file() 302 const char __user *user_buf, in regmap_map_write_file() argument 313 if (copy_from_user(buf, user_buf, buf_size)) in regmap_map_write_file() 344 static ssize_t regmap_range_read_file(struct file *file, char __user *user_buf, in regmap_range_read_file() argument 351 user_buf, count, ppos); in regmap_range_read_file() [all …]
|
| /linux/drivers/bluetooth/ |
| H A D | hci_vhci.c | 112 static ssize_t force_suspend_read(struct file *file, char __user *user_buf, in force_suspend_read() argument 121 return simple_read_from_buffer(user_buf, count, ppos, buf, 2); in force_suspend_read() 136 const char __user *user_buf, in force_suspend_write() argument 143 err = kstrtobool_from_user(user_buf, count, &enable); in force_suspend_write() 164 static ssize_t force_wakeup_read(struct file *file, char __user *user_buf, in force_wakeup_read() argument 173 return simple_read_from_buffer(user_buf, count, ppos, buf, 2); in force_wakeup_read() 177 const char __user *user_buf, size_t count, in force_wakeup_write() argument 184 err = kstrtobool_from_user(user_buf, count, &enable); in force_wakeup_write() 230 static ssize_t aosp_capable_read(struct file *file, char __user *user_buf, in aosp_capable_read() argument 239 return simple_read_from_buffer(user_buf, count, ppos, buf, 2); in aosp_capable_read() [all …]
|
| /linux/drivers/net/wireless/ath/ath11k/ |
| H A D | debugfs_sta.c | 137 char __user *user_buf, in ath11k_dbg_sta_dump_tx_stats() argument 229 retval = simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath11k_dbg_sta_dump_tx_stats() 244 char __user *user_buf, in ath11k_dbg_sta_dump_rx_stats() argument 327 retval = simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath11k_dbg_sta_dump_rx_stats() 393 char __user *user_buf, in ath11k_dbg_sta_read_htt_peer_stats() argument 402 return simple_read_from_buffer(user_buf, count, ppos, buf, length); in ath11k_dbg_sta_read_htt_peer_stats() 481 const char __user *user_buf, in ath11k_dbg_sta_write_delba() argument 492 user_buf, count); in ath11k_dbg_sta_write_delba() 532 const char __user *user_buf, in ath11k_dbg_sta_write_addba_resp() argument 543 user_buf, count); in ath11k_dbg_sta_write_addba_resp() [all …]
|
| H A D | debugfs.c | 180 char __user *user_buf, in ath11k_read_pdev_stats() argument 186 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath11k_read_pdev_stats() 251 char __user *user_buf, in ath11k_read_vdev_stats() argument 257 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath11k_read_vdev_stats() 335 char __user *user_buf, in ath11k_read_bcn_stats() argument 341 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath11k_read_bcn_stats() 353 char __user *user_buf, in ath11k_read_simulate_fw_crash() argument 361 return simple_read_from_buffer(user_buf, count, ppos, buf, strlen(buf)); in ath11k_read_simulate_fw_crash() 372 const char __user *user_buf, in ath11k_write_simulate_fw_crash() argument 394 rc = simple_write_to_buffer(buf, sizeof(buf) - 1, ppos, user_buf, count); in ath11k_write_simulate_fw_crash() [all …]
|
| /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/gpio/ |
| H A D | gpio-virtuser.c | 153 char __user *user_buf, in gpio_virtuser_value_array_do_read() argument 179 return simple_read_from_buffer(user_buf, size, ppos, buf, in gpio_virtuser_value_array_do_read() 231 const char __user *user_buf, in gpio_virtuser_value_array_do_write() argument 246 ret = simple_write_to_buffer(buf, count, ppos, user_buf, count); in gpio_virtuser_value_array_do_write() 267 char __user *user_buf, in gpio_virtuser_value_array_read() argument 270 return gpio_virtuser_value_array_do_read(file, user_buf, count, ppos, in gpio_virtuser_value_array_read() 275 const char __user *user_buf, in gpio_virtuser_value_array_write() argument 278 return gpio_virtuser_value_array_do_write(file, user_buf, count, ppos, in gpio_virtuser_value_array_write() 291 gpio_virtuser_value_array_atomic_read(struct file *file, char __user *user_buf, in gpio_virtuser_value_array_atomic_read() argument 294 return gpio_virtuser_value_array_do_read(file, user_buf, count, ppos, in gpio_virtuser_value_array_atomic_read() [all …]
|
| /linux/drivers/misc/lkdtm/ |
| H A D | core.c | 34 static ssize_t lkdtm_debugfs_read(struct file *f, char __user *user_buf, 36 static ssize_t direct_entry(struct file *f, const char __user *user_buf, 42 const char __user *user_buf, 228 const char __user *user_buf, in lkdtm_debugfs_entry() argument 242 if (copy_from_user(buf, user_buf, count)) { in lkdtm_debugfs_entry() 267 static ssize_t lkdtm_debugfs_read(struct file *f, char __user *user_buf, in lkdtm_debugfs_read() argument 291 out = simple_read_from_buffer(user_buf, count, off, in lkdtm_debugfs_read() 304 static ssize_t direct_entry(struct file *f, const char __user *user_buf, in direct_entry() argument 319 if (copy_from_user(buf, user_buf, count)) { in direct_entry()
|