Searched refs:input_fd (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/tools/perf/util/ |
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()
|
D | trace-event-read.c | 21 static int input_fd; variable 56 r = __do_read(input_fd, data, size); in do_read() 108 r = read(input_fd, &c, 1); in read_string() 161 lseek(input_fd, size, SEEK_CUR); in read_proc_kallsyms() 390 input_fd = fd; in trace_report()
|