Home
last modified time | relevance | path

Searched refs:overwrite (Results 1 – 3 of 3) sorted by relevance

/kernel/events/
Dring_buffer.c197 if (!rb->overwrite) { in __perf_output_begin()
320 rb->overwrite = 0; in ring_buffer_init()
322 rb->overwrite = 1; in ring_buffer_init()
673 bool overwrite = !(flags & RING_BUFFER_WRITABLE); in rb_alloc_aux() local
680 if (!overwrite) { in rb_alloc_aux()
735 overwrite) { in rb_alloc_aux()
743 overwrite); in rb_alloc_aux()
757 rb->aux_overwrite = overwrite; in rb_alloc_aux()
Dinternal.h21 int overwrite; /* can overwrite itself */ member
/kernel/trace/
Dring_buffer.c4597 unsigned long overwrite; in rb_swap_reader_page() local
4639 overwrite = local_read(&(cpu_buffer->overrun)); in rb_swap_reader_page()
4674 if (overwrite != cpu_buffer->last_overrun) { in rb_swap_reader_page()
4675 cpu_buffer->lost_events = overwrite - cpu_buffer->last_overrun; in rb_swap_reader_page()
4676 cpu_buffer->last_overrun = overwrite; in rb_swap_reader_page()