Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/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->extension); in p9stat_free()
[all …]
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/yocto/meta-openembedded/meta-webserver/recipes-webadmin/webmin/files/
H A Dinit-exclude.patch60 -local($dir, $f, @stbuf, @rv);
61 +local($dir, $f, @stbuf, @rv, @exclude);
73 if (@stbuf = stat("$dir/$f")) {
74 push(@rv, "$f $stbuf[1]");
/OK3568_Linux_fs/kernel/fs/fuse/
H A Dinode.c468 static void convert_fuse_statfs(struct kstatfs *stbuf, struct fuse_kstatfs *attr) in convert_fuse_statfs() argument
470 stbuf->f_type = FUSE_SUPER_MAGIC; in convert_fuse_statfs()
471 stbuf->f_bsize = attr->bsize; in convert_fuse_statfs()
472 stbuf->f_frsize = attr->frsize; in convert_fuse_statfs()
473 stbuf->f_blocks = attr->blocks; in convert_fuse_statfs()
474 stbuf->f_bfree = attr->bfree; in convert_fuse_statfs()
475 stbuf->f_bavail = attr->bavail; in convert_fuse_statfs()
476 stbuf->f_files = attr->files; in convert_fuse_statfs()
477 stbuf->f_ffree = attr->ffree; in convert_fuse_statfs()
478 stbuf->f_namelen = attr->namelen; in convert_fuse_statfs()
/OK3568_Linux_fs/kernel/samples/crypto/
H A Dfips140_lab_util.c161 struct stat stbuf; in create_fips140_node_if_needed() local
164 if (stat("/dev/fips140", &stbuf) == 0) in create_fips140_node_if_needed()
/OK3568_Linux_fs/kernel/tools/perf/pmu-events/
H A Djevents.c1110 struct stat stbuf; in main() local
1135 if (stat(ldirname, &stbuf) < 0) { in main()