Searched refs:hotpluggable_num (Results 1 - 1 of 1) sorted by relevance

/linux-master/tools/testing/selftests/memory-hotplug/
H A Dmem-on-off-test.sh186 hotpluggable_num=`hotpluggable_offline_memory | wc -l`
188 if [ "$hotpluggable_num" -gt 0 ]; then
202 hotpluggable_num=`hotpluggable_online_memory | wc -l`
203 target=`echo "a=$hotpluggable_num*$ratio; if ( a%100 ) a/100+1 else a/100" | bc`
205 echo -e "\t trying to offline $target out of $hotpluggable_num memory block(s):"
225 hotpluggable_num=`hotpluggable_offline_memory | wc -l`
227 if [ "$hotpluggable_num" -gt 0 ]; then

Completed in 126 milliseconds