Searched refs:riscv_active_events (Results 1 – 1 of 1) sorted by relevance
376 static atomic_t riscv_active_events = ATOMIC_INIT(0); variable380 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()