Searched refs:background_connections (Results 1 – 1 of 1) sorted by relevance
52 static hash_map_t *background_connections = NULL; variable65 if (!background_connections) { in background_connections_lazy_init()66 background_connections = hash_map_new(background_connection_buckets, in background_connections_lazy_init()68 assert(background_connections); in background_connections_lazy_init()76 background_connection_t *connection = hash_map_get(background_connections, address); in background_connection_add()80 hash_map_set(background_connections, &(connection->address), connection); in background_connection_add()88 if (address && background_connections) { in background_connection_remove()89 return hash_map_erase(background_connections, address); in background_connection_remove()96 if (background_connections) { in background_connections_clear()97 hash_map_clear(background_connections); in background_connections_clear()[all …]