Home
last modified time | relevance | path

Searched refs:maxID (Results 1 – 1 of 1) sorted by relevance

/haiku/src/system/kernel/
H A Dcpu.cpp202 cpu_create_topology_node(cpu_topology_node* node, int32* maxID, int32 id) in cpu_create_topology_node() argument
214 newNode->children_count = maxID[level - 1]; in cpu_create_topology_node()
216 = new(std::nothrow) cpu_topology_node*[maxID[level - 1]]; in cpu_create_topology_node()
221 maxID[level - 1] * sizeof(cpu_topology_node*)); in cpu_create_topology_node()
260 int32 maxID[CPU_TOPOLOGY_LEVELS]; in cpu_build_topology_tree() local
261 memset(&maxID, 0, sizeof(maxID)); in cpu_build_topology_tree()
266 maxID[j] = max_c(maxID[j], gCPU[i].topology_id[j]); in cpu_build_topology_tree()
270 maxID[j]++; in cpu_build_topology_tree()
272 sCPUTopology.children_count = maxID[CPU_TOPOLOGY_LEVELS - 1]; in cpu_build_topology_tree()
274 = new(std::nothrow) cpu_topology_node*[maxID[CPU_TOPOLOGY_LEVELS - 1]]; in cpu_build_topology_tree()
[all …]