Home
last modified time | relevance | path

Searched refs:user_buf (Results 1 – 6 of 6) sorted by relevance

/kernel/locking/
Dlock_events.c61 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
Dqspinlock_stat.h36 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/
Dpsi.c1191 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/
Ddebugfs.c180 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/
Dkprobes.c2545 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/
Ddebug.c727 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()