Lines Matching defs:loop
250 struct sd_event *loop = (struct sd_event *)_loop;
251 int first = 1; /* first to create and initialize the loop */
255 /* make sure we have an event loop */
257 if (!loop) {
258 if (sd_event_default(&loop) < 0) {
265 sd_event_ref(loop);
269 ptpriv->io_loop = loop;
272 * If the loop was initialized before, we do not need to
281 if (0 > sd_event_add_time(loop,
291 if (0 > sd_event_add_time(loop,
435 "systemd event loop",