Lines Matching refs:evmap_io
57 struct evmap_io { struct
82 struct evmap_io evmap_io; member
184 #define FDINFO_OFFSET sizeof(struct evmap_io)
252 evmap_io_init(struct evmap_io *entry) in evmap_io_init()
267 struct evmap_io *ctx = NULL; in evmap_io_add()
279 if (evmap_make_space(io, fd, sizeof(struct evmap_io *)) == -1) in evmap_io_add()
283 GET_IO_SLOT_AND_CTOR(ctx, io, fd, evmap_io, evmap_io_init, in evmap_io_add()
316 void *extra = ((char*)ctx) + sizeof(struct evmap_io); in evmap_io_add()
340 struct evmap_io *ctx; in evmap_io_del()
354 GET_IO_SLOT(ctx, io, fd, evmap_io); in evmap_io_del()
376 void *extra = ((char*)ctx) + sizeof(struct evmap_io); in evmap_io_del()
393 struct evmap_io *ctx; in evmap_io_active()
399 GET_IO_SLOT(ctx, io, fd, evmap_io); in evmap_io_active()
482 struct evmap_io *ctx; in evmap_io_get_fdinfo()
483 GET_IO_SLOT(ctx, map, fd, evmap_io); in evmap_io_get_fdinfo()
485 return ((char*)ctx) + sizeof(struct evmap_io); in evmap_io_get_fdinfo()
517 struct evmap_io *ctx; in event_change_get_fdinfo()
518 GET_IO_SLOT(ctx, &base->io, change->fd, evmap_io); in event_change_get_fdinfo()
519 ptr = ((char*)ctx) + sizeof(struct evmap_io); in event_change_get_fdinfo()
543 struct evmap_io *io = base->io.entries[i]; in event_changelist_check()
548 ( ((char*)io) + sizeof(struct evmap_io) ); in event_changelist_check()
752 struct evmap_io *ctx = &(*mapent)->ent.evmap_io;
756 struct evmap_io *ctx = io->entries[i];