Home
last modified time | relevance | path

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

/linux/drivers/perf/
H A Darm_spe_pmu.c99 #define PERF_IDX2OFF(idx, buf) ((idx) % ((buf)->nr_pages << PAGE_SHIFT)) macro
374 u64 head = PERF_IDX2OFF(handle->head, buf); in arm_spe_pmu_pad_buf()
385 u64 head = PERF_IDX2OFF(handle->head, buf); in arm_spe_pmu_next_snapshot_off()
403 handle->head = PERF_IDX2OFF(limit, buf); in arm_spe_pmu_next_snapshot_off()
432 head = PERF_IDX2OFF(handle->head, buf); in __arm_spe_pmu_next_off()
438 head = PERF_IDX2OFF(handle->head, buf); in __arm_spe_pmu_next_off()
446 tail = PERF_IDX2OFF(handle->head + handle->size, buf); in __arm_spe_pmu_next_off()
447 wakeup = PERF_IDX2OFF(handle->wakeup, buf); in __arm_spe_pmu_next_off()
485 u64 head = PERF_IDX2OFF(handle->head, buf); in arm_spe_pmu_next_off()
523 base = (u64)buf->base + PERF_IDX2OFF(handle->head, buf); in arm_spe_perf_aux_output_begin()
[all …]
/linux/drivers/hwtracing/coresight/
H A Dcoresight-trbe.c25 #define PERF_IDX2OFF(idx, buf) ((idx) % ((buf)->nr_pages << PAGE_SHIFT)) macro
350 u64 head = PERF_IDX2OFF(handle->head, buf); in trbe_pad_buf()
406 head = PERF_IDX2OFF(handle->head, buf); in __trbe_normal_offset()
429 head = PERF_IDX2OFF(handle->head, buf); in __trbe_normal_offset()
445 tail = PERF_IDX2OFF(handle->head + handle->size, buf); in __trbe_normal_offset()
446 wakeup = PERF_IDX2OFF(handle->wakeup, buf); in __trbe_normal_offset()
551 u64 head = PERF_IDX2OFF(handle->head, buf); in trbe_normal_offset()
564 head = PERF_IDX2OFF(handle->head, buf); in trbe_normal_offset()
710 start_off = PERF_IDX2OFF(handle->head, buf); in trbe_get_trace_size()
990 buf->trbe_write = buf->trbe_base + PERF_IDX2OFF(handle->head, buf); in __arm_trbe_enable()
H A Dcoresight-tmc-etr.c55 #define PERF_IDX2OFF(idx, buf) \ macro
1509 head = PERF_IDX2OFF(head, etr_perf); in tmc_etr_sync_perf_buffer()