Lines Matching refs:ppos

917 	size_t cnt, loff_t *ppos)  in trace_get_user()  argument
923 if (!*ppos) in trace_get_user()
949 *ppos += read; in trace_get_user()
984 *ppos += read; in trace_get_user()
3341 size_t count, loff_t *ppos) in tracing_write_stub() argument
3387 size_t count, loff_t *ppos) in tracing_cpumask_read() argument
3400 count = simple_read_from_buffer(ubuf, count, ppos, mask_str, NR_CPUS+1); in tracing_cpumask_read()
3410 size_t count, loff_t *ppos) in tracing_cpumask_write() argument
3607 size_t cnt, loff_t *ppos) in tracing_trace_options_write() argument
3626 *ppos += cnt; in tracing_trace_options_write()
3788 size_t cnt, loff_t *ppos) in tracing_readme_read() argument
3790 return simple_read_from_buffer(ubuf, cnt, ppos, in tracing_readme_read()
3878 size_t cnt, loff_t *ppos) in tracing_saved_cmdlines_size_read() argument
3887 return simple_read_from_buffer(ubuf, cnt, ppos, buf, r); in tracing_saved_cmdlines_size_read()
3921 size_t cnt, loff_t *ppos) in tracing_saved_cmdlines_size_write() argument
3938 *ppos += cnt; in tracing_saved_cmdlines_size_write()
4127 size_t cnt, loff_t *ppos) in tracing_set_trace_read() argument
4137 return simple_read_from_buffer(ubuf, cnt, ppos, buf, r); in tracing_set_trace_read()
4431 size_t cnt, loff_t *ppos) in tracing_set_trace_write() argument
4457 *ppos += ret; in tracing_set_trace_write()
4464 size_t cnt, loff_t *ppos) in tracing_nsecs_read() argument
4473 return simple_read_from_buffer(ubuf, cnt, ppos, buf, r); in tracing_nsecs_read()
4478 size_t cnt, loff_t *ppos) in tracing_nsecs_write() argument
4494 size_t cnt, loff_t *ppos) in tracing_thresh_read() argument
4496 return tracing_nsecs_read(&tracing_thresh, ubuf, cnt, ppos); in tracing_thresh_read()
4501 size_t cnt, loff_t *ppos) in tracing_thresh_write() argument
4507 ret = tracing_nsecs_write(&tracing_thresh, ubuf, cnt, ppos); in tracing_thresh_write()
4526 size_t cnt, loff_t *ppos) in tracing_max_lat_read() argument
4528 return tracing_nsecs_read(filp->private_data, ubuf, cnt, ppos); in tracing_max_lat_read()
4533 size_t cnt, loff_t *ppos) in tracing_max_lat_write() argument
4535 return tracing_nsecs_write(filp->private_data, ubuf, cnt, ppos); in tracing_max_lat_write()
4692 size_t cnt, loff_t *ppos) in tracing_read_pipe() argument
4711 sret = iter->trace->read(iter, filp, ubuf, cnt, ppos); in tracing_read_pipe()
4846 loff_t *ppos, in tracing_splice_read_pipe() argument
4874 ppos, pipe, len, flags); in tracing_splice_read_pipe()
4934 size_t cnt, loff_t *ppos) in tracing_entries_read() argument
4976 ret = simple_read_from_buffer(ubuf, cnt, ppos, buf, r); in tracing_entries_read()
4982 size_t cnt, loff_t *ppos) in tracing_entries_write() argument
5003 *ppos += cnt; in tracing_entries_write()
5010 size_t cnt, loff_t *ppos) in tracing_total_entries_read() argument
5029 return simple_read_from_buffer(ubuf, cnt, ppos, buf, r); in tracing_total_entries_read()
5034 size_t cnt, loff_t *ppos) in tracing_free_buffer_write() argument
5041 *ppos += cnt; in tracing_free_buffer_write()
5311 loff_t *ppos) in tracing_snapshot_write() argument
5375 *ppos += cnt; in tracing_snapshot_write()
5403 size_t count, loff_t *ppos);
5405 static ssize_t tracing_buffers_splice_read(struct file *file, loff_t *ppos,
5570 size_t count, loff_t *ppos) in tracing_buffers_read() argument
5629 *ppos += size; in tracing_buffers_read()
5709 tracing_buffers_splice_read(struct file *file, loff_t *ppos, in tracing_buffers_splice_read() argument
5737 if (*ppos & (PAGE_SIZE - 1)) in tracing_buffers_splice_read()
5792 *ppos += PAGE_SIZE; in tracing_buffers_splice_read()
5832 size_t count, loff_t *ppos) in tracing_stats_read() argument
5886 count = simple_read_from_buffer(ubuf, count, ppos, in tracing_stats_read()
5910 size_t cnt, loff_t *ppos) in tracing_read_dyn_info() argument
5925 r = simple_read_from_buffer(ubuf, cnt, ppos, buf, r); in tracing_read_dyn_info()
6146 loff_t *ppos) in trace_options_read() argument
6156 return simple_read_from_buffer(ubuf, cnt, ppos, buf, 2); in trace_options_read()
6161 loff_t *ppos) in trace_options_write() argument
6183 *ppos += cnt; in trace_options_write()
6198 loff_t *ppos) in trace_options_core_read() argument
6208 return simple_read_from_buffer(ubuf, cnt, ppos, buf, 2); in trace_options_core_read()
6213 loff_t *ppos) in trace_options_core_write() argument
6234 *ppos += cnt; in trace_options_core_write()
6378 size_t cnt, loff_t *ppos) in rb_simple_read() argument
6387 return simple_read_from_buffer(ubuf, cnt, ppos, buf, r); in rb_simple_read()
6392 size_t cnt, loff_t *ppos) in rb_simple_write() argument
6417 (*ppos)++; in rb_simple_write()