Lines Matching refs:sTimerData
41 static struct timer_info sTimerData[MAX_TIMERS]; variable
74 if (sTimerData[i].next_event < timeout) { in timer_thread()
75 timeout = sTimerData[i].next_event; in timer_thread()
83 func = sTimerData[index].func; in timer_thread()
84 cookie = sTimerData[index].cookie; in timer_thread()
85 if (sTimerData[index].periodic) { in timer_thread()
87 sTimerData[index].next_event += sTimerData[index].interval; in timer_thread()
91 memcpy(&sTimerData[index], &sTimerData[sTimerCount - 1], sizeof(struct timer_info)); in timer_thread()
130 sTimerData[sTimerCount].id = id; in create_timer()
131 sTimerData[sTimerCount].func = func; in create_timer()
132 sTimerData[sTimerCount].cookie = cookie; in create_timer()
133 …sTimerData[sTimerCount].next_event = (flags == B_ONE_SHOT_ABSOLUTE_TIMER) ? interval : system_time… in create_timer()
134 sTimerData[sTimerCount].interval = interval; in create_timer()
135 sTimerData[sTimerCount].periodic = flags == B_PERIODIC_TIMER; in create_timer()
165 if (sTimerData[i].id == id) { in delete_timer()
167 memcpy(&sTimerData[i], &sTimerData[sTimerCount - 1], sizeof(struct timer_info)); in delete_timer()