Lines Matching refs:io
26 struct io *event_io;
39 struct io_notify *io;
65 io = io_notify_fd_find(&ctx->fd_ctx, event->wd);
66 if (io != NULL) {
70 io->fd = -1;
72 io_loop_call_io(&io->io);
89 io_callback_t *callback, void *context, struct io **io_r)
133 void io_loop_notify_remove(struct io *_io)
137 struct io_notify *io = (struct io_notify *)_io;
139 if (io->fd != -1) {
142 if (inotify_rm_watch(ctx->inotify_fd, io->fd) < 0 &&
147 io_notify_fd_free(&ctx->fd_ctx, io);
197 struct io_notify *io = ctx->fd_ctx.notifies;
198 struct io *_io = &io->io;
203 _io->source_linenum, io->fd);
215 struct io_notify *io;
229 for (io = ctx->fd_ctx.notifies; io != NULL; io = io->next)
230 io->fd = -1;