/kernel/trace/ |
D | trace.c | 690 int trace_get_user(struct trace_parser *parser, const char __user *ubuf, in trace_get_user() argument 700 ret = get_user(ch, ubuf++); in trace_get_user() 714 ret = get_user(ch, ubuf++); in trace_get_user() 739 ret = get_user(ch, ubuf++); in trace_get_user() 762 ssize_t trace_seq_to_user(struct trace_seq *s, char __user *ubuf, size_t cnt) in trace_seq_to_user() argument 776 ret = copy_to_user(ubuf, s->buffer + s->readpos, cnt); in trace_seq_to_user() 3052 tracing_write_stub(struct file *filp, const char __user *ubuf, in tracing_write_stub() argument 3099 tracing_cpumask_read(struct file *filp, char __user *ubuf, in tracing_cpumask_read() argument 3112 count = simple_read_from_buffer(ubuf, count, ppos, mask_str, NR_CPUS+1); in tracing_cpumask_read() 3121 tracing_cpumask_write(struct file *filp, const char __user *ubuf, in tracing_cpumask_write() argument [all …]
|
D | trace_events.c | 492 ftrace_event_write(struct file *file, const char __user *ubuf, in ftrace_event_write() argument 510 read = trace_get_user(&parser, ubuf, cnt, ppos); in ftrace_event_write() 623 event_enable_read(struct file *filp, char __user *ubuf, size_t cnt, in event_enable_read() argument 639 return simple_read_from_buffer(ubuf, cnt, ppos, buf, strlen(buf)); in event_enable_read() 643 event_enable_write(struct file *filp, const char __user *ubuf, size_t cnt, in event_enable_write() argument 653 ret = kstrtoul_from_user(ubuf, cnt, 10, &val); in event_enable_write() 679 system_enable_read(struct file *filp, char __user *ubuf, size_t cnt, in system_enable_read() argument 719 ret = simple_read_from_buffer(ubuf, cnt, ppos, buf, 2); in system_enable_read() 725 system_enable_write(struct file *filp, const char __user *ubuf, size_t cnt, in system_enable_write() argument 734 ret = kstrtoul_from_user(ubuf, cnt, 10, &val); in system_enable_write() [all …]
|
D | trace_stack.c | 200 stack_max_size_read(struct file *filp, char __user *ubuf, in stack_max_size_read() argument 210 return simple_read_from_buffer(ubuf, count, ppos, buf, r); in stack_max_size_read() 214 stack_max_size_write(struct file *filp, const char __user *ubuf, in stack_max_size_write() argument 222 ret = kstrtoul_from_user(ubuf, count, 10, &val); in stack_max_size_write()
|
D | ftrace.c | 943 ftrace_profile_write(struct file *filp, const char __user *ubuf, in ftrace_profile_write() argument 949 ret = kstrtoul_from_user(ubuf, cnt, 10, &val); in ftrace_profile_write() 988 ftrace_profile_read(struct file *filp, char __user *ubuf, in ftrace_profile_read() argument 995 return simple_read_from_buffer(ubuf, cnt, ppos, buf, r); in ftrace_profile_read() 3281 ftrace_regex_write(struct file *file, const char __user *ubuf, in ftrace_regex_write() argument 3303 read = trace_get_user(parser, ubuf, cnt, ppos); in ftrace_regex_write() 3320 ftrace_filter_write(struct file *file, const char __user *ubuf, in ftrace_filter_write() argument 3323 return ftrace_regex_write(file, ubuf, cnt, ppos, 1); in ftrace_filter_write() 3327 ftrace_notrace_write(struct file *file, const char __user *ubuf, in ftrace_notrace_write() argument 3330 return ftrace_regex_write(file, ubuf, cnt, ppos, 0); in ftrace_notrace_write() [all …]
|
D | trace_mmiotrace.c | 140 char __user *ubuf, size_t cnt, loff_t *ppos) in mmio_read() argument 169 ret = trace_seq_to_user(s, ubuf, cnt); in mmio_read()
|
D | trace_functions_graph.c | 1462 graph_depth_write(struct file *filp, const char __user *ubuf, size_t cnt, in graph_depth_write() argument 1468 ret = kstrtoul_from_user(ubuf, cnt, 10, &val); in graph_depth_write() 1480 graph_depth_read(struct file *filp, char __user *ubuf, size_t cnt, in graph_depth_read() argument 1488 return simple_read_from_buffer(ubuf, cnt, ppos, buf, n); in graph_depth_read()
|
D | trace.h | 344 struct file *filp, char __user *ubuf, 828 extern int trace_get_user(struct trace_parser *parser, const char __user *ubuf,
|
/kernel/sched/ |
D | core.c | 223 sched_feat_write(struct file *filp, const char __user *ubuf, in sched_feat_write() argument 233 if (copy_from_user(&buf, ubuf, cnt)) in sched_feat_write()
|