Lines Matching refs:buf_iter
3581 struct ring_buffer_iter *buf_iter = trace_buffer_iter(iter, iter->cpu); in trace_iterator_increment() local
3584 if (buf_iter) in trace_iterator_increment()
3585 ring_buffer_iter_advance(buf_iter); in trace_iterator_increment()
3593 struct ring_buffer_iter *buf_iter = trace_buffer_iter(iter, cpu); in peek_next_entry() local
3595 if (buf_iter) { in peek_next_entry()
3596 event = ring_buffer_iter_peek(buf_iter, ts); in peek_next_entry()
3598 *lost_events = ring_buffer_iter_dropped(buf_iter) ? in peek_next_entry()
4070 struct ring_buffer_iter *buf_iter; in tracing_iter_reset() local
4076 buf_iter = trace_buffer_iter(iter, cpu); in tracing_iter_reset()
4077 if (!buf_iter) in tracing_iter_reset()
4080 ring_buffer_iter_reset(buf_iter); in tracing_iter_reset()
4087 while (ring_buffer_iter_peek(buf_iter, &ts)) { in tracing_iter_reset()
4091 ring_buffer_iter_advance(buf_iter); in tracing_iter_reset()
4490 struct ring_buffer_iter *buf_iter; in trace_empty() local
4496 buf_iter = trace_buffer_iter(iter, cpu); in trace_empty()
4497 if (buf_iter) { in trace_empty()
4498 if (!ring_buffer_iter_empty(buf_iter)) in trace_empty()
4508 buf_iter = trace_buffer_iter(iter, cpu); in trace_empty()
4509 if (buf_iter) { in trace_empty()
4510 if (!ring_buffer_iter_empty(buf_iter)) in trace_empty()