Lines Matching full:ratio
139 # Run with default of ratio=2 for Kselftest run
140 ratio=2
156 ratio=$OPTARG
157 if [ "$ratio" -gt 100 ] || [ "$ratio" -lt 0 ]; then
172 echo "Test scope: $ratio% hotplug memory"
191 # Offline $ratio percent of hot-pluggable memory
194 target=`echo "a=$hotpluggable_num*$ratio; if ( a%100 ) a/100+1 else a/100" | bc`
195 echo -e "\t offline $ratio% hot-pluggable memory in online state"
255 # Offline $ratio percent of hot-pluggable memory
259 if [ $((RANDOM % 100)) -lt $ratio ]; then
285 if [ $((RANDOM % 100)) -lt $ratio ]; then