Searched refs:peak_fd4 (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() local257 peak_fd4 = cg_open(memcg, "memory.peak", O_RDWR | O_APPEND | O_CLOEXEC); in test_memcg_current_peak()259 if (peak_fd4 == -1) in test_memcg_current_peak()262 peak_reset = write(peak_fd4, reset_string, sizeof(reset_string)); in test_memcg_current_peak()282 peak = cg_read_long_fd(peak_fd4); in test_memcg_current_peak()291 if (close(peak_fd4)) in test_memcg_current_peak()303 close(peak_fd4); in test_memcg_current_peak()