Home
last modified time | relevance | path

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

/linux-6.1.9/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.1.9/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.c1097 struct stat stbuf; in s390_cpumsf__config() local
1108 rc = stat(sf->logdir, &stbuf); in s390_cpumsf__config()
1109 if (rc == -1 || !S_ISDIR(stbuf.st_mode)) { in s390_cpumsf__config()
/linux-6.1.9/fs/fuse/
Dinode.c507 static void convert_fuse_statfs(struct kstatfs *stbuf, struct fuse_kstatfs *attr) in convert_fuse_statfs() argument
509 stbuf->f_type = FUSE_SUPER_MAGIC; in convert_fuse_statfs()
510 stbuf->f_bsize = attr->bsize; in convert_fuse_statfs()
511 stbuf->f_frsize = attr->frsize; in convert_fuse_statfs()
512 stbuf->f_blocks = attr->blocks; in convert_fuse_statfs()
513 stbuf->f_bfree = attr->bfree; in convert_fuse_statfs()
514 stbuf->f_bavail = attr->bavail; in convert_fuse_statfs()
515 stbuf->f_files = attr->files; in convert_fuse_statfs()
516 stbuf->f_ffree = attr->ffree; in convert_fuse_statfs()
517 stbuf->f_namelen = attr->namelen; in convert_fuse_statfs()
/linux-6.1.9/include/net/9p/
Dclient.h287 void p9stat_free(struct p9_wstat *stbuf);