Searched refs:RTREE_BITS_PER_LEVEL (Results 1 – 2 of 2) sorted by relevance
19 RTREE_BITS_PER_LEVEL)); in rtree_new()22 bits_in_leaf = (bits % RTREE_BITS_PER_LEVEL) == 0 ? RTREE_BITS_PER_LEVEL in rtree_new()23 : (bits % RTREE_BITS_PER_LEVEL); in rtree_new()25 height = 1 + (bits - bits_in_leaf) / RTREE_BITS_PER_LEVEL; in rtree_new()26 if ((height-1) * RTREE_BITS_PER_LEVEL + bits_in_leaf != bits) in rtree_new()30 assert((height-1) * RTREE_BITS_PER_LEVEL + bits_in_leaf == bits); in rtree_new()38 rtree->levels[0].bits = (height > 1) ? RTREE_BITS_PER_LEVEL : in rtree_new()44 rtree->levels[i].bits = RTREE_BITS_PER_LEVEL; in rtree_new()46 RTREE_BITS_PER_LEVEL; in rtree_new()
18 #define RTREE_BITS_PER_LEVEL (1U << LG_RTREE_BITS_PER_LEVEL) macro21 ((1U << (LG_SIZEOF_PTR+3)) / RTREE_BITS_PER_LEVEL)