Lines Matching refs:user_buf
689 static ssize_t read_file_spec_scan_ctl(struct file *file, char __user *user_buf, in read_file_spec_scan_ctl() argument
711 return simple_read_from_buffer(user_buf, count, ppos, mode, len); in read_file_spec_scan_ctl()
790 const char __user *user_buf, in write_file_spec_scan_ctl() argument
802 if (copy_from_user(buf, user_buf, len)) in write_file_spec_scan_ctl()
841 char __user *user_buf, in read_file_spectral_short_repeat() argument
849 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in read_file_spectral_short_repeat()
853 const char __user *user_buf, in write_file_spectral_short_repeat() argument
862 if (copy_from_user(buf, user_buf, len)) in write_file_spectral_short_repeat()
889 char __user *user_buf, in read_file_spectral_count() argument
897 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in read_file_spectral_count()
901 const char __user *user_buf, in write_file_spectral_count() argument
910 if (copy_from_user(buf, user_buf, len)) in write_file_spectral_count()
937 char __user *user_buf, in read_file_spectral_period() argument
945 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in read_file_spectral_period()
949 const char __user *user_buf, in write_file_spectral_period() argument
958 if (copy_from_user(buf, user_buf, len)) in write_file_spectral_period()
985 char __user *user_buf, in read_file_spectral_fft_period() argument
993 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in read_file_spectral_fft_period()
997 const char __user *user_buf, in write_file_spectral_fft_period() argument
1006 if (copy_from_user(buf, user_buf, len)) in write_file_spectral_fft_period()