Home
last modified time | relevance | path

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

/Linux-v4.19/net/9p/
Dprotocol.c46 void p9stat_free(struct p9_wstat *stbuf) in p9stat_free() argument
48 kfree(stbuf->name); in p9stat_free()
49 kfree(stbuf->uid); in p9stat_free()
50 kfree(stbuf->gid); in p9stat_free()
51 kfree(stbuf->muid); in p9stat_free()
52 kfree(stbuf->extension); in p9stat_free()
200 struct p9_wstat *stbuf = in p9pdu_vreadf() local
203 memset(stbuf, 0, sizeof(struct p9_wstat)); in p9pdu_vreadf()
204 stbuf->n_uid = stbuf->n_muid = INVALID_UID; in p9pdu_vreadf()
205 stbuf->n_gid = INVALID_GID; in p9pdu_vreadf()
[all …]
/Linux-v4.19/tools/perf/util/
Dzlib.c24 struct stat stbuf; in gzip_decompress_to_file() local
38 if (fstat(input_fd, &stbuf) < 0) in gzip_decompress_to_file()
41 ptr = mmap(NULL, stbuf.st_size, PROT_READ, MAP_PRIVATE, input_fd, 0); in gzip_decompress_to_file()
49 zs.avail_in = stbuf.st_size; in gzip_decompress_to_file()
78 munmap(ptr, stbuf.st_size); in gzip_decompress_to_file()
Dsymbol-minimal.c224 struct stat stbuf; in sysfs__read_build_id() local
232 if (fstat(fd, &stbuf) < 0) in sysfs__read_build_id()
235 buf_size = stbuf.st_size; in sysfs__read_build_id()
/Linux-v4.19/fs/9p/
Dvfs_dir.c79 static void p9stat_init(struct p9_wstat *stbuf) in p9stat_init() argument
81 stbuf->name = NULL; in p9stat_init()
82 stbuf->uid = NULL; in p9stat_init()
83 stbuf->gid = NULL; in p9stat_init()
84 stbuf->muid = NULL; in p9stat_init()
85 stbuf->extension = NULL; in p9stat_init()
/Linux-v4.19/fs/fuse/
Dinode.c408 static void convert_fuse_statfs(struct kstatfs *stbuf, struct fuse_kstatfs *attr) in convert_fuse_statfs() argument
410 stbuf->f_type = FUSE_SUPER_MAGIC; in convert_fuse_statfs()
411 stbuf->f_bsize = attr->bsize; in convert_fuse_statfs()
412 stbuf->f_frsize = attr->frsize; in convert_fuse_statfs()
413 stbuf->f_blocks = attr->blocks; in convert_fuse_statfs()
414 stbuf->f_bfree = attr->bfree; in convert_fuse_statfs()
415 stbuf->f_bavail = attr->bavail; in convert_fuse_statfs()
416 stbuf->f_files = attr->files; in convert_fuse_statfs()
417 stbuf->f_ffree = attr->ffree; in convert_fuse_statfs()
418 stbuf->f_namelen = attr->namelen; in convert_fuse_statfs()
/Linux-v4.19/tools/perf/pmu-events/
Djevents.c1068 struct stat stbuf; in main() local
1093 if (stat(ldirname, &stbuf) < 0) { in main()