leaf_info
struct leaf_info *leaves = mmap(NULL, n_leafs * sizeof(struct leaf_info),
munmap(leaves, n_leafs * sizeof(struct leaf_info));