Searched refs:stbuf (Results 1 – 5 of 5) sorted by relevance
| /linux/net/9p/ |
| H A D | protocol.c | 196 void p9stat_free(struct p9_wstat *stbuf) in p9stat_free() argument 198 kfree(stbuf->name); in p9stat_free() 199 stbuf->name = NULL; in p9stat_free() 200 kfree(stbuf->uid); in p9stat_free() 201 stbuf->uid = NULL; in p9stat_free() 202 kfree(stbuf->gid); in p9stat_free() 203 stbuf->gid = NULL; in p9stat_free() 204 kfree(stbuf->muid); in p9stat_free() 205 stbuf->muid = NULL; in p9stat_free() 206 kfree(stbuf->extension); in p9stat_free() [all …]
|
| /linux/tools/perf/util/ |
| H A D | zlib.c | 22 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()
|
| H A D | symbol-minimal.c | 223 struct stat stbuf; in sysfs__read_build_id() 231 if (fstat(fd, &stbuf) < 0) in sysfs__read_build_id() 234 buf_size = stbuf.st_size; in sysfs__read_build_id() 211 struct stat stbuf; sysfs__read_build_id() local
|
| H A D | cgroup.c | 91 struct statfs stbuf; in cgroup_is_v2() local 96 if (statfs(mnt, &stbuf) < 0) in cgroup_is_v2() 99 return (stbuf.f_type == CGROUP2_SUPER_MAGIC); in cgroup_is_v2()
|
| H A D | s390-cpumsf.c | 1095 struct stat stbuf; in s390_cpumsf__config() local 1106 rc = stat(sf->logdir, &stbuf); in s390_cpumsf__config() 1107 if (rc == -1 || !S_ISDIR(stbuf.st_mode)) { in s390_cpumsf__config()
|