Lines Matching refs:event_io_map
109 HT_PROTOTYPE(event_io_map, event_map_entry, map_node, hashsocket, eqsocket) in HT_PROTOTYPE() argument
110 HT_GENERATE(event_io_map, event_map_entry, map_node, hashsocket, eqsocket, in HT_PROTOTYPE()
117 ent_ = HT_FIND(event_io_map, map, &key_); \ in HT_PROTOTYPE()
125 HT_FIND_OR_INSERT_(event_io_map, map_node, hashsocket, map, \
141 void evmap_io_initmap_(struct event_io_map *ctx)
143 HT_INIT(event_io_map, ctx);
146 void evmap_io_clear_(struct event_io_map *ctx) in evmap_io_clear_()
149 for (ent = HT_START(event_io_map, ctx); ent; ent = next) { in evmap_io_clear_()
151 next = HT_NEXT_RMV(event_io_map, ctx, ent); in evmap_io_clear_()
154 HT_CLEAR(event_io_map, ctx); /* remove all storage held by the ctx. */ in evmap_io_clear_()
188 evmap_io_initmap_(struct event_io_map* ctx) in evmap_io_initmap_()
193 evmap_io_clear_(struct event_io_map* ctx) in evmap_io_clear_()
269 struct event_io_map *io = &base->io; in evmap_io_add_()
350 struct event_io_map *io = &base->io; in evmap_io_del_()
414 struct event_io_map *io = &base->io; in evmap_io_active_()
507 evmap_io_get_fdinfo_(struct event_io_map *map, evutil_socket_t fd) in evmap_io_get_fdinfo_()
540 struct event_io_map *iomap = &base->io;
544 HT_FOREACH(mapent, event_io_map, iomap) {