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

/linux-4.1.27/include/linux/
H A Dring_buffer.h146 int ring_buffer_swap_cpu(struct ring_buffer *buffer_a,
150 ring_buffer_swap_cpu(struct ring_buffer *buffer_a, ring_buffer_swap_cpu() argument
/linux-4.1.27/kernel/trace/
H A Dring_buffer.c4325 * @buffer_a: One buffer to swap with
4333 int ring_buffer_swap_cpu(struct ring_buffer *buffer_a, ring_buffer_swap_cpu() argument
4340 if (!cpumask_test_cpu(cpu, buffer_a->cpumask) || ring_buffer_swap_cpu()
4344 cpu_buffer_a = buffer_a->buffers[cpu]; ring_buffer_swap_cpu()
4356 if (atomic_read(&buffer_a->record_disabled)) ring_buffer_swap_cpu()
4383 buffer_a->buffers[cpu] = cpu_buffer_b; ring_buffer_swap_cpu()
4386 cpu_buffer_b->buffer = buffer_a; ring_buffer_swap_cpu()

Completed in 185 milliseconds