Lines Matching refs:cpu_file

1954 	if (trace_buffer_iter(iter, iter->cpu_file))
1957 ret = ring_buffer_wait(iter->array_buffer->buffer, iter->cpu_file, full);
3687 int cpu_file = iter->cpu_file;
3697 if (cpu_file > RING_BUFFER_ALL_CPUS) {
3698 if (ring_buffer_empty_cpu(buffer, cpu_file))
3700 ent = peek_next_entry(iter, cpu_file, ent_ts, missing_events);
3702 *ent_cpu = cpu_file;
4172 int cpu_file = iter->cpu_file;
4199 if (cpu_file == RING_BUFFER_ALL_CPUS) {
4203 tracing_iter_reset(iter, cpu_file);
4223 trace_access_lock(cpu_file);
4236 trace_access_unlock(iter->cpu_file);
4558 if (iter->cpu_file != RING_BUFFER_ALL_CPUS) {
4559 cpu = iter->cpu_file;
4722 if (iter->cpu_file == RING_BUFFER_ALL_CPUS)
4875 iter->cpu_file = tracing_get_cpu(inode);
4897 if (iter->cpu_file == RING_BUFFER_ALL_CPUS) {
4909 cpu = iter->cpu_file;
6807 iter->cpu_file = cpu;
6842 close_pipe_on_cpu(tr, iter->cpu_file);
6859 if (trace_buffer_iter(iter, iter->cpu_file))
6868 return ring_buffer_poll_wait(iter->array_buffer->buffer, iter->cpu_file,
6967 trace_access_lock(iter->cpu_file);
7005 trace_access_unlock(iter->cpu_file);
7122 trace_access_lock(iter->cpu_file);
7146 trace_access_unlock(iter->cpu_file);
7624 iter->cpu_file = tracing_get_cpu(inode);
7676 if (iter->cpu_file != RING_BUFFER_ALL_CPUS) {
7686 if (iter->cpu_file != RING_BUFFER_ALL_CPUS) {
7693 &tr->array_buffer, iter->cpu_file);
7699 if (iter->cpu_file == RING_BUFFER_ALL_CPUS) {
7704 smp_call_function_single(iter->cpu_file, tracing_swap_cpu_buffer,
7710 if (iter->cpu_file == RING_BUFFER_ALL_CPUS)
7713 tracing_reset_cpu(&tr->max_buffer, iter->cpu_file);
8259 info->iter.cpu_file = tracing_get_cpu(inode);
8307 iter->cpu_file);
8312 info->spare_cpu = iter->cpu_file;
8323 trace_access_lock(iter->cpu_file);
8327 iter->cpu_file, 0);
8328 trace_access_unlock(iter->cpu_file);
8377 ring_buffer_wake_waiters(iter->array_buffer->buffer, iter->cpu_file);
8482 trace_access_lock(iter->cpu_file);
8483 entries = ring_buffer_entries_cpu(iter->array_buffer->buffer, iter->cpu_file);
8497 ref->page = ring_buffer_alloc_read_page(ref->buffer, iter->cpu_file);
8504 ref->cpu = iter->cpu_file;
8507 len, iter->cpu_file, 1);
8524 entries = ring_buffer_entries_cpu(iter->array_buffer->buffer, iter->cpu_file);
8527 trace_access_unlock(iter->cpu_file);
8581 ring_buffer_wake_waiters(iter->array_buffer->buffer, iter->cpu_file);
10146 iter->cpu_file = RING_BUFFER_ALL_CPUS;
10209 iter.cpu_file = RING_BUFFER_ALL_CPUS;
10212 iter.cpu_file = raw_smp_processor_id();
10218 iter.cpu_file = RING_BUFFER_ALL_CPUS;