Lines Matching refs:current_ioloop
20 struct ioloop *current_ioloop = NULL;
99 return io_add_to(current_ioloop, fd, condition,
125 return io_add_istream_to(current_ioloop, input,
294 return timeout_add_to(current_ioloop, msecs,
345 return timeout_add_absolute_to(current_ioloop, time,
569 for (ioloop = current_ioloop; ioloop != NULL; ioloop = ioloop->prev)
601 i_assert(ioloop == current_ioloop);
613 i_assert(ioloop == current_ioloop);
648 i_assert(ioloop == current_ioloop);
681 i_assert(ioloop == current_ioloop);
722 i_assert(ioloop == current_ioloop);
729 i_assert(ioloop == current_ioloop);
777 ioloop->time_moved_callback = current_ioloop != NULL ?
778 current_ioloop->time_moved_callback :
781 ioloop->prev = current_ioloop;
796 i_assert(ioloop == current_ioloop);
797 io_loop_set_current(current_ioloop->prev);
894 struct ioloop *prev_ioloop = current_ioloop;
896 if (ioloop == current_ioloop)
899 current_ioloop = ioloop;
1100 return io_loop_move_io_to(current_ioloop, _io);
1118 return io_loop_move_timeout_to(current_ioloop, _timeout);
1171 return io_wait_timer_add_to(current_ioloop, source_filename,
1189 return io_wait_timer_move_to(_timer, current_ioloop);