Home
last modified time | relevance | path

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

/kernel/
Dsysctl.c158 void __user *buffer, size_t *lenp, loff_t *ppos);
160 void __user *buffer, size_t *lenp, loff_t *ppos);
2099 size_t *lenp, loff_t *ppos) in _proc_do_string() argument
2125 *ppos += *lenp; in _proc_do_string()
2131 if (*ppos > len) { in _proc_do_string()
2136 data += *ppos; in _proc_do_string()
2137 len -= *ppos; in _proc_do_string()
2150 *ppos += len; in _proc_do_string()
2174 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_dostring() argument
2177 buffer, lenp, ppos); in proc_dostring()
[all …]
Drcupreempt_trace.c174 size_t count, loff_t *ppos) in rcustats_read() argument
205 bcount = simple_read_from_buffer(buffer, count, ppos, in rcustats_read()
212 size_t count, loff_t *ppos) in rcugp_read() argument
221 bcount = simple_read_from_buffer(buffer, count, ppos, in rcugp_read()
228 size_t count, loff_t *ppos) in rcuctrs_read() argument
258 bcount = simple_read_from_buffer(buffer, count, ppos, in rcuctrs_read()
Drelay.c1131 static ssize_t relay_file_read_subbufs(struct file *filp, loff_t *ppos, in relay_file_read_subbufs() argument
1145 if (!relay_file_read_avail(buf, *ppos)) in relay_file_read_subbufs()
1148 read_start = relay_file_read_start_pos(*ppos, buf); in relay_file_read_subbufs()
1160 *ppos = relay_file_read_end_pos(buf, read_start, ret); in relay_file_read_subbufs()
1171 loff_t *ppos) in relay_file_read() argument
1178 return relay_file_read_subbufs(filp, ppos, subbuf_read_actor, in relay_file_read()
1219 loff_t *ppos, in subbuf_splice_actor() argument
1228 uint64_t pos = (uint64_t) *ppos; in subbuf_splice_actor()
1305 loff_t *ppos, in relay_file_splice_read() argument
1318 ret = subbuf_splice_actor(in, ppos, pipe, len, flags, &nonpad_ret); in relay_file_splice_read()
[all …]
Dutsname_sysctl.c46 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_do_uts_string() argument
52 r = proc_dostring(&uts_table,write,filp,buffer,lenp, ppos); in proc_do_uts_string()
Dprofile.c501 read_profile(struct file *file, char __user *buf, size_t count, loff_t *ppos) in read_profile() argument
503 unsigned long p = *ppos; in read_profile()
524 *ppos += read; in read_profile()
535 size_t count, loff_t *ppos) in write_profile() argument
Dsoftlockup.c94 size_t *lenp, loff_t *ppos) in proc_dosoftlockup_thresh() argument
97 return proc_dointvec_minmax(table, write, filp, buffer, lenp, ppos); in proc_dosoftlockup_thresh()
Dcgroup.c1455 size_t nbytes, loff_t *ppos) in cgroup_file_write() argument
1463 return cft->write(cgrp, cft, file, buf, nbytes, ppos); in cgroup_file_write()
1465 return cgroup_write_X64(cgrp, cft, file, buf, nbytes, ppos); in cgroup_file_write()
1467 return cgroup_write_string(cgrp, cft, file, buf, nbytes, ppos); in cgroup_file_write()
1478 loff_t *ppos) in cgroup_read_u64() argument
1484 return simple_read_from_buffer(buf, nbytes, ppos, tmp, len); in cgroup_read_u64()
1490 loff_t *ppos) in cgroup_read_s64() argument
1496 return simple_read_from_buffer(buf, nbytes, ppos, tmp, len); in cgroup_read_s64()
1500 size_t nbytes, loff_t *ppos) in cgroup_file_read() argument
1509 return cft->read(cgrp, cft, file, buf, nbytes, ppos); in cgroup_file_read()
[all …]
Dkprobes.c1337 char __user *user_buf, size_t count, loff_t *ppos) in read_enabled_file_bool() argument
1347 return simple_read_from_buffer(user_buf, count, ppos, buf, 2); in read_enabled_file_bool()
1351 const char __user *user_buf, size_t count, loff_t *ppos) in write_enabled_file_bool() argument
Dsched_fair.c374 loff_t *ppos) in sched_nr_latency_handler() argument
376 int ret = proc_dointvec_minmax(table, write, filp, buffer, lenp, ppos); in sched_nr_latency_handler()
Dcpuset.c1569 size_t nbytes, loff_t *ppos) in cpuset_common_file_read() argument
1595 retval = simple_read_from_buffer(buf, nbytes, ppos, page, s - page); in cpuset_common_file_read()
Dlockdep_proc.c710 size_t count, loff_t *ppos) in lock_stat_write() argument
Dsched.c752 size_t cnt, loff_t *ppos) in sched_feat_write() argument
9330 loff_t *ppos) in sched_rt_handler() argument
9340 ret = proc_dointvec(table, write, filp, buffer, lenp, ppos); in sched_rt_handler()
/kernel/trace/
Dtrace_stack.c140 size_t count, loff_t *ppos) in stack_max_size_read() argument
149 return simple_read_from_buffer(ubuf, count, ppos, buf, r); in stack_max_size_read()
154 size_t count, loff_t *ppos) in stack_max_size_write() argument
305 loff_t *ppos) in stack_trace_sysctl() argument
311 ret = proc_dointvec(table, write, file, buffer, lenp, ppos); in stack_trace_sysctl()
Dftrace.c1013 size_t cnt, loff_t *ppos) in ftrace_regex_read() argument
1016 return seq_read(file, ubuf, cnt, ppos); in ftrace_regex_read()
1125 size_t cnt, loff_t *ppos, int enable) in ftrace_regex_write() argument
1143 if (!*ppos) { in ftrace_regex_write()
1207 size_t cnt, loff_t *ppos) in ftrace_filter_write() argument
1209 return ftrace_regex_write(file, ubuf, cnt, ppos, 1); in ftrace_filter_write()
1214 size_t cnt, loff_t *ppos) in ftrace_notrace_write() argument
1216 return ftrace_regex_write(file, ubuf, cnt, ppos, 0); in ftrace_notrace_write()
1425 size_t cnt, loff_t *ppos) in ftrace_graph_read() argument
1428 return seq_read(file, ubuf, cnt, ppos); in ftrace_graph_read()
[all …]
Dtrace_sysprof.c279 size_t cnt, loff_t *ppos) in sysprof_sample_read() argument
286 return simple_read_from_buffer(ubuf, cnt, ppos, buf, r); in sysprof_sample_read()
291 size_t cnt, loff_t *ppos) in sysprof_sample_write() argument
Dtrace.c2665 size_t count, loff_t *ppos) argument
2677 count = simple_read_from_buffer(ubuf, count, ppos, mask_str, NR_CPUS+1);
2687 size_t count, loff_t *ppos) argument
2741 size_t cnt, loff_t *ppos) argument
2790 r = simple_read_from_buffer(ubuf, cnt, ppos, buf, r);
2833 size_t cnt, loff_t *ppos) argument
2905 size_t cnt, loff_t *ppos) argument
2907 return simple_read_from_buffer(ubuf, cnt, ppos,
2918 size_t cnt, loff_t *ppos) argument
2924 return simple_read_from_buffer(ubuf, cnt, ppos, buf, r);
[all …]
Dring_buffer.c2467 size_t cnt, loff_t *ppos) in rb_simple_read() argument
2478 return simple_read_from_buffer(ubuf, cnt, ppos, buf, r); in rb_simple_read()
2483 size_t cnt, loff_t *ppos) in rb_simple_write() argument
2507 (*ppos)++; in rb_simple_write()
Dtrace_mmiotrace.c136 char __user *ubuf, size_t cnt, loff_t *ppos) in mmio_read() argument
Dtrace.h331 size_t cnt, loff_t *ppos);
/kernel/irq/
Dproc.c102 const char __user *buffer, size_t count, loff_t *ppos) in default_affinity_write() argument