Searched refs:user_buf (Results 1 – 6 of 6) sorted by relevance
/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 | 1191 static ssize_t psi_write(struct file *file, const char __user *user_buf, in psi_write() argument 1203 if (copy_from_user(buf, user_buf, buf_size)) in psi_write() 1221 static ssize_t psi_io_write(struct file *file, const char __user *user_buf, in psi_io_write() argument 1224 return psi_write(file, user_buf, nbytes, PSI_IO); in psi_io_write() 1227 static ssize_t psi_memory_write(struct file *file, const char __user *user_buf, in psi_memory_write() argument 1230 return psi_write(file, user_buf, nbytes, PSI_MEM); in psi_memory_write() 1233 static ssize_t psi_cpu_write(struct file *file, const char __user *user_buf, in psi_cpu_write() argument 1236 return psi_write(file, user_buf, nbytes, PSI_CPU); in psi_cpu_write()
|
/kernel/irq/ |
D | debugfs.c | 180 static ssize_t irq_debug_write(struct file *file, const char __user *user_buf, in irq_debug_write() argument 188 if (copy_from_user(buf, user_buf, size)) in irq_debug_write()
|
/kernel/ |
D | kprobes.c | 2545 char __user *user_buf, size_t count, loff_t *ppos) in read_enabled_file_bool() argument 2555 return simple_read_from_buffer(user_buf, count, ppos, buf, 2); in read_enabled_file_bool() 2559 const char __user *user_buf, size_t count, loff_t *ppos) in write_enabled_file_bool() argument 2566 if (copy_from_user(buf, user_buf, buf_size)) in write_enabled_file_bool()
|
/kernel/dma/ |
D | debug.c | 727 static ssize_t filter_read(struct file *file, char __user *user_buf, in filter_read() argument 746 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in filter_read()
|