Searched refs:snapshot_data (Results 1 – 2 of 2) sorted by relevance
138 struct riscv_pmu_snapshot_data *snapshot_data = snapshot_gva; in guest_irq_handler() local150 overflown_mask = READ_ONCE(snapshot_data->ctr_overflow_mask); in guest_irq_handler()155 counter_val = READ_ONCE(snapshot_data->ctr_values[0]); in guest_irq_handler()310 struct riscv_pmu_snapshot_data *snapshot_data = snapshot_gva; in test_pmu_event_snapshot() local321 counter_value_post = READ_ONCE(snapshot_data->ctr_values[0]); in test_pmu_event_snapshot()331 WRITE_ONCE(snapshot_data->ctr_values[0], ULONG_MAX/2); in test_pmu_event_snapshot()334 counter_value_pre = READ_ONCE(snapshot_data->ctr_values[0]); in test_pmu_event_snapshot()336 WRITE_ONCE(snapshot_data->ctr_values[0], counter_init_value); in test_pmu_event_snapshot()339 counter_value_post = READ_ONCE(snapshot_data->ctr_values[0]); in test_pmu_event_snapshot()345 WRITE_ONCE(snapshot_data->ctr_values[0], counter_init_value); in test_pmu_event_snapshot()[all …]
31 static struct snapshot_data { struct49 struct snapshot_data *data; in snapshot_open() argument109 struct snapshot_data *data; in snapshot_release()138 struct snapshot_data *data; in snapshot_read()172 struct snapshot_data *data; in snapshot_write()213 static int snapshot_set_swap_area(struct snapshot_data *data, in snapshot_set_swap_area()253 struct snapshot_data *data; in snapshot_ioctl()