Home
last modified time | relevance | path

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

/Linux-v4.19/arch/riscv/kernel/
Dperf_event.c376 static atomic_t riscv_active_events = ATOMIC_INIT(0); variable
380 if (atomic_dec_return(&riscv_active_events) == 0) in riscv_event_destroy()
391 if (atomic_inc_return(&riscv_active_events) == 1) { in riscv_event_init()
396 atomic_dec(&riscv_active_events); in riscv_event_init()