Home
last modified time | relevance | path

Searched refs:event_io_map (Results 1 – 3 of 3) sorted by relevance

/external/libevent/
Devmap.c107 HT_PROTOTYPE(event_io_map, event_map_entry, map_node, hashsocket, eqsocket) in HT_PROTOTYPE() argument
108 HT_GENERATE(event_io_map, event_map_entry, map_node, hashsocket, eqsocket, in HT_PROTOTYPE()
115 _ent = HT_FIND(event_io_map, map, &_key); \ in HT_PROTOTYPE()
123 _HT_FIND_OR_INSERT(event_io_map, map_node, hashsocket, map, \
139 void evmap_io_initmap(struct event_io_map *ctx)
141 HT_INIT(event_io_map, ctx);
144 void evmap_io_clear(struct event_io_map *ctx) in evmap_io_clear()
147 for (ent = HT_START(event_io_map, ctx); ent; ent = next) { in evmap_io_clear()
149 next = HT_NEXT_RMV(event_io_map, ctx, ent); in evmap_io_clear()
152 HT_CLEAR(event_io_map, ctx); /* remove all storage held by the ctx. */ in evmap_io_clear()
[all …]
Devmap-internal.h42 void evmap_io_initmap(struct event_io_map* ctx);
49 void evmap_io_clear(struct event_io_map* ctx);
88 void *evmap_io_get_fdinfo(struct event_io_map *ctx, evutil_socket_t fd);
Devent-internal.h115 HT_HEAD(event_io_map, event_map_entry);
117 #define event_io_map event_signal_map macro
233 struct event_io_map io;