Home
last modified time | relevance | path

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

/linux-5.19.10/tools/testing/selftests/memory-hotplug/
Dmem-on-off-test.sh177 hotpluggable_num=`hotpluggable_offline_memory | wc -l`
179 if [ "$hotpluggable_num" -gt 0 ]; then
193 hotpluggable_num=`hotpluggable_online_memory | wc -l`
194 target=`echo "a=$hotpluggable_num*$ratio; if ( a%100 ) a/100+1 else a/100" | bc`
196 echo -e "\t trying to offline $target out of $hotpluggable_num memory block(s):"
213 hotpluggable_num=`hotpluggable_offline_memory | wc -l`
215 if [ "$hotpluggable_num" -gt 0 ]; then