Lines Matching full:current
99 long old_current, expected_current, current; in hugetlb_test_program() local
102 old_current = cg_read_long(test_group, "memory.current"); in hugetlb_test_program()
104 current = cg_read_long(test_group, "memory.current"); in hugetlb_test_program()
105 if (current - old_current >= MB(2)) { in hugetlb_test_program()
108 ksft_print_msg("before: %ld, after: %ld\n", old_current, current); in hugetlb_test_program()
117 current = cg_read_long(test_group, "memory.current"); in hugetlb_test_program()
118 if (current - old_current >= MB(2)) { in hugetlb_test_program()
120 ksft_print_msg("before: %ld, after: %ld\n", old_current, current); in hugetlb_test_program()
123 old_current = current; in hugetlb_test_program()
128 current = cg_read_long(test_group, "memory.current"); in hugetlb_test_program()
129 if (!values_close(expected_current, current, 5)) { in hugetlb_test_program()
133 expected_current, current); in hugetlb_test_program()
139 current = cg_read_long(test_group, "memory.current"); in hugetlb_test_program()
141 if (!values_close(expected_current, current, 5)) { in hugetlb_test_program()
145 expected_current, current); in hugetlb_test_program()
151 current = cg_read_long(test_group, "memory.current"); in hugetlb_test_program()
153 if (!values_close(expected_current, current, 5)) { in hugetlb_test_program()
157 expected_current, current); in hugetlb_test_program()