Searched refs:input_fd (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/tools/perf/util/ |
H A D | zlib.c | 19 int input_fd; in gzip_decompress_to_file() local 32 input_fd = open(input, O_RDONLY); in gzip_decompress_to_file() 33 if (input_fd < 0) in gzip_decompress_to_file() 36 if (fstat(input_fd, &stbuf) < 0) in gzip_decompress_to_file() 39 ptr = mmap(NULL, stbuf.st_size, PROT_READ, MAP_PRIVATE, input_fd, 0); in gzip_decompress_to_file() 78 close(input_fd); in gzip_decompress_to_file()
|
H A D | trace-event-read.c | 23 static int input_fd; variable 58 r = __do_read(input_fd, data, size); in do_read() 110 r = read(input_fd, &c, 1); in read_string() 163 lseek(input_fd, size, SEEK_CUR); in read_proc_kallsyms() 392 input_fd = fd; in trace_report()
|