Searched refs:PERF_IDX2OFF (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.4/drivers/perf/ |
D | arm_spe_pmu.c | 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() [all …]
|
/Linux-v5.4/drivers/hwtracing/coresight/ |
D | coresight-tmc-etr.c | 50 #define PERF_IDX2OFF(idx, buf) ((idx) % ((buf)->nr_pages << PAGE_SHIFT)) macro 1589 etr_perf->head = PERF_IDX2OFF(handle->head, etr_perf); in tmc_enable_etr_sink_perf()
|