Lines Matching +full:4 +full:mb
4 # Kselftest framework requirement - SKIP code is 4.
5 ksft_skip=4
85 mb=$(($kb / 1024))
86 echo $mb
89 MB=$(get_machine_hugepage_size)
99 echo "$cgroup_limit" >$cgroup_path/$name/hugetlb.${MB}MB.$fault_limit_file
103 $cgroup_path/$name/hugetlb.${MB}MB.$reservation_limit_file
115 local path="$cgroup_path/$cgroup/hugetlb.${MB}MB.$reservation_usage_file"
128 local path="$cgroup_path/$cgroup/hugetlb.${MB}MB.$reservation_usage_file"
141 local path="$cgroup_path/$cgroup/hugetlb.${MB}MB.$fault_usage_file"
154 local write="$4"
167 local hugetlb_usage=$cgroup_path/$cgroup/hugetlb.${MB}MB.$fault_usage_file
168 local reserved_usage=$cgroup_path/$cgroup/hugetlb.${MB}MB.$reservation_usage_file
268 local size=$(($1 * ${MB} * 1024 * 1024))
271 local cgroup_limit=$(($4 * ${MB} * 1024 * 1024))
272 local reservation_limit=$(($5 * ${MB} * 1024 * 1024))
291 mount -t hugetlbfs -o pagesize=${MB}M,size=256M none /mnt/huge
299 local final_hugetlb=$(cat $cgroup_path/hugetlb_cgroup_test/hugetlb.${MB}MB.$fault_usage_file)
300 …local final_reservation=$(cat $cgroup_path/hugetlb_cgroup_test/hugetlb.${MB}MB.$reservation_usage_…
312 local cgroup_limit1="$4"
345 mount -t hugetlbfs -o pagesize=${MB}M,size=256M none /mnt/huge
356 local cgroup1_hugetlb_usage=$cgroup_path/hugetlb_cgroup_test1/hugetlb.${MB}MB.$fault_usage_file
357 …local cgroup1_reservation_usage=$cgroup_path/hugetlb_cgroup_test1/hugetlb.${MB}MB.$reservation_usa…
358 local cgroup2_hugetlb_usage=$cgroup_path/hugetlb_cgroup_test2/hugetlb.${MB}MB.$fault_usage_file
359 …local cgroup2_reservation_usage=$cgroup_path/hugetlb_cgroup_test2/hugetlb.${MB}MB.$reservation_usa…
430 expect_equal "$((5 * $MB * 1024 * 1024))" "$hugetlb_difference" \
438 expect_equal "$((5 * $MB * 1024 * 1024))" "$reserved_difference" \
458 expect_equal "$((5 * $MB * 1024 * 1024))" "$hugetlb_difference" \
461 expect_equal "$((5 * $MB * 1024 * 1024))" "$reserved_difference" \