Home
last modified time | relevance | path

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

/kernel/events/
Dring_buffer.c195 if (!rb->overwrite) { in __perf_output_begin()
317 rb->overwrite = 0; in ring_buffer_init()
319 rb->overwrite = 1; in ring_buffer_init()
670 bool overwrite = !(flags & RING_BUFFER_WRITABLE); in rb_alloc_aux() local
677 if (!overwrite) { in rb_alloc_aux()
732 overwrite) { in rb_alloc_aux()
740 overwrite); in rb_alloc_aux()
754 rb->aux_overwrite = overwrite; in rb_alloc_aux()
Dinternal.h21 int overwrite; /* can overwrite itself */ member
/kernel/trace/
Dring_buffer.c4554 unsigned long overwrite; in rb_swap_reader_page() local
4596 overwrite = local_read(&(cpu_buffer->overrun)); in rb_swap_reader_page()
4631 if (overwrite != cpu_buffer->last_overrun) { in rb_swap_reader_page()
4632 cpu_buffer->lost_events = overwrite - cpu_buffer->last_overrun; in rb_swap_reader_page()
4633 cpu_buffer->last_overrun = overwrite; in rb_swap_reader_page()