Lines Matching refs:ppos
1606 size_t cnt, loff_t *ppos) in trace_get_user() argument
1612 if (!*ppos) in trace_get_user()
1640 *ppos += read; in trace_get_user()
1675 *ppos += read; in trace_get_user()
2838 loff_t *ppos) in tracepoint_printk_sysctl() argument
2846 ret = proc_dointvec(table, write, buffer, lenp, ppos); in tracepoint_printk_sysctl()
4722 size_t count, loff_t *ppos) in tracing_write_stub() argument
4758 size_t count, loff_t *ppos) in tracing_cpumask_read() argument
4776 count = simple_read_from_buffer(ubuf, count, ppos, mask_str, len); in tracing_cpumask_read()
4826 size_t count, loff_t *ppos) in tracing_cpumask_write() argument
5064 size_t cnt, loff_t *ppos) in tracing_trace_options_write() argument
5083 *ppos += cnt; in tracing_trace_options_write()
5375 size_t cnt, loff_t *ppos) in tracing_readme_read() argument
5377 return simple_read_from_buffer(ubuf, cnt, ppos, in tracing_readme_read()
5525 size_t cnt, loff_t *ppos) in tracing_saved_cmdlines_size_read() argument
5536 return simple_read_from_buffer(ubuf, cnt, ppos, buf, r); in tracing_saved_cmdlines_size_read()
5560 size_t cnt, loff_t *ppos) in tracing_saved_cmdlines_size_write() argument
5577 *ppos += cnt; in tracing_saved_cmdlines_size_write()
5767 size_t cnt, loff_t *ppos) in tracing_set_trace_read() argument
5777 return simple_read_from_buffer(ubuf, cnt, ppos, buf, r); in tracing_set_trace_read()
6091 size_t cnt, loff_t *ppos) in tracing_set_trace_write() argument
6117 *ppos += ret; in tracing_set_trace_write()
6124 size_t cnt, loff_t *ppos) in tracing_nsecs_read() argument
6133 return simple_read_from_buffer(ubuf, cnt, ppos, buf, r); in tracing_nsecs_read()
6138 size_t cnt, loff_t *ppos) in tracing_nsecs_write() argument
6154 size_t cnt, loff_t *ppos) in tracing_thresh_read() argument
6156 return tracing_nsecs_read(&tracing_thresh, ubuf, cnt, ppos); in tracing_thresh_read()
6161 size_t cnt, loff_t *ppos) in tracing_thresh_write() argument
6167 ret = tracing_nsecs_write(&tracing_thresh, ubuf, cnt, ppos); in tracing_thresh_write()
6188 size_t cnt, loff_t *ppos) in tracing_max_lat_read() argument
6190 return tracing_nsecs_read(filp->private_data, ubuf, cnt, ppos); in tracing_max_lat_read()
6195 size_t cnt, loff_t *ppos) in tracing_max_lat_write() argument
6197 return tracing_nsecs_write(filp->private_data, ubuf, cnt, ppos); in tracing_max_lat_write()
6356 size_t cnt, loff_t *ppos) in tracing_read_pipe() argument
6376 sret = iter->trace->read(iter, filp, ubuf, cnt, ppos); in tracing_read_pipe()
6517 loff_t *ppos, in tracing_splice_read_pipe() argument
6544 ppos, pipe, len, flags); in tracing_splice_read_pipe()
6604 size_t cnt, loff_t *ppos) in tracing_entries_read() argument
6646 ret = simple_read_from_buffer(ubuf, cnt, ppos, buf, r); in tracing_entries_read()
6652 size_t cnt, loff_t *ppos) in tracing_entries_write() argument
6673 *ppos += cnt; in tracing_entries_write()
6680 size_t cnt, loff_t *ppos) in tracing_total_entries_read() argument
6699 return simple_read_from_buffer(ubuf, cnt, ppos, buf, r); in tracing_total_entries_read()
6704 size_t cnt, loff_t *ppos) in tracing_free_buffer_write() argument
6711 *ppos += cnt; in tracing_free_buffer_write()
7086 loff_t *ppos) in tracing_snapshot_write() argument
7163 *ppos += cnt; in tracing_snapshot_write()
7191 size_t count, loff_t *ppos);
7193 static ssize_t tracing_buffers_splice_read(struct file *file, loff_t *ppos,
7545 size_t count, loff_t *ppos) in tracing_err_log_write() argument
7620 size_t count, loff_t *ppos) in tracing_buffers_read() argument
7686 *ppos += size; in tracing_buffers_read()
7769 tracing_buffers_splice_read(struct file *file, loff_t *ppos, in tracing_buffers_splice_read() argument
7793 if (*ppos & (PAGE_SIZE - 1)) in tracing_buffers_splice_read()
7846 *ppos += PAGE_SIZE; in tracing_buffers_splice_read()
7888 size_t count, loff_t *ppos) in tracing_stats_read() argument
7942 count = simple_read_from_buffer(ubuf, count, ppos, in tracing_stats_read()
7961 size_t cnt, loff_t *ppos) in tracing_read_dyn_info() argument
7977 ret = simple_read_from_buffer(ubuf, cnt, ppos, buf, r); in tracing_read_dyn_info()
8240 loff_t *ppos) in trace_options_read() argument
8250 return simple_read_from_buffer(ubuf, cnt, ppos, buf, 2); in trace_options_read()
8255 loff_t *ppos) in trace_options_write() argument
8277 *ppos += cnt; in trace_options_write()
8346 loff_t *ppos) in trace_options_core_read() argument
8360 return simple_read_from_buffer(ubuf, cnt, ppos, buf, 2); in trace_options_core_read()
8365 loff_t *ppos) in trace_options_core_write() argument
8391 *ppos += cnt; in trace_options_core_write()
8555 size_t cnt, loff_t *ppos) in rb_simple_read() argument
8564 return simple_read_from_buffer(ubuf, cnt, ppos, buf, r); in rb_simple_read()
8569 size_t cnt, loff_t *ppos) in rb_simple_write() argument
8596 (*ppos)++; in rb_simple_write()
8611 size_t cnt, loff_t *ppos) in buffer_percent_read() argument
8620 return simple_read_from_buffer(ubuf, cnt, ppos, buf, r); in buffer_percent_read()
8625 size_t cnt, loff_t *ppos) in buffer_percent_write() argument
8640 (*ppos)++; in buffer_percent_write()
9580 size_t count, loff_t *ppos, in trace_parse_run_command() argument