• Home
  • Raw
  • Download

Lines Matching refs:r

5274 	int r;  in tracing_saved_cmdlines_size_read()  local
5278 r = scnprintf(buf, sizeof(buf), "%u\n", savedcmd->cmdline_num); in tracing_saved_cmdlines_size_read()
5282 return simple_read_from_buffer(ubuf, cnt, ppos, buf, r); in tracing_saved_cmdlines_size_read()
5519 int r; in tracing_set_trace_read() local
5522 r = sprintf(buf, "%s\n", tr->current_trace->name); in tracing_set_trace_read()
5525 return simple_read_from_buffer(ubuf, cnt, ppos, buf, r); in tracing_set_trace_read()
5596 int r = resize_buffer_duplicate_size(&tr->trace_buffer, in __tracing_resize_ring_buffer() local
5598 if (r < 0) { in __tracing_resize_ring_buffer()
5868 int r; in tracing_nsecs_read() local
5870 r = snprintf(buf, sizeof(buf), "%ld\n", in tracing_nsecs_read()
5872 if (r > sizeof(buf)) in tracing_nsecs_read()
5873 r = sizeof(buf); in tracing_nsecs_read()
5874 return simple_read_from_buffer(ubuf, cnt, ppos, buf, r); in tracing_nsecs_read()
6357 int r = 0; in tracing_entries_read() local
6381 r = sprintf(buf, "%lu (expanded: %lu)\n", in tracing_entries_read()
6385 r = sprintf(buf, "%lu\n", size >> 10); in tracing_entries_read()
6387 r = sprintf(buf, "X\n"); in tracing_entries_read()
6389 r = sprintf(buf, "%lu\n", per_cpu_ptr(tr->trace_buffer.data, cpu)->entries >> 10); in tracing_entries_read()
6393 ret = simple_read_from_buffer(ubuf, cnt, ppos, buf, r); in tracing_entries_read()
6431 int r, cpu; in tracing_total_entries_read() local
6441 r = sprintf(buf, "%lu\n", size); in tracing_total_entries_read()
6443 r = sprintf(buf, "%lu (expanded: %lu)\n", size, expanded_size); in tracing_total_entries_read()
6446 return simple_read_from_buffer(ubuf, cnt, ppos, buf, r); in tracing_total_entries_read()
7559 int r; in tracing_buffers_splice_read() local
7578 r = ring_buffer_read_page(ref->buffer, &ref->page, in tracing_buffers_splice_read()
7580 if (r < 0) { in tracing_buffers_splice_read()
7713 int r; in tracing_read_dyn_info() local
7720 r = scnprintf(buf, 256, "%ld pages:%ld groups: %ld\n", in tracing_read_dyn_info()
7725 ret = simple_read_from_buffer(ubuf, cnt, ppos, buf, r); in tracing_read_dyn_info()
8307 int r; in rb_simple_read() local
8309 r = tracer_tracing_is_on(tr); in rb_simple_read()
8310 r = sprintf(buf, "%d\n", r); in rb_simple_read()
8312 return simple_read_from_buffer(ubuf, cnt, ppos, buf, r); in rb_simple_read()
8363 int r; in buffer_percent_read() local
8365 r = tr->buffer_percent; in buffer_percent_read()
8366 r = sprintf(buf, "%d\n", r); in buffer_percent_read()
8368 return simple_read_from_buffer(ubuf, cnt, ppos, buf, r); in buffer_percent_read()