/kernel/trace/rv/ |
D | rv.c | 212 static ssize_t monitor_enable_read_data(struct file *filp, char __user *user_buf, size_t count, in monitor_enable_read_data() argument 220 return simple_read_from_buffer(user_buf, count, ppos, buff, strlen(buff)+1); in monitor_enable_read_data() 282 static ssize_t monitor_enable_write_data(struct file *filp, const char __user *user_buf, in monitor_enable_write_data() argument 289 retval = kstrtobool_from_user(user_buf, count, &val); in monitor_enable_write_data() 317 static ssize_t monitor_desc_read_data(struct file *filp, char __user *user_buf, size_t count, in monitor_desc_read_data() argument 327 return simple_read_from_buffer(user_buf, count, ppos, buff, strlen(buff) + 1); in monitor_desc_read_data() 512 static ssize_t enabled_monitors_write(struct file *filp, const char __user *user_buf, in enabled_monitors_write() argument 527 retval = simple_write_to_buffer(buff, sizeof(buff) - 1, ppos, user_buf, count); in enabled_monitors_write() 596 static ssize_t monitoring_on_read_data(struct file *filp, char __user *user_buf, in monitoring_on_read_data() argument 603 return simple_read_from_buffer(user_buf, count, ppos, buff, strlen(buff) + 1); in monitoring_on_read_data() [all …]
|
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() argument 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()
|
/kernel/locking/ |
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
|
D | qspinlock_stat.h | 36 ssize_t lockevent_read(struct file *file, char __user *user_buf, in lockevent_read() argument 94 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in lockevent_read()
|
/kernel/sched/ |
D | psi.c | 1428 static ssize_t psi_write(struct file *file, const char __user *user_buf, in psi_write() argument 1443 if (copy_from_user(buf, user_buf, buf_size)) in psi_write() 1471 static ssize_t psi_io_write(struct file *file, const char __user *user_buf, in psi_io_write() argument 1474 return psi_write(file, user_buf, nbytes, PSI_IO); in psi_io_write() 1477 static ssize_t psi_memory_write(struct file *file, const char __user *user_buf, in psi_memory_write() argument 1480 return psi_write(file, user_buf, nbytes, PSI_MEM); in psi_memory_write() 1483 static ssize_t psi_cpu_write(struct file *file, const char __user *user_buf, in psi_cpu_write() argument 1486 return psi_write(file, user_buf, nbytes, PSI_CPU); in psi_cpu_write() 1542 static ssize_t psi_irq_write(struct file *file, const char __user *user_buf, in psi_irq_write() argument 1545 return psi_write(file, user_buf, nbytes, PSI_IRQ); in psi_irq_write()
|
/kernel/irq/ |
D | debugfs.c | 194 static ssize_t irq_debug_write(struct file *file, const char __user *user_buf, in irq_debug_write() argument 202 if (copy_from_user(buf, user_buf, size)) in irq_debug_write()
|
/kernel/ |
D | kprobes.c | 2989 char __user *user_buf, size_t count, loff_t *ppos) in read_enabled_file_bool() argument 2999 return simple_read_from_buffer(user_buf, count, ppos, buf, 2); in read_enabled_file_bool() 3003 const char __user *user_buf, size_t count, loff_t *ppos) in write_enabled_file_bool() argument 3008 ret = kstrtobool_from_user(user_buf, count, &enable); in write_enabled_file_bool()
|
/kernel/dma/ |
D | debug.c | 685 static ssize_t filter_read(struct file *file, char __user *user_buf, in filter_read() argument 704 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in filter_read()
|