Home
last modified time | relevance | path

Searched refs:old_current (Results 1 – 1 of 1) sorted by relevance

/linux/tools/testing/selftests/cgroup/
H A Dtest_hugetlb_memcg.c99 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()
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()
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()
127 expected_current = old_current + MB(2); in hugetlb_test_program()
140 expected_current = old_current + MB(8); in hugetlb_test_program()
152 expected_current = old_current; in hugetlb_test_program()