Searched refs:node_size_log2 (Results 1 – 3 of 3) sorted by relevance
44 arr->node_size_log2 = util_logbase2_64(node_size); in util_sparse_array_init()45 assert(node_size >= 2 && node_size == (1ull << arr->node_size_log2)); in util_sparse_array_init()79 size_t node_size = 1ull << arr->node_size_log2; in _util_sparse_array_node_finish()102 size = arr->elem_size << arr->node_size_log2; in _util_sparse_array_node_alloc()104 size = sizeof(uintptr_t) << arr->node_size_log2; in _util_sparse_array_node_alloc()134 const unsigned node_size_log2 = arr->node_size_log2; in util_sparse_array_get() local138 uint64_t idx_iter = idx >> node_size_log2; in util_sparse_array_get()140 idx_iter >>= node_size_log2; in util_sparse_array_get()150 uint64_t root_idx = idx >> (root_level * node_size_log2); in util_sparse_array_get()151 if (likely(root_idx < (1ull << node_size_log2))) in util_sparse_array_get()[all …]
70 unsigned node_size_log2; member
2399 - util/sparse_array: Add a node_size_log2 temporary