Lines Matching refs:per_cpu_ptr
207 *per_cpu_ptr(chan->buf, buf->cpu) = NULL; in relay_destroy_buf()
330 if (chan->is_global && (buf = *per_cpu_ptr(chan->buf, 0))) { in relay_reset()
337 if ((buf = *per_cpu_ptr(chan->buf, i))) in relay_reset()
385 return *per_cpu_ptr(chan->buf, 0); in relay_open_buf()
409 *per_cpu_ptr(chan->buf, 0) = buf; in relay_open_buf()
443 if ((buf = *per_cpu_ptr(chan->buf, cpu))) in relay_prepare_cpu()
451 *per_cpu_ptr(chan->buf, cpu) = buf; in relay_prepare_cpu()
523 *per_cpu_ptr(chan->buf, i) = buf; in relay_open()
532 if ((buf = *per_cpu_ptr(chan->buf, i))) in relay_open()
597 buf = *per_cpu_ptr(chan->buf, 0); in relay_late_setup_files()
616 buf = *per_cpu_ptr(chan->buf, i); in relay_late_setup_files()
738 buf = *per_cpu_ptr(chan->buf, cpu); in relay_subbufs_consumed()
764 if (chan->is_global && (buf = *per_cpu_ptr(chan->buf, 0))) in relay_close()
768 if ((buf = *per_cpu_ptr(chan->buf, i))) in relay_close()
796 if (chan->is_global && (buf = *per_cpu_ptr(chan->buf, 0))) { in relay_flush()
803 if ((buf = *per_cpu_ptr(chan->buf, i))) in relay_flush()