Searched refs:tmrs (Results 1 - 1 of 1) sorted by relevance
/freebsd-10.1-release/usr.sbin/uhsoctl/ |
H A D | uhsoctl.c | 199 tmr_run(struct timers *tmrs) argument 203 te = TAILQ_FIRST(&tmrs->head); 207 te->timeout -= tmrs->res; 210 TAILQ_REMOVE(&tmrs->head, te, next); 221 tmr_add(struct timers *tmrs, int id, int timeout, tmr_cb func, void *arg) argument 233 te2 = TAILQ_FIRST(&tmrs->head); 235 if (TAILQ_EMPTY(&tmrs->head)) { 236 TAILQ_INSERT_HEAD(&tmrs->head, te, next); 239 TAILQ_INSERT_HEAD(&tmrs->head, te, next); 248 TAILQ_INSERT_AFTER(&tmrs [all...] |
Completed in 43 milliseconds