Lines Matching refs:user_buf

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()
565 static ssize_t read_file_tgt_stats(struct file *file, char __user *user_buf, in read_file_tgt_stats() argument
684 ret_cnt = simple_read_from_buffer(user_buf, count, ppos, buf, len); in read_file_tgt_stats()
704 char __user *user_buf, in read_file_credit_dist_stats() argument
750 ret_cnt = simple_read_from_buffer(user_buf, count, ppos, buf, len); in read_file_credit_dist_stats()
782 char __user *user_buf, in ath6kl_endpoint_stats_read() argument
831 ret_cnt = simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath6kl_endpoint_stats_read()
837 const char __user *user_buf, in ath6kl_endpoint_stats_write() argument
846 ret = kstrtou32_from_user(user_buf, count, 0, &val); in ath6kl_endpoint_stats_write()
892 static ssize_t ath6kl_regread_read(struct file *file, char __user *user_buf, in ath6kl_regread_read() argument
906 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath6kl_regread_read()
910 const char __user *user_buf, in ath6kl_regread_write() argument
916 if (kstrtoul_from_user(user_buf, count, 0, &reg_addr)) in ath6kl_regread_write()
1003 static ssize_t ath6kl_regdump_read(struct file *file, char __user *user_buf, in ath6kl_regdump_read() argument
1007 return simple_read_from_buffer(user_buf, count, ppos, buf, strlen(buf)); in ath6kl_regdump_read()
1025 const char __user *user_buf, in ath6kl_lrssi_roam_write() argument
1032 if (kstrtoul_from_user(user_buf, count, 0, &lrssi_roam_threshold)) in ath6kl_lrssi_roam_write()
1045 char __user *user_buf, in ath6kl_lrssi_roam_read() argument
1054 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath6kl_lrssi_roam_read()
1066 char __user *user_buf, in ath6kl_regwrite_read() argument
1076 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath6kl_regwrite_read()
1080 const char __user *user_buf, in ath6kl_regwrite_write() argument
1090 if (copy_from_user(buf, user_buf, len)) in ath6kl_regwrite_write()
1160 static ssize_t ath6kl_roam_table_read(struct file *file, char __user *user_buf, in ath6kl_roam_table_read() argument
1218 ret_cnt = simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath6kl_roam_table_read()
1232 const char __user *user_buf, in ath6kl_force_roam_write() argument
1242 if (copy_from_user(buf, user_buf, len)) in ath6kl_force_roam_write()
1264 const char __user *user_buf, in ath6kl_roam_mode_write() argument
1274 if (copy_from_user(buf, user_buf, len)) in ath6kl_roam_mode_write()
1308 static ssize_t ath6kl_keepalive_read(struct file *file, char __user *user_buf, in ath6kl_keepalive_read() argument
1317 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath6kl_keepalive_read()
1321 const char __user *user_buf, in ath6kl_keepalive_write() argument
1328 ret = kstrtou8_from_user(user_buf, count, 0, &val); in ath6kl_keepalive_write()
1353 char __user *user_buf, in ath6kl_disconnect_timeout_read() argument
1362 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath6kl_disconnect_timeout_read()
1366 const char __user *user_buf, in ath6kl_disconnect_timeout_write() argument
1373 ret = kstrtou8_from_user(user_buf, count, 0, &val); in ath6kl_disconnect_timeout_write()
1393 const char __user *user_buf, in ath6kl_create_qos_write() argument
1410 if (copy_from_user(buf, user_buf, len)) in ath6kl_create_qos_write()
1571 const char __user *user_buf, in ath6kl_delete_qos_write() argument
1587 if (copy_from_user(buf, user_buf, len)) in ath6kl_delete_qos_write()
1618 const char __user *user_buf, in ath6kl_bgscan_int_write() argument
1632 if (copy_from_user(buf, user_buf, len)) in ath6kl_bgscan_int_write()
1658 const char __user *user_buf, in ath6kl_listen_int_write() argument
1672 if (copy_from_user(buf, user_buf, len)) in ath6kl_listen_int_write()
1690 char __user *user_buf, in ath6kl_listen_int_read() argument
1704 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath6kl_listen_int_read()
1716 const char __user *user_buf, in ath6kl_power_params_write() argument
1727 if (copy_from_user(buf, user_buf, len)) in ath6kl_power_params_write()