Lines Matching refs:per_cpu_ptr
218 *per_cpu_ptr(chan->buf, buf->cpu) = NULL; in relay_destroy_buf()
395 if (chan->is_global && (buf = *per_cpu_ptr(chan->buf, 0))) { in relay_reset()
402 if ((buf = *per_cpu_ptr(chan->buf, i))) in relay_reset()
448 return *per_cpu_ptr(chan->buf, 0); in relay_open_buf()
472 *per_cpu_ptr(chan->buf, 0) = buf; in relay_open_buf()
527 if ((buf = *per_cpu_ptr(chan->buf, cpu))) in relay_prepare_cpu()
535 *per_cpu_ptr(chan->buf, cpu) = buf; in relay_prepare_cpu()
600 *per_cpu_ptr(chan->buf, i) = buf; in relay_open()
609 if ((buf = *per_cpu_ptr(chan->buf, i))) in relay_open()
674 buf = *per_cpu_ptr(chan->buf, 0); in relay_late_setup_files()
693 buf = *per_cpu_ptr(chan->buf, i); in relay_late_setup_files()
815 buf = *per_cpu_ptr(chan->buf, cpu); in relay_subbufs_consumed()
841 if (chan->is_global && (buf = *per_cpu_ptr(chan->buf, 0))) in relay_close()
845 if ((buf = *per_cpu_ptr(chan->buf, i))) in relay_close()
873 if (chan->is_global && (buf = *per_cpu_ptr(chan->buf, 0))) { in relay_flush()
880 if ((buf = *per_cpu_ptr(chan->buf, i))) in relay_flush()