Lines Matching refs:per_cpu_ptr
204 *per_cpu_ptr(chan->buf, buf->cpu) = NULL; in relay_destroy_buf()
327 if (chan->is_global && (buf = *per_cpu_ptr(chan->buf, 0))) { in relay_reset()
334 if ((buf = *per_cpu_ptr(chan->buf, i))) in relay_reset()
382 return *per_cpu_ptr(chan->buf, 0); in relay_open_buf()
406 *per_cpu_ptr(chan->buf, 0) = buf; in relay_open_buf()
440 if (*per_cpu_ptr(chan->buf, cpu)) in relay_prepare_cpu()
448 *per_cpu_ptr(chan->buf, cpu) = buf; in relay_prepare_cpu()
520 *per_cpu_ptr(chan->buf, i) = buf; in relay_open()
529 if ((buf = *per_cpu_ptr(chan->buf, i))) in relay_open()
594 buf = *per_cpu_ptr(chan->buf, 0); in relay_late_setup_files()
613 buf = *per_cpu_ptr(chan->buf, i); in relay_late_setup_files()
735 buf = *per_cpu_ptr(chan->buf, cpu); in relay_subbufs_consumed()
761 if (chan->is_global && (buf = *per_cpu_ptr(chan->buf, 0))) in relay_close()
765 if ((buf = *per_cpu_ptr(chan->buf, i))) in relay_close()
793 if (chan->is_global && (buf = *per_cpu_ptr(chan->buf, 0))) { in relay_flush()
800 if ((buf = *per_cpu_ptr(chan->buf, i))) in relay_flush()