Home
last modified time | relevance | path

Searched refs:ppos (Results 1 – 25 of 49) sorted by relevance

12

/kernel/
Dsysctl.c213 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 …]
Dwatchdog.c681 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 …]
Duser_namespace.c640 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 …]
Dstackleak.c23 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()
Drelay.c1120 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()
Dutsname_sysctl.c33 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()
Dprofile.c466 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
Dhung_task.c223 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()
Dlatencytop.c273 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()
Dseccomp.c1679 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()
Dpid_namespace.c268 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()
Dumh.c633 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/
Dtrace.c1406 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 …]
Dtrace_events.c858 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 …]
Dtrace_stack.c326 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()
Dtrace_hwlat.c408 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
Dtrace_dynevent.c191 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()
Dftrace.c890 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 …]
Dtrace_functions_graph.c1302 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()
Dtrace_events_trigger.c240 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()
Dtrace.h479 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/
Dlock_events.c62 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
Dqspinlock_stat.h37 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/
Dcallchain.c239 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/
Dcgroup.c884 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()

12