Home
last modified time | relevance | path

Searched refs:PERF_IDX2OFF (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/drivers/perf/
Darm_spe_pmu.c98 #define PERF_IDX2OFF(idx, buf) ((idx) % ((buf)->nr_pages << PAGE_SHIFT)) macro
368 u64 head = PERF_IDX2OFF(handle->head, buf); in arm_spe_pmu_pad_buf()
379 u64 head = PERF_IDX2OFF(handle->head, buf); in arm_spe_pmu_next_snapshot_off()
397 handle->head = PERF_IDX2OFF(limit, buf); in arm_spe_pmu_next_snapshot_off()
426 head = PERF_IDX2OFF(handle->head, buf); in __arm_spe_pmu_next_off()
432 head = PERF_IDX2OFF(handle->head, buf); in __arm_spe_pmu_next_off()
440 tail = PERF_IDX2OFF(handle->head + handle->size, buf); in __arm_spe_pmu_next_off()
441 wakeup = PERF_IDX2OFF(handle->wakeup, buf); in __arm_spe_pmu_next_off()
479 u64 head = PERF_IDX2OFF(handle->head, buf); in arm_spe_pmu_next_off()
517 base = (u64)buf->base + PERF_IDX2OFF(handle->head, buf); in arm_spe_perf_aux_output_begin()
[all …]
/linux-6.1.9/drivers/hwtracing/coresight/
Dcoresight-trbe.c24 #define PERF_IDX2OFF(idx, buf) ((idx) % ((buf)->nr_pages << PAGE_SHIFT)) macro
349 u64 head = PERF_IDX2OFF(handle->head, buf); in trbe_pad_buf()
405 head = PERF_IDX2OFF(handle->head, buf); in __trbe_normal_offset()
428 head = PERF_IDX2OFF(handle->head, buf); in __trbe_normal_offset()
444 tail = PERF_IDX2OFF(handle->head + handle->size, buf); in __trbe_normal_offset()
445 wakeup = PERF_IDX2OFF(handle->wakeup, buf); in __trbe_normal_offset()
550 u64 head = PERF_IDX2OFF(handle->head, buf); in trbe_normal_offset()
563 head = PERF_IDX2OFF(handle->head, buf); in trbe_normal_offset()
708 start_off = PERF_IDX2OFF(handle->head, buf); in trbe_get_trace_size()
988 buf->trbe_write = buf->trbe_base + PERF_IDX2OFF(handle->head, buf); in __arm_trbe_enable()
Dcoresight-tmc-etr.c48 #define PERF_IDX2OFF(idx, buf) ((idx) % ((buf)->nr_pages << PAGE_SHIFT)) macro
1466 head = PERF_IDX2OFF(head, etr_perf); in tmc_etr_sync_perf_buffer()