Lines Matching refs:ppos

931 	size_t cnt, loff_t *ppos)  in trace_get_user()  argument
937 if (!*ppos) in trace_get_user()
963 *ppos += read; in trace_get_user()
998 *ppos += read; in trace_get_user()
3349 size_t count, loff_t *ppos) in tracing_write_stub() argument
3395 size_t count, loff_t *ppos) in tracing_cpumask_read() argument
3408 count = simple_read_from_buffer(ubuf, count, ppos, mask_str, NR_CPUS+1); in tracing_cpumask_read()
3418 size_t count, loff_t *ppos) in tracing_cpumask_write() argument
3645 size_t cnt, loff_t *ppos) in tracing_trace_options_write() argument
3664 *ppos += cnt; in tracing_trace_options_write()
3826 size_t cnt, loff_t *ppos) in tracing_readme_read() argument
3828 return simple_read_from_buffer(ubuf, cnt, ppos, in tracing_readme_read()
3916 size_t cnt, loff_t *ppos) in tracing_saved_cmdlines_size_read() argument
3925 return simple_read_from_buffer(ubuf, cnt, ppos, buf, r); in tracing_saved_cmdlines_size_read()
3959 size_t cnt, loff_t *ppos) in tracing_saved_cmdlines_size_write() argument
3976 *ppos += cnt; in tracing_saved_cmdlines_size_write()
4165 size_t cnt, loff_t *ppos) in tracing_set_trace_read() argument
4175 return simple_read_from_buffer(ubuf, cnt, ppos, buf, r); in tracing_set_trace_read()
4458 size_t cnt, loff_t *ppos) in tracing_set_trace_write() argument
4484 *ppos += ret; in tracing_set_trace_write()
4491 size_t cnt, loff_t *ppos) in tracing_nsecs_read() argument
4500 return simple_read_from_buffer(ubuf, cnt, ppos, buf, r); in tracing_nsecs_read()
4505 size_t cnt, loff_t *ppos) in tracing_nsecs_write() argument
4521 size_t cnt, loff_t *ppos) in tracing_thresh_read() argument
4523 return tracing_nsecs_read(&tracing_thresh, ubuf, cnt, ppos); in tracing_thresh_read()
4528 size_t cnt, loff_t *ppos) in tracing_thresh_write() argument
4534 ret = tracing_nsecs_write(&tracing_thresh, ubuf, cnt, ppos); in tracing_thresh_write()
4555 size_t cnt, loff_t *ppos) in tracing_max_lat_read() argument
4557 return tracing_nsecs_read(filp->private_data, ubuf, cnt, ppos); in tracing_max_lat_read()
4562 size_t cnt, loff_t *ppos) in tracing_max_lat_write() argument
4564 return tracing_nsecs_write(filp->private_data, ubuf, cnt, ppos); in tracing_max_lat_write()
4725 size_t cnt, loff_t *ppos) in tracing_read_pipe() argument
4744 sret = iter->trace->read(iter, filp, ubuf, cnt, ppos); in tracing_read_pipe()
4879 loff_t *ppos, in tracing_splice_read_pipe() argument
4907 ppos, pipe, len, flags); in tracing_splice_read_pipe()
4967 size_t cnt, loff_t *ppos) in tracing_entries_read() argument
5009 ret = simple_read_from_buffer(ubuf, cnt, ppos, buf, r); in tracing_entries_read()
5015 size_t cnt, loff_t *ppos) in tracing_entries_write() argument
5036 *ppos += cnt; in tracing_entries_write()
5043 size_t cnt, loff_t *ppos) in tracing_total_entries_read() argument
5062 return simple_read_from_buffer(ubuf, cnt, ppos, buf, r); in tracing_total_entries_read()
5067 size_t cnt, loff_t *ppos) in tracing_free_buffer_write() argument
5074 *ppos += cnt; in tracing_free_buffer_write()
5344 loff_t *ppos) in tracing_snapshot_write() argument
5408 *ppos += cnt; in tracing_snapshot_write()
5436 size_t count, loff_t *ppos);
5438 static ssize_t tracing_buffers_splice_read(struct file *file, loff_t *ppos,
5605 size_t count, loff_t *ppos) in tracing_buffers_read() argument
5664 *ppos += size; in tracing_buffers_read()
5744 tracing_buffers_splice_read(struct file *file, loff_t *ppos, in tracing_buffers_splice_read() argument
5772 if (*ppos & (PAGE_SIZE - 1)) in tracing_buffers_splice_read()
5827 *ppos += PAGE_SIZE; in tracing_buffers_splice_read()
5867 size_t count, loff_t *ppos) in tracing_stats_read() argument
5921 count = simple_read_from_buffer(ubuf, count, ppos, in tracing_stats_read()
5945 size_t cnt, loff_t *ppos) in tracing_read_dyn_info() argument
5960 r = simple_read_from_buffer(ubuf, cnt, ppos, buf, r); in tracing_read_dyn_info()
6174 loff_t *ppos) in trace_options_read() argument
6184 return simple_read_from_buffer(ubuf, cnt, ppos, buf, 2); in trace_options_read()
6189 loff_t *ppos) in trace_options_write() argument
6211 *ppos += cnt; in trace_options_write()
6259 loff_t *ppos) in trace_options_core_read() argument
6273 return simple_read_from_buffer(ubuf, cnt, ppos, buf, 2); in trace_options_core_read()
6278 loff_t *ppos) in trace_options_core_write() argument
6302 *ppos += cnt; in trace_options_core_write()
6469 size_t cnt, loff_t *ppos) in rb_simple_read() argument
6478 return simple_read_from_buffer(ubuf, cnt, ppos, buf, r); in rb_simple_read()
6483 size_t cnt, loff_t *ppos) in rb_simple_write() argument
6508 (*ppos)++; in rb_simple_write()