Lines Matching refs:cpu_file
1912 if (trace_buffer_iter(iter, iter->cpu_file))
1915 ret = ring_buffer_wait(iter->array_buffer->buffer, iter->cpu_file, full);
3620 int cpu_file = iter->cpu_file;
3630 if (cpu_file > RING_BUFFER_ALL_CPUS) {
3631 if (ring_buffer_empty_cpu(buffer, cpu_file))
3633 ent = peek_next_entry(iter, cpu_file, ent_ts, missing_events);
3635 *ent_cpu = cpu_file;
4105 int cpu_file = iter->cpu_file;
4138 if (cpu_file == RING_BUFFER_ALL_CPUS) {
4142 tracing_iter_reset(iter, cpu_file);
4162 trace_access_lock(cpu_file);
4175 trace_access_unlock(iter->cpu_file);
4494 if (iter->cpu_file != RING_BUFFER_ALL_CPUS) {
4495 cpu = iter->cpu_file;
4658 if (iter->cpu_file == RING_BUFFER_ALL_CPUS)
4800 iter->cpu_file = tracing_get_cpu(inode);
4822 if (iter->cpu_file == RING_BUFFER_ALL_CPUS) {
4834 cpu = iter->cpu_file;
6680 iter->cpu_file = tracing_get_cpu(inode);
6732 if (trace_buffer_iter(iter, iter->cpu_file))
6741 return ring_buffer_poll_wait(iter->array_buffer->buffer, iter->cpu_file,
6840 trace_access_lock(iter->cpu_file);
6878 trace_access_unlock(iter->cpu_file);
6995 trace_access_lock(iter->cpu_file);
7019 trace_access_unlock(iter->cpu_file);
7497 iter->cpu_file = tracing_get_cpu(inode);
7549 if (iter->cpu_file != RING_BUFFER_ALL_CPUS) {
7559 if (iter->cpu_file != RING_BUFFER_ALL_CPUS) {
7566 &tr->array_buffer, iter->cpu_file);
7572 if (iter->cpu_file == RING_BUFFER_ALL_CPUS) {
7577 smp_call_function_single(iter->cpu_file, tracing_swap_cpu_buffer,
7583 if (iter->cpu_file == RING_BUFFER_ALL_CPUS)
7586 tracing_reset_cpu(&tr->max_buffer, iter->cpu_file);
8132 info->iter.cpu_file = tracing_get_cpu(inode);
8180 iter->cpu_file);
8185 info->spare_cpu = iter->cpu_file;
8196 trace_access_lock(iter->cpu_file);
8200 iter->cpu_file, 0);
8201 trace_access_unlock(iter->cpu_file);
8250 ring_buffer_wake_waiters(iter->array_buffer->buffer, iter->cpu_file);
8355 trace_access_lock(iter->cpu_file);
8356 entries = ring_buffer_entries_cpu(iter->array_buffer->buffer, iter->cpu_file);
8370 ref->page = ring_buffer_alloc_read_page(ref->buffer, iter->cpu_file);
8377 ref->cpu = iter->cpu_file;
8380 len, iter->cpu_file, 1);
8397 entries = ring_buffer_entries_cpu(iter->array_buffer->buffer, iter->cpu_file);
8400 trace_access_unlock(iter->cpu_file);
8454 ring_buffer_wake_waiters(iter->array_buffer->buffer, iter->cpu_file);
10045 iter->cpu_file = RING_BUFFER_ALL_CPUS;
10115 iter.cpu_file = RING_BUFFER_ALL_CPUS;
10118 iter.cpu_file = raw_smp_processor_id();
10124 iter.cpu_file = RING_BUFFER_ALL_CPUS;