Home
last modified time | relevance | path

Searched refs:buffer_a (Results 1 – 2 of 2) sorted by relevance

/linux/include/linux/
H A Dring_buffer.h175 int ring_buffer_swap_cpu(struct trace_buffer *buffer_a,
179 ring_buffer_swap_cpu(struct trace_buffer *buffer_a, in ring_buffer_swap_cpu() argument
/linux/kernel/trace/
H A Dring_buffer.c6236 int ring_buffer_swap_cpu(struct trace_buffer *buffer_a, in ring_buffer_swap_cpu() argument
6243 if (!cpumask_test_cpu(cpu, buffer_a->cpumask) || in ring_buffer_swap_cpu()
6247 cpu_buffer_a = buffer_a->buffers[cpu]; in ring_buffer_swap_cpu()
6260 if (buffer_a->subbuf_order != buffer_b->subbuf_order) in ring_buffer_swap_cpu()
6265 if (atomic_read(&buffer_a->record_disabled)) in ring_buffer_swap_cpu()
6296 if (atomic_read(&buffer_a->resizing)) in ring_buffer_swap_cpu()
6301 buffer_a->buffers[cpu] = cpu_buffer_b; in ring_buffer_swap_cpu()
6304 cpu_buffer_b->buffer = buffer_a; in ring_buffer_swap_cpu()