Lines Matching refs:PERF_IDX2OFF
78 #define PERF_IDX2OFF(idx, buf) ((idx) % ((buf)->nr_pages << PAGE_SHIFT)) macro
350 u64 head = PERF_IDX2OFF(handle->head, buf); in arm_spe_pmu_pad_buf()
361 u64 head = PERF_IDX2OFF(handle->head, buf); in arm_spe_pmu_next_snapshot_off()
379 handle->head = PERF_IDX2OFF(limit, buf); in arm_spe_pmu_next_snapshot_off()
408 head = PERF_IDX2OFF(handle->head, buf); in __arm_spe_pmu_next_off()
414 head = PERF_IDX2OFF(handle->head, buf); in __arm_spe_pmu_next_off()
422 tail = PERF_IDX2OFF(handle->head + handle->size, buf); in __arm_spe_pmu_next_off()
423 wakeup = PERF_IDX2OFF(handle->wakeup, buf); in __arm_spe_pmu_next_off()
461 u64 head = PERF_IDX2OFF(handle->head, buf); in arm_spe_pmu_next_off()
499 base = (u64)buf->base + PERF_IDX2OFF(handle->head, buf); in arm_spe_perf_aux_output_begin()
512 size = offset - PERF_IDX2OFF(handle->head, buf); in arm_spe_perf_aux_output_end()