Lines Matching defs:evmap_io

55 /** An entry for an evmap_io list: notes all the events that want to read or
58 struct evmap_io {
74 struct evmap_io. But on other platforms (windows), sockets are not
76 There, we use a hashtable to implement evmap_io.
84 struct evmap_io evmap_io;
186 #define FDINFO_OFFSET sizeof(struct evmap_io)
252 /** Constructor for struct evmap_io */
254 evmap_io_init(struct evmap_io *entry)
270 struct evmap_io *ctx = NULL;
282 if (evmap_make_space(io, fd, sizeof(struct evmap_io *)) == -1)
286 GET_IO_SLOT_AND_CTOR(ctx, io, fd, evmap_io, evmap_io_init,
326 void *extra = ((char*)ctx) + sizeof(struct evmap_io);
351 struct evmap_io *ctx;
365 GET_IO_SLOT(ctx, io, fd, evmap_io);
395 void *extra = ((char*)ctx) + sizeof(struct evmap_io);
415 struct evmap_io *ctx;
422 GET_IO_SLOT(ctx, io, fd, evmap_io);
509 struct evmap_io *ctx;
510 GET_IO_SLOT(ctx, map, fd, evmap_io);
512 return ((char*)ctx) + sizeof(struct evmap_io);
519 struct event_base *, evutil_socket_t, struct evmap_io *, void *);
523 * fn(base, signum, evmap_io, arg), where fn is the user-provided
524 * function, base is the event_base, signum is the signal number, evmap_io
525 * is an evmap_io structure containing a list of events pending on the
545 struct evmap_io *ctx = &(*mapent)->ent.evmap_io;
549 struct evmap_io *ctx = iomap->entries[fd];
597 struct evmap_io *ctx, void *arg)
606 extra = ((char*)ctx) + sizeof(struct evmap_io);
668 struct evmap_io *io_info, void *arg)
715 struct evmap_io *ctx;
716 GET_IO_SLOT(ctx, &base->io, change->fd, evmap_io);
717 ptr = ((char*)ctx) + sizeof(struct evmap_io);
726 evutil_socket_t fd, struct evmap_io *io, void *arg)
731 ( ((char*)io) + sizeof(struct evmap_io) );
946 struct evmap_io *io_info, void *arg)
1015 struct evmap_io *io_info, void *arg)