Lines Matching refs:jitdump_fd
101 static int jitdump_fd = -1; variable
166 jitdump_fd = open(filename, O_CREAT | O_TRUNC | O_RDWR, 0666); in zend_jit_perf_jitdump_open()
167 if (jitdump_fd < 0) { in zend_jit_perf_jitdump_open()
174 MAP_PRIVATE, jitdump_fd, 0); in zend_jit_perf_jitdump_open()
177 close(jitdump_fd); in zend_jit_perf_jitdump_open()
178 jitdump_fd = -1; in zend_jit_perf_jitdump_open()
190 zend_quiet_write(jitdump_fd, &jit_hdr, sizeof(jit_hdr)); in zend_jit_perf_jitdump_open()
195 if (jitdump_fd >= 0) { in zend_jit_perf_jitdump_close()
201 zend_quiet_write(jitdump_fd, &rec, sizeof(rec)); in zend_jit_perf_jitdump_close()
202 close(jitdump_fd); in zend_jit_perf_jitdump_close()
212 if (jitdump_fd >= 0) { in zend_jit_perf_jitdump_register()
248 zend_quiet_write(jitdump_fd, &rec, sizeof(rec)); in zend_jit_perf_jitdump_register()
249 zend_quiet_write(jitdump_fd, name, len + 1); in zend_jit_perf_jitdump_register()
250 zend_quiet_write(jitdump_fd, start, size); in zend_jit_perf_jitdump_register()