Lines Matching refs:peak_reset

169 	long current, peak, peak_reset;  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()
995 int peak_reset = write(swap_peak_fd, reset_string, sizeof(reset_string)); in test_memcg_swap_max_peak() local
997 if (peak_reset != sizeof(reset_string)) in test_memcg_swap_max_peak()
1009 peak_reset = write(mem_peak_fd, reset_string, sizeof(reset_string)); in test_memcg_swap_max_peak()
1010 if (peak_reset != sizeof(reset_string)) in test_memcg_swap_max_peak()
1058 peak_reset = cg_write(memcg, "memory.swap.peak", (char *)reset_string); in test_memcg_swap_max_peak()
1059 if (peak_reset) in test_memcg_swap_max_peak()
1062 peak_reset = cg_write(memcg, "memory.peak", (char *)reset_string); in test_memcg_swap_max_peak()
1063 if (peak_reset) in test_memcg_swap_max_peak()
1067 peak_reset = write(swap_peak_fd, reset_string, sizeof(reset_string)); in test_memcg_swap_max_peak()
1068 if (peak_reset != sizeof(reset_string)) in test_memcg_swap_max_peak()
1071 peak_reset = write(mem_peak_fd, reset_string, sizeof(reset_string)); in test_memcg_swap_max_peak()
1072 if (peak_reset != sizeof(reset_string)) in test_memcg_swap_max_peak()