Home
last modified time | relevance | path

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

/netbsd-src/external/bsd/libevent/dist/
H A Devmap.c114 HT_PROTOTYPE(event_io_map, event_map_entry, map_node, hashsocket, eqsocket) in HT_PROTOTYPE() argument
115 HT_GENERATE(event_io_map, event_map_entry, map_node, hashsocket, eqsocket, in HT_PROTOTYPE()
122 ent_ = HT_FIND(event_io_map, map, &key_); \ in HT_PROTOTYPE()
130 HT_FIND_OR_INSERT_(event_io_map, map_node, hashsocket, map, \
146 void evmap_io_initmap_(struct event_io_map *ctx)
148 HT_INIT(event_io_map, ctx);
151 void evmap_io_clear_(struct event_io_map *ctx) in evmap_io_clear_()
154 for (ent = HT_START(event_io_map, ctx); ent; ent = next) { in evmap_io_clear_()
156 next = HT_NEXT_RMV(event_io_map, ctx, ent); in evmap_io_clear_()
159 HT_CLEAR(event_io_map, ctx); /* remove all storage held by the ctx. */ in evmap_io_clear_()
[all …]
H A Devmap-internal.h43 void evmap_io_initmap_(struct event_io_map* ctx);
50 void evmap_io_clear_(struct event_io_map* ctx);
92 void *evmap_io_get_fdinfo_(struct event_io_map *ctx, evutil_socket_t fd);
H A Devent-internal.h144 HT_HEAD(event_io_map, event_map_entry);
146 #define event_io_map event_signal_map macro
284 struct event_io_map io;
/netbsd-src/external/bsd/ntp/dist/sntp/libevent/
H A Devmap-internal.h44 void evmap_io_initmap_(struct event_io_map* ctx);
51 void evmap_io_clear_(struct event_io_map* ctx);
93 void *evmap_io_get_fdinfo_(struct event_io_map *ctx, evutil_socket_t fd);