Searched refs:stbuf (Results 1 – 5 of 5) sorted by relevance
/linux-4.1.27/net/9p/ |
D | protocol.c | 46 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-4.1.27/tools/perf/util/ |
D | zlib.c | 19 struct stat stbuf; in gzip_decompress_to_file() local 33 if (fstat(input_fd, &stbuf) < 0) in gzip_decompress_to_file() 36 ptr = mmap(NULL, stbuf.st_size, PROT_READ, MAP_PRIVATE, input_fd, 0); in gzip_decompress_to_file() 44 zs.avail_in = stbuf.st_size; in gzip_decompress_to_file() 73 munmap(ptr, stbuf.st_size); in gzip_decompress_to_file()
|
D | symbol-minimal.c | 222 struct stat stbuf; in sysfs__read_build_id() local 230 if (fstat(fd, &stbuf) < 0) in sysfs__read_build_id() 233 buf_size = stbuf.st_size; in sysfs__read_build_id()
|
/linux-4.1.27/fs/9p/ |
D | vfs_dir.c | 79 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-4.1.27/fs/fuse/ |
D | inode.c | 394 static void convert_fuse_statfs(struct kstatfs *stbuf, struct fuse_kstatfs *attr) in convert_fuse_statfs() argument 396 stbuf->f_type = FUSE_SUPER_MAGIC; in convert_fuse_statfs() 397 stbuf->f_bsize = attr->bsize; in convert_fuse_statfs() 398 stbuf->f_frsize = attr->frsize; in convert_fuse_statfs() 399 stbuf->f_blocks = attr->blocks; in convert_fuse_statfs() 400 stbuf->f_bfree = attr->bfree; in convert_fuse_statfs() 401 stbuf->f_bavail = attr->bavail; in convert_fuse_statfs() 402 stbuf->f_files = attr->files; in convert_fuse_statfs() 403 stbuf->f_ffree = attr->ffree; in convert_fuse_statfs() 404 stbuf->f_namelen = attr->namelen; in convert_fuse_statfs()
|