Lines Matching refs:jitdump_fd
104 static int jitdump_fd = -1; variable
169 jitdump_fd = open(filename, O_CREAT | O_TRUNC | O_RDWR, 0666); in zend_jit_perf_jitdump_open()
170 if (jitdump_fd < 0) { in zend_jit_perf_jitdump_open()
177 MAP_PRIVATE, jitdump_fd, 0); in zend_jit_perf_jitdump_open()
180 close(jitdump_fd); in zend_jit_perf_jitdump_open()
181 jitdump_fd = -1; in zend_jit_perf_jitdump_open()
193 zend_quiet_write(jitdump_fd, &jit_hdr, sizeof(jit_hdr)); in zend_jit_perf_jitdump_open()
198 if (jitdump_fd >= 0) { in zend_jit_perf_jitdump_close()
204 zend_quiet_write(jitdump_fd, &rec, sizeof(rec)); in zend_jit_perf_jitdump_close()
205 close(jitdump_fd); in zend_jit_perf_jitdump_close()
215 if (jitdump_fd >= 0) { in zend_jit_perf_jitdump_register()
251 zend_quiet_write(jitdump_fd, &rec, sizeof(rec)); in zend_jit_perf_jitdump_register()
252 zend_quiet_write(jitdump_fd, name, len + 1); in zend_jit_perf_jitdump_register()
253 zend_quiet_write(jitdump_fd, start, size); in zend_jit_perf_jitdump_register()