Lines Matching refs:user_buf
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
391 if (copy_from_user(buf, user_buf, len)) in write_file_spectral_count()
417 char __user *user_buf, in read_file_spectral_bins() argument
434 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in read_file_spectral_bins()
438 const char __user *user_buf, in write_file_spectral_bins() argument
447 if (copy_from_user(buf, user_buf, len)) in write_file_spectral_bins()