Searched refs:input_fd (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/tools/perf/util/
H A Dzlib.c16 int input_fd; gzip_decompress_to_file() local
29 input_fd = open(input, O_RDONLY); gzip_decompress_to_file()
30 if (input_fd < 0) gzip_decompress_to_file()
33 if (fstat(input_fd, &stbuf) < 0) gzip_decompress_to_file()
36 ptr = mmap(NULL, stbuf.st_size, PROT_READ, MAP_PRIVATE, input_fd, 0); gzip_decompress_to_file()
75 close(input_fd); gzip_decompress_to_file()
H A Dtrace-event-read.c40 static int input_fd; variable
75 r = __do_read(input_fd, data, size); do_read()
127 r = read(input_fd, &c, 1); read_string()
180 lseek(input_fd, size, SEEK_CUR); read_proc_kallsyms()
361 input_fd = fd; trace_report()

Completed in 100 milliseconds