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 | 1304 static ssize_t psi_write(struct file *file, const char __user *user_buf, in psi_write() argument 1319 if (copy_from_user(buf, user_buf, buf_size)) in psi_write() 1347 static ssize_t psi_io_write(struct file *file, const char __user *user_buf, in psi_io_write() argument 1350 return psi_write(file, user_buf, nbytes, PSI_IO); in psi_io_write() 1353 static ssize_t psi_memory_write(struct file *file, const char __user *user_buf, in psi_memory_write() argument 1356 return psi_write(file, user_buf, nbytes, PSI_MEM); in psi_memory_write() 1359 static ssize_t psi_cpu_write(struct file *file, const char __user *user_buf, in psi_cpu_write() argument 1362 return psi_write(file, user_buf, nbytes, PSI_CPU); in psi_cpu_write()
|
/kernel/irq/ |
D | debugfs.c | 191 static ssize_t irq_debug_write(struct file *file, const char __user *user_buf, in irq_debug_write() argument 199 if (copy_from_user(buf, user_buf, size)) in irq_debug_write()
|
/kernel/ |
D | kprobes.c | 2915 char __user *user_buf, size_t count, loff_t *ppos) in read_enabled_file_bool() argument 2925 return simple_read_from_buffer(user_buf, count, ppos, buf, 2); in read_enabled_file_bool() 2929 const char __user *user_buf, size_t count, loff_t *ppos) in write_enabled_file_bool() argument 2936 if (copy_from_user(buf, user_buf, buf_size)) in write_enabled_file_bool()
|
/kernel/dma/ |
D | debug.c | 688 static ssize_t filter_read(struct file *file, char __user *user_buf, in filter_read() argument 707 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in filter_read()
|