Home
last modified time | relevance | path

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

/freebsd/contrib/ntp/sntp/libevent/
H A Devmap.c110 HT_PROTOTYPE(event_io_map, event_map_entry, map_node, hashsocket, eqsocket) in HT_PROTOTYPE() argument
111 HT_GENERATE(event_io_map, event_map_entry, map_node, hashsocket, eqsocket, in HT_PROTOTYPE()
118 ent_ = HT_FIND(event_io_map, map, &key_); \ in HT_PROTOTYPE()
126 HT_FIND_OR_INSERT_(event_io_map, map_node, hashsocket, map, \
142 void evmap_io_initmap_(struct event_io_map *ctx)
144 HT_INIT(event_io_map, ctx);
147 void evmap_io_clear_(struct event_io_map *ctx) in evmap_io_clear_()
150 for (ent = HT_START(event_io_map, ctx); ent; ent = next) { in evmap_io_clear_()
152 next = HT_NEXT_RMV(event_io_map, ctx, ent); in evmap_io_clear_()
155 HT_CLEAR(event_io_map, ctx); /* remove all storage held by the ctx. */ in evmap_io_clear_()
[all …]
H A Devmap-internal.h42 void evmap_io_initmap_(struct event_io_map* ctx);
49 void evmap_io_clear_(struct event_io_map* ctx);
91 void *evmap_io_get_fdinfo_(struct event_io_map *ctx, evutil_socket_t fd);
H A Devent-internal.h142 HT_HEAD(event_io_map, event_map_entry);
144 #define event_io_map event_signal_map macro
282 struct event_io_map io;
/freebsd/contrib/libevent/
H A Devmap.c110 HT_PROTOTYPE(event_io_map, event_map_entry, map_node, hashsocket, eqsocket) in HT_PROTOTYPE() argument
111 HT_GENERATE(event_io_map, event_map_entry, map_node, hashsocket, eqsocket, in HT_PROTOTYPE()
118 ent_ = HT_FIND(event_io_map, map, &key_); \ in HT_PROTOTYPE()
126 HT_FIND_OR_INSERT_(event_io_map, map_node, hashsocket, map, \
142 void evmap_io_initmap_(struct event_io_map *ctx)
144 HT_INIT(event_io_map, ctx);
147 void evmap_io_clear_(struct event_io_map *ctx) in evmap_io_clear_()
150 for (ent = HT_START(event_io_map, ctx); ent; ent = next) { in evmap_io_clear_()
152 next = HT_NEXT_RMV(event_io_map, ctx, ent); in evmap_io_clear_()
155 HT_CLEAR(event_io_map, ctx); /* remove all storage held by the ctx. */ in evmap_io_clear_()
[all …]
H A Devmap-internal.h42 void evmap_io_initmap_(struct event_io_map* ctx);
49 void evmap_io_clear_(struct event_io_map* ctx);
91 void *evmap_io_get_fdinfo_(struct event_io_map *ctx, evutil_socket_t fd);
H A Devent-internal.h142 HT_HEAD(event_io_map, event_map_entry);
144 #define event_io_map event_signal_map macro
282 struct event_io_map io;