Lines Matching full:ratio
148 # Run with default of ratio=2 for Kselftest run
149 ratio=2
165 ratio=$OPTARG
166 if [ "$ratio" -gt 100 ] || [ "$ratio" -lt 0 ]; then
181 echo "Test scope: $ratio% hotplug memory"
200 # Offline $ratio percent of hot-pluggable memory
203 target=`echo "a=$hotpluggable_num*$ratio; if ( a%100 ) a/100+1 else a/100" | bc`
204 echo -e "\t offline $ratio% hot-pluggable memory in online state"
267 # Offline $ratio percent of hot-pluggable memory
271 if [ $((RANDOM % 100)) -lt $ratio ]; then
297 if [ $((RANDOM % 100)) -lt $ratio ]; then