Lines Matching defs:io
71 implement io maps just like signal maps: as an array of pointers to
266 struct event_io_map *io = &base->io;
278 if (fd >= io->nentries) {
279 if (evmap_make_space(io, fd, sizeof(struct evmap_io *)) == -1)
283 GET_IO_SLOT_AND_CTOR(ctx, io, fd, evmap_io, evmap_io_init,
339 struct event_io_map *io = &base->io;
350 if (fd >= io->nentries)
354 GET_IO_SLOT(ctx, io, fd, evmap_io);
392 struct event_io_map *io = &base->io;
397 EVUTIL_ASSERT(fd < io->nentries);
399 GET_IO_SLOT(ctx, io, fd, evmap_io);
518 GET_IO_SLOT(ctx, &base->io, change->fd, evmap_io);
542 for (i = 0; i < base->io.nentries; ++i) {
543 struct evmap_io *io = base->io.entries[i];
545 if (!io)
548 ( ((char*)io) + sizeof(struct evmap_io) );
736 struct event_io_map *io = &base->io;
751 HT_FOREACH(mapent, event_io_map, io) {
755 for (i = 0; i < io->nentries; ++i) {
756 struct evmap_io *ctx = io->entries[i];
797 * pending signals and io events.