Searched refs:peak_fd (Results 1 – 1 of 1) sorted by relevance
172 int peak_fd = -1, peak_fd2 = -1, peak_fd3 = -1, peak_fd4 = -1; in test_memcg_current_peak() local202 peak_fd = cg_open(memcg, "memory.peak", O_RDWR | O_APPEND | O_CLOEXEC); in test_memcg_current_peak()204 if (peak_fd == -1) { in test_memcg_current_peak()215 if (fstat(peak_fd, &ss)) in test_memcg_current_peak()236 peak_reset = write(peak_fd, reset_string, sizeof(reset_string)); in test_memcg_current_peak()266 peak = cg_read_long_fd(peak_fd); in test_memcg_current_peak()278 peak = cg_read_long_fd(peak_fd); in test_memcg_current_peak()297 close(peak_fd); in test_memcg_current_peak()