Home
last modified time | relevance | path

Searched refs:stbuf (Results 1 – 4 of 4) sorted by relevance

/tools/perf/util/
Dzlib.c22 struct stat stbuf; in gzip_decompress_to_file() local
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()
47 zs.avail_in = stbuf.st_size; in gzip_decompress_to_file()
76 munmap(ptr, stbuf.st_size); in gzip_decompress_to_file()
Dsymbol-minimal.c227 struct stat stbuf; in sysfs__read_build_id() local
235 if (fstat(fd, &stbuf) < 0) in sysfs__read_build_id()
238 buf_size = stbuf.st_size; in sysfs__read_build_id()
Ds390-cpumsf.c1088 struct stat stbuf; in s390_cpumsf__config() local
1099 rc = stat(sf->logdir, &stbuf); in s390_cpumsf__config()
1100 if (rc == -1 || !S_ISDIR(stbuf.st_mode)) { in s390_cpumsf__config()
/tools/perf/pmu-events/
Djevents.c1077 struct stat stbuf; in main() local
1102 if (stat(ldirname, &stbuf) < 0) { in main()