Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/kvm/riscv/
H A Dsbi_pmu_test.c340 counter_value_post = READ_ONCE(snapshot_data->ctr_values[0]); in test_pmu_event_snapshot()
350 WRITE_ONCE(snapshot_data->ctr_values[0], ULONG_MAX/2); in test_pmu_event_snapshot()
353 counter_value_pre = READ_ONCE(snapshot_data->ctr_values[0]); in test_pmu_event_snapshot()
355 WRITE_ONCE(snapshot_data->ctr_values[0], counter_init_value); in test_pmu_event_snapshot()
358 counter_value_post = READ_ONCE(snapshot_data->ctr_values[0]); in test_pmu_event_snapshot()
364 WRITE_ONCE(snapshot_data->ctr_values[0], counter_init_value); in test_pmu_event_snapshot()
369 counter_value_post = READ_ONCE(snapshot_data->ctr_values[0]); in test_pmu_event_snapshot()
388 WRITE_ONCE(snapshot_data->ctr_values[0], counter_init_value); in test_pmu_event_overflow()
395 counter_value_post = READ_ONCE(snapshot_data->ctr_values[0]); in test_pmu_event_overflow()
490 GUEST_ASSERT_EQ(READ_ONCE(snapshot_data->ctr_values[i]), 0); in test_pmu_events_snaphost()
/linux/tools/testing/selftests/kvm/include/riscv/
H A Dsbi.h74 u64 ctr_values[64]; member
/linux/arch/riscv/include/asm/
H A Dsbi.h161 u64 ctr_values[64]; member