Lines Matching refs:events_used
454 static Int events_used = 0; variable
487 for (i = 0; i < events_used; i++) { in flushEvents()
519 events_used = 0; in flushEvents()
533 if (events_used == N_EVENTS) in addEvent_Ir()
535 tl_assert(events_used >= 0 && events_used < N_EVENTS); in addEvent_Ir()
536 evt = &events[events_used]; in addEvent_Ir()
541 events_used++; in addEvent_Ir()
552 if (events_used == N_EVENTS) in addEvent_Dr_guarded()
554 tl_assert(events_used >= 0 && events_used < N_EVENTS); in addEvent_Dr_guarded()
555 evt = &events[events_used]; in addEvent_Dr_guarded()
560 events_used++; in addEvent_Dr_guarded()
579 if (events_used == N_EVENTS) in addEvent_Dw_guarded()
581 tl_assert(events_used >= 0 && events_used < N_EVENTS); in addEvent_Dw_guarded()
582 evt = &events[events_used]; in addEvent_Dw_guarded()
587 events_used++; in addEvent_Dw_guarded()
603 lastEvt = &events[events_used-1]; in addEvent_Dw()
604 if (events_used > 0 in addEvent_Dw()
615 if (events_used == N_EVENTS) in addEvent_Dw()
617 tl_assert(events_used >= 0 && events_used < N_EVENTS); in addEvent_Dw()
618 evt = &events[events_used]; in addEvent_Dw()
623 events_used++; in addEvent_Dw()
702 events_used = 0; in lk_instrument()