Lines Matching +full:8 +full:mb
87 mb=$(($kb / 1024))
88 echo $mb
91 MB=$(get_machine_hugepage_size)
101 echo "$cgroup_limit" >$cgroup_path/$name/hugetlb.${MB}MB.$fault_limit_file
105 $cgroup_path/$name/hugetlb.${MB}MB.$reservation_limit_file
117 local path="$cgroup_path/$cgroup/hugetlb.${MB}MB.$reservation_usage_file"
130 local path="$cgroup_path/$cgroup/hugetlb.${MB}MB.$reservation_usage_file"
143 local path="$cgroup_path/$cgroup/hugetlb.${MB}MB.$fault_usage_file"
160 local expect_failure="$8"
169 local hugetlb_usage=$cgroup_path/$cgroup/hugetlb.${MB}MB.$fault_usage_file
170 local reserved_usage=$cgroup_path/$cgroup/hugetlb.${MB}MB.$reservation_usage_file
270 local size=$(($1 * ${MB} * 1024 * 1024))
273 local cgroup_limit=$(($4 * ${MB} * 1024 * 1024))
274 local reservation_limit=$(($5 * ${MB} * 1024 * 1024))
277 local private="$8"
293 mount -t hugetlbfs -o pagesize=${MB}M,size=256M none /mnt/huge
301 local final_hugetlb=$(cat $cgroup_path/hugetlb_cgroup_test/hugetlb.${MB}MB.$fault_usage_file)
302 …local final_reservation=$(cat $cgroup_path/hugetlb_cgroup_test/hugetlb.${MB}MB.$reservation_usage_…
319 local write2="$8"
347 mount -t hugetlbfs -o pagesize=${MB}M,size=256M none /mnt/huge
358 local cgroup1_hugetlb_usage=$cgroup_path/hugetlb_cgroup_test1/hugetlb.${MB}MB.$fault_usage_file
359 …local cgroup1_reservation_usage=$cgroup_path/hugetlb_cgroup_test1/hugetlb.${MB}MB.$reservation_usa…
360 local cgroup2_hugetlb_usage=$cgroup_path/hugetlb_cgroup_test2/hugetlb.${MB}MB.$fault_usage_file
361 …local cgroup2_reservation_usage=$cgroup_path/hugetlb_cgroup_test2/hugetlb.${MB}MB.$reservation_usa…
432 expect_equal "$((5 * $MB * 1024 * 1024))" "$hugetlb_difference" \
440 expect_equal "$((5 * $MB * 1024 * 1024))" "$reserved_difference" \
460 expect_equal "$((5 * $MB * 1024 * 1024))" "$hugetlb_difference" \
463 expect_equal "$((5 * $MB * 1024 * 1024))" "$reserved_difference" \