Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/cgroup/
H A Dtest_memcontrol.c234 static const char reset_string[] = "reset\n"; in test_memcg_current_peak() local
236 peak_reset = write(peak_fd, reset_string, sizeof(reset_string)); in test_memcg_current_peak()
237 if (peak_reset != sizeof(reset_string)) in test_memcg_current_peak()
240 peak_reset = write(peak_fd2, reset_string, sizeof(reset_string)); in test_memcg_current_peak()
241 if (peak_reset != sizeof(reset_string)) in test_memcg_current_peak()
244 peak_reset = write(peak_fd3, reset_string, sizeof(reset_string)); in test_memcg_current_peak()
245 if (peak_reset != sizeof(reset_string)) in test_memcg_current_peak()
262 peak_reset = write(peak_fd4, reset_string, sizeof(reset_string)); in test_memcg_current_peak()
263 if (peak_reset != sizeof(reset_string)) in test_memcg_current_peak()
944 static const char reset_string[] = "foobarbaz"; in test_memcg_swap_max_peak() local
[all …]