Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/net/9p/
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->extension); in p9stat_free()
[all …]
/kernel/linux/linux-5.10/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()
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-5.10/fs/fuse/
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->f_namelen = attr->namelen; in convert_fuse_statfs()
/kernel/linux/linux-5.10/tools/perf/pmu-events/
Djevents.c1110 struct stat stbuf; in main() local
1135 if (stat(ldirname, &stbuf) < 0) { in main()