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