MCPcopy Create free account
hub / github.com/ElementsProject/lightning / gossmap_disable_mmap

Function gossmap_disable_mmap

common/gossmap.c:2024–2029  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2022}
2023
2024void gossmap_disable_mmap(struct gossmap *map)
2025{
2026 if (map->mmap)
2027 munmap(map->mmap, map->map_size);
2028 map->mmap = NULL;
2029}
2030
2031void gossmap_stats(const struct gossmap *map, u64 *num_live, u64 *num_dead)
2032{

Callers 2

map_catchupFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected