Home
last modified time | relevance | path

Searched refs:stbuf (Results 1 - 13 of 13) sorted by relevance

/kernel/linux/linux-5.10/net/9p/
H A Dprotocol.c31 void p9stat_free(struct p9_wstat *stbuf) in p9stat_free() argument
33 kfree(stbuf->name); in p9stat_free()
34 stbuf->name = NULL; in p9stat_free()
35 kfree(stbuf->uid); in p9stat_free()
36 stbuf->uid = NULL; in p9stat_free()
37 kfree(stbuf->gid); in p9stat_free()
38 stbuf->gid = NULL; in p9stat_free()
39 kfree(stbuf->muid); in p9stat_free()
40 stbuf->muid = NULL; in p9stat_free()
41 kfree(stbuf in p9stat_free()
190 struct p9_wstat *stbuf = p9pdu_vreadf() local
316 struct p9_stat_dotl *stbuf = p9pdu_vreadf() local
428 const struct p9_wstat *stbuf = p9pdu_vwritef() local
[all...]
/kernel/linux/linux-6.6/net/9p/
H A 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 in p9stat_free()
356 struct p9_wstat *stbuf = p9pdu_vreadf() local
482 struct p9_stat_dotl *stbuf = p9pdu_vreadf() local
594 const struct p9_wstat *stbuf = p9pdu_vwritef() local
[all...]
/kernel/linux/linux-5.10/tools/perf/util/
H A 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()
H A 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()
H A 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()
/kernel/linux/linux-6.6/tools/perf/util/
H A 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()
H A 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()
H A 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()
H A 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()
/kernel/linux/linux-5.10/fs/fuse/
H A Dinode.c467 static void convert_fuse_statfs(struct kstatfs *stbuf, struct fuse_kstatfs *attr) in convert_fuse_statfs() argument
469 stbuf->f_type = FUSE_SUPER_MAGIC; in convert_fuse_statfs()
470 stbuf->f_bsize = attr->bsize; in convert_fuse_statfs()
471 stbuf->f_frsize = attr->frsize; in convert_fuse_statfs()
472 stbuf->f_blocks = attr->blocks; in convert_fuse_statfs()
473 stbuf->f_bfree = attr->bfree; in convert_fuse_statfs()
474 stbuf->f_bavail = attr->bavail; in convert_fuse_statfs()
475 stbuf->f_files = attr->files; in convert_fuse_statfs()
476 stbuf->f_ffree = attr->ffree; in convert_fuse_statfs()
477 stbuf in convert_fuse_statfs()
[all...]
/kernel/linux/linux-6.6/fs/fuse/
H A Dinode.c589 static void convert_fuse_statfs(struct kstatfs *stbuf, struct fuse_kstatfs *attr) in convert_fuse_statfs() argument
591 stbuf->f_type = FUSE_SUPER_MAGIC; in convert_fuse_statfs()
592 stbuf->f_bsize = attr->bsize; in convert_fuse_statfs()
593 stbuf->f_frsize = attr->frsize; in convert_fuse_statfs()
594 stbuf->f_blocks = attr->blocks; in convert_fuse_statfs()
595 stbuf->f_bfree = attr->bfree; in convert_fuse_statfs()
596 stbuf->f_bavail = attr->bavail; in convert_fuse_statfs()
597 stbuf->f_files = attr->files; in convert_fuse_statfs()
598 stbuf->f_ffree = attr->ffree; in convert_fuse_statfs()
599 stbuf in convert_fuse_statfs()
[all...]
/kernel/linux/linux-6.6/include/net/9p/
H A Dclient.h287 void p9stat_free(struct p9_wstat *stbuf);
/kernel/linux/linux-5.10/tools/perf/pmu-events/
H A Djevents.c1110 struct stat stbuf; in main() local
1135 if (stat(ldirname, &stbuf) < 0) { in main()

Completed in 12 milliseconds