Lines Matching refs:b
75 struct oprofile_cpu_buffer *b = &per_cpu(op_cpu_buffer, i); in alloc_cpu_buffers() local
77 b->last_task = NULL; in alloc_cpu_buffers()
78 b->last_is_kernel = -1; in alloc_cpu_buffers()
79 b->tracing = 0; in alloc_cpu_buffers()
80 b->buffer_size = buffer_size; in alloc_cpu_buffers()
81 b->sample_received = 0; in alloc_cpu_buffers()
82 b->sample_lost_overflow = 0; in alloc_cpu_buffers()
83 b->backtrace_aborted = 0; in alloc_cpu_buffers()
84 b->sample_invalid_eip = 0; in alloc_cpu_buffers()
85 b->cpu = i; in alloc_cpu_buffers()
86 INIT_DELAYED_WORK(&b->work, wq_sync_buffer); in alloc_cpu_buffers()
102 struct oprofile_cpu_buffer *b = &per_cpu(op_cpu_buffer, i); in start_cpu_work() local
108 schedule_delayed_work_on(i, &b->work, DEFAULT_TIMER_EXPIRE + i); in start_cpu_work()
122 struct oprofile_cpu_buffer *b = &per_cpu(op_cpu_buffer, i); in flush_cpu_work() local
125 flush_delayed_work(&b->work); in flush_cpu_work()
452 struct oprofile_cpu_buffer *b = in wq_sync_buffer() local
454 if (b->cpu != smp_processor_id() && !cpu_online(b->cpu)) { in wq_sync_buffer()
455 cancel_delayed_work(&b->work); in wq_sync_buffer()
458 sync_buffer(b->cpu); in wq_sync_buffer()
462 schedule_delayed_work(&b->work, DEFAULT_TIMER_EXPIRE); in wq_sync_buffer()