Home
last modified time | relevance | path

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

/xen-4.10.0-shim-comet/tools/libxl/
A Dcheck-xl-vcpupin-parse143 nr_cpus_per_node=`xl info -n | sed '/cpu:/,/numa_info/!d' | head -n -1 | \
238 expected_range="$nr_cpus_per_node-$((nr_cpus - 1))"
278 cpu=$(($RANDOM % nr_cpus_per_node + nr_cpus_per_node*node))
279 if [ $cpu -eq $((nr_cpus_per_node*node)) ]; then
281 elif [ $cpu -eq $((nr_cpus_per_node*node + 1)) ]; then
283 elif [ $cpu -eq $((nr_cpus_per_node*(node+1) - 2)) ]; then
285 elif [ $cpu -eq $((nr_cpus_per_node*(node+1) - 1)) ]; then

Completed in 2 milliseconds