Home
last modified time | relevance | path

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

/linux-6.6.21/net/9p/
Dprotocol.c196 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-6.6.21/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.c229 struct stat stbuf; in sysfs__read_build_id() local
237 if (fstat(fd, &stbuf) < 0) in sysfs__read_build_id()
240 buf_size = stbuf.st_size; in sysfs__read_build_id()
Dcgroup.c82 struct statfs stbuf; in cgroup_is_v2() local
87 if (statfs(mnt, &stbuf) < 0) in cgroup_is_v2()
90 return (stbuf.f_type == CGROUP2_SUPER_MAGIC); in cgroup_is_v2()
Ds390-cpumsf.c1098 struct stat stbuf; in s390_cpumsf__config() local
1109 rc = stat(sf->logdir, &stbuf); in s390_cpumsf__config()
1110 if (rc == -1 || !S_ISDIR(stbuf.st_mode)) { in s390_cpumsf__config()
/linux-6.6.21/fs/fuse/
Dinode.c586 static void convert_fuse_statfs(struct kstatfs *stbuf, struct fuse_kstatfs *attr) in convert_fuse_statfs() argument
588 stbuf->f_type = FUSE_SUPER_MAGIC; in convert_fuse_statfs()
589 stbuf->f_bsize = attr->bsize; in convert_fuse_statfs()
590 stbuf->f_frsize = attr->frsize; in convert_fuse_statfs()
591 stbuf->f_blocks = attr->blocks; in convert_fuse_statfs()
592 stbuf->f_bfree = attr->bfree; in convert_fuse_statfs()
593 stbuf->f_bavail = attr->bavail; in convert_fuse_statfs()
594 stbuf->f_files = attr->files; in convert_fuse_statfs()
595 stbuf->f_ffree = attr->ffree; in convert_fuse_statfs()
596 stbuf->f_namelen = attr->namelen; in convert_fuse_statfs()
/linux-6.6.21/include/net/9p/
Dclient.h287 void p9stat_free(struct p9_wstat *stbuf);