Lines Matching refs:timer
575 struct io_wait_timer *timer;
581 for (timer = ioloop->wait_timers; timer != NULL; timer = timer->next)
582 timer->usecs += diff;
853 struct io_wait_timer *timer = ioloop->wait_timers;
855 "IO wait timer leak: %s:%u",
856 timer->source_filename,
857 timer->source_linenum);
863 io_wait_timer_remove(&timer);
1157 struct io_wait_timer *timer;
1159 timer = i_new(struct io_wait_timer, 1);
1160 timer->ioloop = ioloop;
1161 timer->source_filename = source_filename;
1162 timer->source_linenum = source_linenum;
1163 DLLIST_PREPEND(&ioloop->wait_timers, timer);
1164 return timer;
1178 struct io_wait_timer *timer = *_timer;
1181 DLLIST_REMOVE(&timer->ioloop->wait_timers, timer);
1182 DLLIST_PREPEND(&ioloop->wait_timers, timer);
1183 timer->ioloop = ioloop;
1184 return timer;
1194 struct io_wait_timer *timer = *_timer;
1197 DLLIST_REMOVE(&timer->ioloop->wait_timers, timer);
1198 i_free(timer);
1201 uint64_t io_wait_timer_get_usecs(struct io_wait_timer *timer)
1203 return timer->usecs;