Lines Matching +full:4 +full:mb
4 # Kselftest framework requirement - SKIP code is 4.
5 ksft_skip=4
44 mb=$(($kb / 1024))
45 echo $mb
48 MB=$(get_machine_hugepage_size)
69 if [ ! -z ${3:-} ] && [ ! -z ${4:-} ]; then
71 expected_b_hugetlb="$4"
79 echo actual a = $((${actual_a%% *} / 1024 / 1024)) MB
80 echo expected a = $((${expected_a%% *} / 1024 / 1024)) MB
88 actual_a_hugetlb="$(cat "$CGROUP_ROOT"/a/hugetlb.${MB}MB.$usage_file)"
91 echo actual a hugetlb = $((${actual_a_hugetlb%% *} / 1024 / 1024)) MB
92 echo expected a hugetlb = $((${expected_a_hugetlb%% *} / 1024 / 1024)) MB
107 echo actual b = $((${actual_b%% *} / 1024 / 1024)) MB
108 echo expected b = $((${expected_b%% *} / 1024 / 1024)) MB
116 actual_b_hugetlb="$(cat "$CGROUP_ROOT"/a/b/hugetlb.${MB}MB.$usage_file)"
119 echo actual b hugetlb = $((${actual_b_hugetlb%% *} / 1024 / 1024)) MB
120 echo expected b hugetlb = $((${expected_b_hugetlb%% *} / 1024 / 1024)) MB
173 size=$((${MB} * 1024 * 1024 * 25)) # 50MB = 25 * 2MB hugepages.