Lines Matching refs:b
95 struct oprofile_cpu_buffer *b = &per_cpu(cpu_buffer, i); in alloc_cpu_buffers() local
97 b->last_task = NULL; in alloc_cpu_buffers()
98 b->last_is_kernel = -1; in alloc_cpu_buffers()
99 b->tracing = 0; in alloc_cpu_buffers()
100 b->buffer_size = buffer_size; in alloc_cpu_buffers()
101 b->sample_received = 0; in alloc_cpu_buffers()
102 b->sample_lost_overflow = 0; in alloc_cpu_buffers()
103 b->backtrace_aborted = 0; in alloc_cpu_buffers()
104 b->sample_invalid_eip = 0; in alloc_cpu_buffers()
105 b->cpu = i; in alloc_cpu_buffers()
106 INIT_DELAYED_WORK(&b->work, wq_sync_buffer); in alloc_cpu_buffers()
122 struct oprofile_cpu_buffer *b = &per_cpu(cpu_buffer, i); in start_cpu_work() local
128 schedule_delayed_work_on(i, &b->work, DEFAULT_TIMER_EXPIRE + i); in start_cpu_work()
139 struct oprofile_cpu_buffer *b = &per_cpu(cpu_buffer, i); in end_cpu_work() local
141 cancel_delayed_work(&b->work); in end_cpu_work()
453 struct oprofile_cpu_buffer *b = in wq_sync_buffer() local
455 if (b->cpu != smp_processor_id()) { in wq_sync_buffer()
457 smp_processor_id(), b->cpu); in wq_sync_buffer()
459 if (!cpu_online(b->cpu)) { in wq_sync_buffer()
460 cancel_delayed_work(&b->work); in wq_sync_buffer()
464 sync_buffer(b->cpu); in wq_sync_buffer()
468 schedule_delayed_work(&b->work, DEFAULT_TIMER_EXPIRE); in wq_sync_buffer()