Symbol: RISCV_MAX_COUNTERS
arch/riscv/kvm/vcpu_pmu.c
566
for_each_set_bit(i, &ctr_mask, RISCV_MAX_COUNTERS) {
arch/riscv/kvm/vcpu_pmu.c
638
for_each_set_bit(i, &ctr_mask, RISCV_MAX_COUNTERS) {
drivers/perf/riscv_pmu.c
405
for (i = 0; i < RISCV_MAX_COUNTERS; i++)
drivers/perf/riscv_pmu_sbi.c
1005
for_each_set_bit(idx, cpu_hw_evt->used_hw_ctrs, RISCV_MAX_COUNTERS) {
drivers/perf/riscv_pmu_sbi.c
1019
for (i = 0; i < BITS_TO_LONGS(RISCV_MAX_COUNTERS); i++) {
drivers/perf/riscv_pmu_sbi.c
1060
fidx = find_first_bit(cpu_hw_evt->used_hw_ctrs, RISCV_MAX_COUNTERS);
drivers/perf/riscv_pmu_sbi.c
1061
if (fidx == RISCV_MAX_COUNTERS) {
drivers/perf/riscv_pmu_sbi.c
1093
for_each_set_bit(lidx, cpu_hw_evt->used_hw_ctrs, RISCV_MAX_COUNTERS) {
drivers/perf/riscv_pmu_sbi.c
1247
bool enabled = !bitmap_empty(cpuc->used_hw_ctrs, RISCV_MAX_COUNTERS);
drivers/perf/riscv_pmu_sbi.c
1254
for (idx = 0; idx < RISCV_MAX_COUNTERS; idx++) {
drivers/perf/riscv_pmu_sbi.c
1440
if (num_counters > RISCV_MAX_COUNTERS) {
drivers/perf/riscv_pmu_sbi.c
1441
num_counters = RISCV_MAX_COUNTERS;
drivers/perf/riscv_pmu_sbi.c
495
for_each_set_bit(i, &cmask, RISCV_MAX_COUNTERS) {
drivers/perf/riscv_pmu_sbi.c
733
memset(cpu_hw_evt->snapshot_cval_shcopy, 0, sizeof(u64) * RISCV_MAX_COUNTERS);
drivers/perf/riscv_pmu_sbi.c
923
memset(cpu_hw_evt->snapshot_cval_shcopy, 0, sizeof(u64) * RISCV_MAX_COUNTERS);
drivers/perf/riscv_pmu_sbi.c
925
for (i = 0; i < BITS_TO_LONGS(RISCV_MAX_COUNTERS); i++) {
drivers/perf/riscv_pmu_sbi.c
941
for_each_set_bit(idx, cpu_hw_evt->used_hw_ctrs, RISCV_MAX_COUNTERS)
drivers/perf/riscv_pmu_sbi.c
965
for (i = 0; i < BITS_TO_LONGS(RISCV_MAX_COUNTERS); i++) {
include/linux/perf/riscv_pmu.h
37
struct perf_event *events[RISCV_MAX_COUNTERS];
include/linux/perf/riscv_pmu.h
39
DECLARE_BITMAP(used_hw_ctrs, RISCV_MAX_COUNTERS);
include/linux/perf/riscv_pmu.h
41
DECLARE_BITMAP(used_fw_ctrs, RISCV_MAX_COUNTERS);
include/linux/perf/riscv_pmu.h
49
u64 snapshot_cval_shcopy[RISCV_MAX_COUNTERS];