/kernel/ |
D | sysctl.c | 213 void __user *buffer, size_t *lenp, loff_t *ppos); 215 void __user *buffer, size_t *lenp, loff_t *ppos); 220 void __user *buffer, size_t *lenp, loff_t *ppos); 224 void __user *buffer, size_t *lenp, loff_t *ppos); 227 void __user *buffer, size_t *lenp, loff_t *ppos); 230 void __user *buffer, size_t *lenp, loff_t *ppos); 238 loff_t *ppos) in sysrq_sysctl_handler() argument 242 error = proc_dointvec(table, write, buffer, lenp, ppos); in sysrq_sysctl_handler() 2011 size_t *lenp, loff_t *ppos) in _proc_do_string() argument 2029 if (*ppos > len) in _proc_do_string() [all …]
|
D | watchdog.c | 681 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_watchdog_common() argument 693 err = proc_dointvec_minmax(table, write, buffer, lenp, ppos); in proc_watchdog_common() 696 err = proc_dointvec_minmax(table, write, buffer, lenp, ppos); in proc_watchdog_common() 708 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_watchdog() argument 711 table, write, buffer, lenp, ppos); in proc_watchdog() 718 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_nmi_watchdog() argument 723 table, write, buffer, lenp, ppos); in proc_nmi_watchdog() 730 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_soft_watchdog() argument 733 table, write, buffer, lenp, ppos); in proc_soft_watchdog() 740 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_watchdog_thresh() argument [all …]
|
D | user_namespace.c | 640 static void *m_start(struct seq_file *seq, loff_t *ppos, in m_start() argument 643 loff_t pos = *ppos; in m_start() 656 static void *uid_m_start(struct seq_file *seq, loff_t *ppos) in uid_m_start() argument 660 return m_start(seq, ppos, &ns->uid_map); in uid_m_start() 663 static void *gid_m_start(struct seq_file *seq, loff_t *ppos) in gid_m_start() argument 667 return m_start(seq, ppos, &ns->gid_map); in gid_m_start() 670 static void *projid_m_start(struct seq_file *seq, loff_t *ppos) in projid_m_start() argument 674 return m_start(seq, ppos, &ns->projid_map); in projid_m_start() 845 size_t count, loff_t *ppos, in map_write() argument 859 if ((*ppos != 0) || (count >= PAGE_SIZE)) in map_write() [all …]
|
D | stackleak.c | 23 void __user *buffer, size_t *lenp, loff_t *ppos) in stack_erasing_sysctl() argument 31 ret = proc_dointvec_minmax(table, write, buffer, lenp, ppos); in stack_erasing_sysctl()
|
D | relay.c | 1120 loff_t *ppos) in relay_file_read() argument 1134 if (!relay_file_read_avail(buf, *ppos)) in relay_file_read() 1137 read_start = relay_file_read_start_pos(*ppos, buf); in relay_file_read() 1153 *ppos = relay_file_read_end_pos(buf, read_start, ret); in relay_file_read() 1194 loff_t *ppos, in subbuf_splice_actor() argument 1203 uint64_t pos = (uint64_t) *ppos; in subbuf_splice_actor() 1286 loff_t *ppos, in relay_file_splice_read() argument 1299 ret = subbuf_splice_actor(in, ppos, pipe, len, flags, &nonpad_ret); in relay_file_splice_read() 1308 *ppos += ret; in relay_file_splice_read()
|
D | utsname_sysctl.c | 33 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_do_uts_string() argument 51 r = proc_dostring(&uts_table, write, buffer, lenp, ppos); in proc_do_uts_string()
|
D | profile.c | 466 read_profile(struct file *file, char __user *buf, size_t count, loff_t *ppos) in read_profile() argument 468 unsigned long p = *ppos; in read_profile() 489 *ppos += read; in read_profile() 500 size_t count, loff_t *ppos) in write_profile() argument
|
D | hung_task.c | 223 size_t *lenp, loff_t *ppos) in proc_dohung_task_timeout_secs() argument 227 ret = proc_doulongvec_minmax(table, write, buffer, lenp, ppos); in proc_dohung_task_timeout_secs()
|
D | latencytop.c | 273 void __user *buffer, size_t *lenp, loff_t *ppos) in sysctl_latencytop() argument 277 err = proc_dointvec(table, write, buffer, lenp, ppos); in sysctl_latencytop()
|
D | seccomp.c | 1679 size_t *lenp, loff_t *ppos) in read_actions_logged() argument 1693 return proc_dostring(&table, 0, buffer, lenp, ppos); in read_actions_logged() 1697 size_t *lenp, loff_t *ppos, u32 *actions_logged) in write_actions_logged() argument 1711 ret = proc_dostring(&table, 1, buffer, lenp, ppos); in write_actions_logged() 1759 loff_t *ppos) in seccomp_actions_logged_handler() argument 1767 ret = write_actions_logged(ro_table, buffer, lenp, ppos, in seccomp_actions_logged_handler() 1771 ret = read_actions_logged(ro_table, buffer, lenp, ppos); in seccomp_actions_logged_handler()
|
D | pid_namespace.c | 268 void __user *buffer, size_t *lenp, loff_t *ppos) in pid_ns_ctl_handler() argument 286 ret = proc_dointvec_minmax(&tmp, write, buffer, lenp, ppos); in pid_ns_ctl_handler()
|
D | umh.c | 633 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_cap_handler() argument 666 err = proc_doulongvec_minmax(&t, write, buffer, lenp, ppos); in proc_cap_handler()
|
/kernel/trace/ |
D | trace.c | 1406 size_t cnt, loff_t *ppos) in trace_get_user() argument 1412 if (!*ppos) in trace_get_user() 1440 *ppos += read; in trace_get_user() 1475 *ppos += read; in trace_get_user() 2556 loff_t *ppos) in tracepoint_printk_sysctl() argument 2564 ret = proc_dointvec(table, write, buffer, lenp, ppos); in tracepoint_printk_sysctl() 4408 size_t count, loff_t *ppos) in tracing_write_stub() argument 4442 size_t count, loff_t *ppos) in tracing_cpumask_read() argument 4460 count = simple_read_from_buffer(ubuf, count, ppos, mask_str, len); in tracing_cpumask_read() 4470 size_t count, loff_t *ppos) in tracing_cpumask_write() argument [all …]
|
D | trace_events.c | 858 size_t cnt, loff_t *ppos) in ftrace_event_write() argument 875 read = trace_get_user(&parser, ubuf, cnt, ppos); in ftrace_event_write() 1027 loff_t *ppos) in event_enable_read() argument 1052 return simple_read_from_buffer(ubuf, cnt, ppos, buf, strlen(buf)); in event_enable_read() 1057 loff_t *ppos) in event_enable_write() argument 1086 *ppos += cnt; in event_enable_write() 1093 loff_t *ppos) in system_enable_read() argument 1132 ret = simple_read_from_buffer(ubuf, cnt, ppos, buf, 2); in system_enable_read() 1139 loff_t *ppos) in system_enable_write() argument 1172 *ppos += cnt; in system_enable_write() [all …]
|
D | trace_stack.c | 326 size_t count, loff_t *ppos) in stack_max_size_read() argument 335 return simple_read_from_buffer(ubuf, count, ppos, buf, r); in stack_max_size_read() 340 size_t count, loff_t *ppos) in stack_max_size_write() argument 520 loff_t *ppos) in stack_trace_sysctl() argument 528 ret = proc_dointvec(table, write, buffer, lenp, ppos); in stack_trace_sysctl()
|
D | trace_hwlat.c | 408 size_t cnt, loff_t *ppos) in hwlat_read() argument 425 return simple_read_from_buffer(ubuf, cnt, ppos, buf, len); in hwlat_read() 445 size_t cnt, loff_t *ppos) in hwlat_width_write() argument 484 size_t cnt, loff_t *ppos) in hwlat_window_write() argument
|
D | trace_dynevent.c | 191 size_t count, loff_t *ppos) in dyn_event_write() argument 193 return trace_parse_run_command(file, buffer, count, ppos, in dyn_event_write()
|
D | ftrace.c | 890 size_t cnt, loff_t *ppos) in ftrace_profile_write() argument 928 *ppos += cnt; in ftrace_profile_write() 935 size_t cnt, loff_t *ppos) in ftrace_profile_read() argument 941 return simple_read_from_buffer(ubuf, cnt, ppos, buf, r); in ftrace_profile_read() 4677 size_t cnt, loff_t *ppos, int enable) in ftrace_regex_write() argument 4698 read = trace_get_user(parser, ubuf, cnt, ppos); in ftrace_regex_write() 4716 size_t cnt, loff_t *ppos) in ftrace_filter_write() argument 4718 return ftrace_regex_write(file, ubuf, cnt, ppos, 1); in ftrace_filter_write() 4723 size_t cnt, loff_t *ppos) in ftrace_notrace_write() argument 4725 return ftrace_regex_write(file, ubuf, cnt, ppos, 0); in ftrace_notrace_write() [all …]
|
D | trace_functions_graph.c | 1302 loff_t *ppos) in graph_depth_write() argument 1313 *ppos += cnt; in graph_depth_write() 1320 loff_t *ppos) in graph_depth_read() argument 1327 return simple_read_from_buffer(ubuf, cnt, ppos, buf, n); in graph_depth_read()
|
D | trace_events_trigger.c | 240 size_t cnt, loff_t *ppos) in event_trigger_regex_write() argument 272 *ppos += cnt; in event_trigger_regex_write() 292 size_t cnt, loff_t *ppos) in event_trigger_write() argument 294 return event_trigger_regex_write(filp, ubuf, cnt, ppos); in event_trigger_write()
|
D | trace.h | 479 size_t cnt, loff_t *ppos); 482 loff_t *ppos, 1188 size_t cnt, loff_t *ppos); 1882 const char __user *buffer, size_t count, loff_t *ppos,
|
/kernel/locking/ |
D | lock_events.c | 62 size_t count, loff_t *ppos) in lockevent_read() argument 80 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in lockevent_read() 89 size_t count, loff_t *ppos) in lockevent_write() argument
|
D | qspinlock_stat.h | 37 size_t count, loff_t *ppos) in lockevent_read() argument 94 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in lockevent_read()
|
/kernel/events/ |
D | callchain.c | 239 void __user *buffer, size_t *lenp, loff_t *ppos) in perf_event_max_stack_handler() argument 246 ret = proc_dointvec_minmax(&new_table, write, buffer, lenp, ppos); in perf_event_max_stack_handler()
|
/kernel/bpf/ |
D | cgroup.c | 884 loff_t *ppos, void **new_buf, in __cgroup_bpf_run_filter_sysctl() argument 891 .ppos = ppos, in __cgroup_bpf_run_filter_sysctl() 1372 BPF_FIELD_SIZEOF(struct bpf_sysctl_kern, ppos), in sysctl_convert_ctx_access() 1374 offsetof(struct bpf_sysctl_kern, ppos)); in sysctl_convert_ctx_access() 1384 BPF_FIELD_SIZEOF(struct bpf_sysctl_kern, ppos), in sysctl_convert_ctx_access() 1386 offsetof(struct bpf_sysctl_kern, ppos)); in sysctl_convert_ctx_access()
|