Searched refs:temp_fd (Results 1 – 2 of 2) sorted by relevance
613 int temp_fd; in tracing_data_get() local623 temp_fd = open(tdata->temp_file, O_RDWR); in tracing_data_get()624 if (temp_fd < 0) { in tracing_data_get()634 output_fd = temp_fd; in tracing_data_get()
1111 int ret, temp_fd; in read_gnu_debugdata() 1146 temp_fd = mkostemp(temp_filename, O_CLOEXEC); in symsrc__init() 1147 if (temp_fd < 0) { in symsrc__init() 1155 ret = lzma_decompress_stream_to_file(wrapped, temp_fd); in symsrc__init() 1159 close(temp_fd); in symsrc__init() 1163 elf_embedded = elf_begin(temp_fd, PERF_ELF_C_READ_MMAP, NULL); in symsrc__init() 1168 close(temp_fd); in symsrc__init() 1172 *fd_ret = temp_fd; in symsrc__init() 1078 int ret, temp_fd; read_gnu_debugdata() local