/kernel/linux/linux-5.10/drivers/misc/lkdtm/ |
H A D | core.c | 33 static ssize_t lkdtm_debugfs_read(struct file *f, char __user *user_buf, 35 static ssize_t direct_entry(struct file *f, const char __user *user_buf, 41 const char __user *user_buf, 290 const char __user *user_buf, in lkdtm_debugfs_entry() 304 if (copy_from_user(buf, user_buf, count)) { in lkdtm_debugfs_entry() 329 static ssize_t lkdtm_debugfs_read(struct file *f, char __user *user_buf, in lkdtm_debugfs_read() argument 346 out = simple_read_from_buffer(user_buf, count, off, in lkdtm_debugfs_read() 359 static ssize_t direct_entry(struct file *f, const char __user *user_buf, in direct_entry() argument 373 if (copy_from_user(buf, user_buf, count)) { in direct_entry() 289 lkdtm_debugfs_entry(struct file *f, const char __user *user_buf, size_t count, loff_t *off) lkdtm_debugfs_entry() argument
|
/kernel/linux/linux-5.10/drivers/acpi/ |
H A D | custom_method.c | 22 static ssize_t cm_write(struct file *file, const char __user * user_buf, in cm_write() argument 41 if (copy_from_user(&table, user_buf, in cm_write() 64 if (copy_from_user(buf + (*ppos), user_buf, count)) { in cm_write()
|
/kernel/linux/linux-6.6/drivers/acpi/ |
H A D | custom_method.c | 22 static ssize_t cm_write(struct file *file, const char __user *user_buf, in cm_write() argument 41 if (copy_from_user(&table, user_buf, in cm_write() 64 if (copy_from_user(buf + (*ppos), user_buf, count)) { in cm_write()
|
/third_party/ltp/testcases/kernel/syscalls/add_key/ |
H A D | add_key01.c | 21 static char *user_buf, *user_buf1; variable 40 {"user", "cde", &user_buf, 32767, 1, 113 {&user_buf, .size = 32767},
|
/kernel/linux/linux-5.10/drivers/thunderbolt/ |
H A D | debugfs.c | 55 static void *validate_and_copy_from_user(const void __user *user_buf, in validate_and_copy_from_user() argument 64 if (!access_ok(user_buf, *count)) in validate_and_copy_from_user() 72 if (copy_from_user(buf, user_buf, nbytes)) { in validate_and_copy_from_user() 124 const char __user *user_buf, size_t count, in regs_write() 132 buf = validate_and_copy_from_user(user_buf, &count); in regs_write() 166 static ssize_t port_regs_write(struct file *file, const char __user *user_buf, in port_regs_write() argument 172 return regs_write(port->sw, port, user_buf, count, ppos); in port_regs_write() 175 static ssize_t switch_regs_write(struct file *file, const char __user *user_buf, in switch_regs_write() argument 181 return regs_write(sw, NULL, user_buf, count, ppos); in switch_regs_write() 207 static ssize_t counters_write(struct file *file, const char __user *user_buf, in counters_write() argument 123 regs_write(struct tb_switch *sw, struct tb_port *port, const char __user *user_buf, size_t count, loff_t *ppos) regs_write() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath11k/ |
H A D | debugfs.c | 299 char __user *user_buf, in ath11k_read_pdev_stats() 305 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath11k_read_pdev_stats() 370 char __user *user_buf, in ath11k_read_vdev_stats() 376 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath11k_read_vdev_stats() 454 char __user *user_buf, in ath11k_read_bcn_stats() 460 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath11k_read_bcn_stats() 472 char __user *user_buf, in ath11k_read_simulate_fw_crash() 480 return simple_read_from_buffer(user_buf, count, ppos, buf, strlen(buf)); in ath11k_read_simulate_fw_crash() 491 const char __user *user_buf, in ath11k_write_simulate_fw_crash() 513 rc = simple_write_to_buffer(buf, sizeof(buf) - 1, ppos, user_buf, coun in ath11k_write_simulate_fw_crash() 298 ath11k_read_pdev_stats(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) ath11k_read_pdev_stats() argument 369 ath11k_read_vdev_stats(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) ath11k_read_vdev_stats() argument 453 ath11k_read_bcn_stats(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) ath11k_read_bcn_stats() argument 471 ath11k_read_simulate_fw_crash(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) ath11k_read_simulate_fw_crash() argument 490 ath11k_write_simulate_fw_crash(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) ath11k_write_simulate_fw_crash() argument 777 ath11k_debugfs_dump_soc_dp_stats(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) ath11k_debugfs_dump_soc_dp_stats() argument 854 ath11k_write_fw_dbglog(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) ath11k_write_fw_dbglog() argument 942 ath11k_read_sram_dump(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) ath11k_read_sram_dump() argument 1222 ath11k_write_simulate_radar(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) ath11k_write_simulate_radar() argument 1241 ath11k_debug_dump_dbr_entries(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) ath11k_debug_dump_dbr_entries() argument 1404 ath11k_write_ps_timekeeper_enable(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) ath11k_write_ps_timekeeper_enable() argument 1435 ath11k_read_ps_timekeeper_enable(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) ath11k_read_ps_timekeeper_enable() argument 1469 ath11k_write_reset_ps_duration(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) ath11k_write_reset_ps_duration() argument 1522 ath11k_write_ps_state_enable(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) ath11k_write_ps_state_enable() argument 1568 ath11k_read_ps_state_enable(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) ath11k_read_ps_state_enable() argument [all...] |
/kernel/linux/linux-5.10/drivers/staging/wfx/ |
H A D | debug.c | 206 const char __user *user_buf, in wfx_send_pds_write() 217 buf = memdup_user(user_buf, count); in wfx_send_pds_write() 241 const char __user *user_buf, in wfx_send_hif_msg_write() 259 request = memdup_user(user_buf, count); in wfx_send_hif_msg_write() 274 static ssize_t wfx_send_hif_msg_read(struct file *file, char __user *user_buf, in wfx_send_hif_msg_read() argument 289 if (copy_to_user(user_buf, context->reply, count)) in wfx_send_hif_msg_read() 205 wfx_send_pds_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) wfx_send_pds_write() argument 240 wfx_send_hif_msg_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) wfx_send_hif_msg_write() argument
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-6.6/kernel/trace/rv/ |
H A D | rv_reactors.c | 187 monitor_reactors_write(struct file *file, const char __user *user_buf, in monitor_reactors_write() argument 204 retval = simple_write_to_buffer(buff, sizeof(buff) - 1, ppos, user_buf, count); in monitor_reactors_write() 375 char __user *user_buf, in reacting_on_read_data() 382 return simple_read_from_buffer(user_buf, count, ppos, buff, strlen(buff)+1); in reacting_on_read_data() 399 static ssize_t reacting_on_write_data(struct file *filp, const char __user *user_buf, in reacting_on_write_data() argument 405 retval = kstrtobool_from_user(user_buf, count, &val); in reacting_on_write_data() 374 reacting_on_read_data(struct file *filp, char __user *user_buf, size_t count, loff_t *ppos) reacting_on_read_data() argument
|
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath11k/ |
H A D | debugfs_sta.c | 211 char __user *user_buf, in ath11k_dbg_sta_dump_tx_stats() 303 retval = simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath11k_dbg_sta_dump_tx_stats() 318 char __user *user_buf, in ath11k_dbg_sta_dump_rx_stats() 401 retval = simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath11k_dbg_sta_dump_rx_stats() 461 char __user *user_buf, in ath11k_dbg_sta_read_htt_peer_stats() 470 return simple_read_from_buffer(user_buf, count, ppos, buf, length); in ath11k_dbg_sta_read_htt_peer_stats() 549 const char __user *user_buf, in ath11k_dbg_sta_write_delba() 560 user_buf, count); in ath11k_dbg_sta_write_delba() 600 const char __user *user_buf, in ath11k_dbg_sta_write_addba_resp() 611 user_buf, coun in ath11k_dbg_sta_write_addba_resp() 210 ath11k_dbg_sta_dump_tx_stats(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) ath11k_dbg_sta_dump_tx_stats() argument 317 ath11k_dbg_sta_dump_rx_stats(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) ath11k_dbg_sta_dump_rx_stats() argument 460 ath11k_dbg_sta_read_htt_peer_stats(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) ath11k_dbg_sta_read_htt_peer_stats() argument 548 ath11k_dbg_sta_write_delba(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) ath11k_dbg_sta_write_delba() argument 599 ath11k_dbg_sta_write_addba_resp(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) ath11k_dbg_sta_write_addba_resp() argument 649 ath11k_dbg_sta_write_addba(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) ath11k_dbg_sta_write_addba() argument 700 ath11k_dbg_sta_read_aggr_mode(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) ath11k_dbg_sta_read_aggr_mode() argument 720 ath11k_dbg_sta_write_aggr_mode(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) ath11k_dbg_sta_write_aggr_mode() argument 765 ath11k_write_htt_peer_stats_reset(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) ath11k_write_htt_peer_stats_reset() argument [all...] |
H A D | spectral.c | 268 char __user *user_buf, in ath11k_read_file_spec_scan_ctl() 293 return simple_read_from_buffer(user_buf, count, ppos, mode, len); in ath11k_read_file_spec_scan_ctl() 297 const char __user *user_buf, in ath11k_write_file_spec_scan_ctl() 306 if (copy_from_user(buf, user_buf, len)) in ath11k_write_file_spec_scan_ctl() 362 char __user *user_buf, in ath11k_read_file_spectral_count() 375 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath11k_read_file_spectral_count() 379 const char __user *user_buf, in ath11k_write_file_spectral_count() 388 if (copy_from_user(buf, user_buf, len)) in ath11k_write_file_spectral_count() 414 char __user *user_buf, in ath11k_read_file_spectral_bins() 430 return simple_read_from_buffer(user_buf, coun in ath11k_read_file_spectral_bins() 267 ath11k_read_file_spec_scan_ctl(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) ath11k_read_file_spec_scan_ctl() argument 296 ath11k_write_file_spec_scan_ctl(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) ath11k_write_file_spec_scan_ctl() argument 361 ath11k_read_file_spectral_count(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) ath11k_read_file_spectral_count() argument 378 ath11k_write_file_spectral_count(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) ath11k_write_file_spectral_count() argument 413 ath11k_read_file_spectral_bins(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) ath11k_read_file_spectral_bins() argument 433 ath11k_write_file_spectral_bins(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) ath11k_write_file_spectral_bins() argument [all...] |
/kernel/linux/linux-5.10/net/bluetooth/ |
H A D | hci_debugfs.c | 34 char __user *user_buf, \ 43 return simple_read_from_buffer(user_buf, count, ppos, buf, 2); \ 47 const char __user *user_buf, \ 57 err = kstrtobool_from_user(user_buf, count, &enable); \ 275 static ssize_t use_debug_keys_read(struct file *file, char __user *user_buf, in use_debug_keys_read() argument 284 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() argument 302 return simple_read_from_buffer(user_buf, count, ppos, buf, 2); in sc_only_mode_read() 429 static ssize_t ssp_debug_mode_read(struct file *file, char __user *user_buf, in ssp_debug_mode_read() argument 438 return simple_read_from_buffer(user_buf, coun in ssp_debug_mode_read() 696 force_static_address_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) force_static_address_read() argument 709 force_static_address_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) force_static_address_write() argument 1098 force_no_mitm_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) force_no_mitm_read() argument 1111 force_no_mitm_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) force_no_mitm_write() argument [all...] |
/kernel/linux/linux-5.10/arch/s390/kernel/ |
H A D | debug.c | 69 static ssize_t debug_output(struct file *file, char __user *user_buf, 71 static ssize_t debug_input(struct file *file, const char __user *user_buf, 82 struct file *file, const char __user *user_buf, 87 struct file *file, const char __user *user_buf, 90 struct file *file, const char __user *user_buf, 456 char __user *user_buf, /* user buffer */ in debug_output() 481 if (copy_to_user(user_buf + count, p_info->temp_buf in debug_output() 505 static ssize_t debug_input(struct file *file, const char __user *user_buf, in debug_input() argument 515 p_info->view, file, user_buf, in debug_input() 1209 static inline char *debug_get_user_string(const char __user *user_buf, in debug_get_user_string() argument 455 debug_output(struct file *file, char __user *user_buf, size_t len, loff_t *offset) debug_output() argument 1259 debug_input_pages_fn(debug_info_t *id, struct debug_view *view, struct file *file, const char __user *user_buf, size_t user_len, loff_t *offset) debug_input_pages_fn() argument 1313 debug_input_level_fn(debug_info_t *id, struct debug_view *view, struct file *file, const char __user *user_buf, size_t user_len, loff_t *offset) debug_input_level_fn() argument 1383 debug_input_flush_fn(debug_info_t *id, struct debug_view *view, struct file *file, const char __user *user_buf, size_t user_len, loff_t *offset) debug_input_flush_fn() argument [all...] |
/kernel/linux/linux-6.6/arch/s390/kernel/ |
H A D | debug.c | 69 static ssize_t debug_output(struct file *file, char __user *user_buf, 71 static ssize_t debug_input(struct file *file, const char __user *user_buf, 82 struct file *file, const char __user *user_buf, 87 struct file *file, const char __user *user_buf, 90 struct file *file, const char __user *user_buf, 456 char __user *user_buf, /* user buffer */ in debug_output() 481 if (copy_to_user(user_buf + count, p_info->temp_buf in debug_output() 505 static ssize_t debug_input(struct file *file, const char __user *user_buf, in debug_input() argument 515 p_info->view, file, user_buf, in debug_input() 1256 static inline char *debug_get_user_string(const char __user *user_buf, in debug_get_user_string() argument 455 debug_output(struct file *file, char __user *user_buf, size_t len, loff_t *offset) debug_output() argument 1306 debug_input_pages_fn(debug_info_t *id, struct debug_view *view, struct file *file, const char __user *user_buf, size_t user_len, loff_t *offset) debug_input_pages_fn() argument 1360 debug_input_level_fn(debug_info_t *id, struct debug_view *view, struct file *file, const char __user *user_buf, size_t user_len, loff_t *offset) debug_input_level_fn() argument 1430 debug_input_flush_fn(debug_info_t *id, struct debug_view *view, struct file *file, const char __user *user_buf, size_t user_len, loff_t *offset) debug_input_flush_fn() argument [all...] |
/kernel/linux/linux-5.10/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
|
/kernel/linux/linux-6.6/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
|
/kernel/linux/linux-5.10/drivers/net/wireless/ti/wl18xx/ |
H A D | debugfs.c | 178 static ssize_t conf_read(struct file *file, char __user *user_buf, in conf_read() argument 208 ret = simple_read_from_buffer(user_buf, count, ppos, buf, len); in conf_read() 221 const char __user *user_buf, in clear_fw_stats_write() 249 const char __user *user_buf, in radar_detection_write() 256 ret = kstrtou8_from_user(user_buf, count, 10, &channel); in radar_detection_write() 291 const char __user *user_buf, in dynamic_fw_traces_write() 298 ret = kstrtoul_from_user(user_buf, count, 0, &value); in dynamic_fw_traces_write() 344 const char __user *user_buf, in radar_debug_mode_write() 352 ret = kstrtoul_from_user(user_buf, count, 10, &value); in radar_debug_mode_write() 220 clear_fw_stats_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) clear_fw_stats_write() argument 248 radar_detection_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) radar_detection_write() argument 290 dynamic_fw_traces_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) dynamic_fw_traces_write() argument 343 radar_debug_mode_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) radar_debug_mode_write() argument
|
/kernel/linux/linux-6.6/drivers/net/wireless/ti/wl18xx/ |
H A D | debugfs.c | 178 static ssize_t conf_read(struct file *file, char __user *user_buf, in conf_read() argument 208 ret = simple_read_from_buffer(user_buf, count, ppos, buf, len); in conf_read() 221 const char __user *user_buf, in clear_fw_stats_write() 249 const char __user *user_buf, in radar_detection_write() 256 ret = kstrtou8_from_user(user_buf, count, 10, &channel); in radar_detection_write() 289 const char __user *user_buf, in dynamic_fw_traces_write() 296 ret = kstrtoul_from_user(user_buf, count, 0, &value); in dynamic_fw_traces_write() 340 const char __user *user_buf, in radar_debug_mode_write() 348 ret = kstrtoul_from_user(user_buf, count, 10, &value); in radar_debug_mode_write() 220 clear_fw_stats_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) clear_fw_stats_write() argument 248 radar_detection_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) radar_detection_write() argument 288 dynamic_fw_traces_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) dynamic_fw_traces_write() argument 339 radar_debug_mode_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) radar_debug_mode_write() argument
|
/kernel/linux/linux-5.10/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, coun in read_file_frameerrors() 644 read_file_ani(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) read_file_ani() argument 809 read_file_queue(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) read_file_queue() argument 951 read_file_eeprom(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) read_file_eeprom() argument [all...] |
/kernel/linux/linux-6.6/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, coun in read_file_frameerrors() 644 read_file_ani(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) read_file_ani() argument 809 read_file_queue(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) read_file_queue() argument 951 read_file_eeprom(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) read_file_eeprom() argument [all...] |
/device/soc/rockchip/common/vendor/drivers/gpu/arm/midgard/ipa/ |
H A D | mali_kbase_ipa_debugfs.c | 73 static ssize_t param_string_get(struct file *file, char __user *user_buf, size_t count, loff_t *ppos)
in param_string_get() argument 81 ret = simple_read_from_buffer(user_buf, count, ppos, param->addr.str, len);
in param_string_get() 87 static ssize_t param_string_set(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos)
in param_string_set() argument 103 if (copy_from_user(param->addr.str, user_buf, buf_size)) {
in param_string_set()
|
/device/soc/rockchip/common/kernel/drivers/gpu/arm/midgard/ipa/ |
H A D | mali_kbase_ipa_debugfs.c | 74 static ssize_t param_string_get(struct file *file, char __user *user_buf, in param_string_get() argument 83 ret = simple_read_from_buffer(user_buf, count, ppos, in param_string_get() 90 static ssize_t param_string_set(struct file *file, const char __user *user_buf, in param_string_set() argument 107 if (copy_from_user(param->addr.str, user_buf, buf_size)) { in param_string_set()
|
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/ |
H A D | debug_sta.c | 23 static ssize_t read_file_node_aggr(struct file *file, char __user *user_buf, in read_file_node_aggr() argument 74 retval = simple_read_from_buffer(user_buf, count, ppos, buf, len); in read_file_node_aggr() 168 static ssize_t read_file_node_recv(struct file *file, char __user *user_buf, in read_file_node_recv() argument 229 retval = simple_read_from_buffer(user_buf, count, ppos, buf, len); in read_file_node_recv()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-6.6/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()
|