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

/linux-4.1.27/net/9p/
H A Dprotocol.c46 void p9stat_free(struct p9_wstat *stbuf) p9stat_free() argument
48 kfree(stbuf->name); p9stat_free()
49 kfree(stbuf->uid); p9stat_free()
50 kfree(stbuf->gid); p9stat_free()
51 kfree(stbuf->muid); p9stat_free()
52 kfree(stbuf->extension); p9stat_free()
200 struct p9_wstat *stbuf = p9pdu_vreadf() local
203 memset(stbuf, 0, sizeof(struct p9_wstat)); p9pdu_vreadf()
204 stbuf->n_uid = stbuf->n_muid = INVALID_UID; p9pdu_vreadf()
205 stbuf->n_gid = INVALID_GID; p9pdu_vreadf()
210 &stbuf->size, &stbuf->type, p9pdu_vreadf()
211 &stbuf->dev, &stbuf->qid, p9pdu_vreadf()
212 &stbuf->mode, &stbuf->atime, p9pdu_vreadf()
213 &stbuf->mtime, &stbuf->length, p9pdu_vreadf()
214 &stbuf->name, &stbuf->uid, p9pdu_vreadf()
215 &stbuf->gid, &stbuf->muid, p9pdu_vreadf()
216 &stbuf->extension, p9pdu_vreadf()
217 &stbuf->n_uid, &stbuf->n_gid, p9pdu_vreadf()
218 &stbuf->n_muid); p9pdu_vreadf()
220 p9stat_free(stbuf); p9pdu_vreadf()
316 struct p9_stat_dotl *stbuf = p9pdu_vreadf() local
319 memset(stbuf, 0, sizeof(struct p9_stat_dotl)); p9pdu_vreadf()
323 &stbuf->st_result_mask, p9pdu_vreadf()
324 &stbuf->qid, p9pdu_vreadf()
325 &stbuf->st_mode, p9pdu_vreadf()
326 &stbuf->st_uid, &stbuf->st_gid, p9pdu_vreadf()
327 &stbuf->st_nlink, p9pdu_vreadf()
328 &stbuf->st_rdev, &stbuf->st_size, p9pdu_vreadf()
329 &stbuf->st_blksize, &stbuf->st_blocks, p9pdu_vreadf()
330 &stbuf->st_atime_sec, p9pdu_vreadf()
331 &stbuf->st_atime_nsec, p9pdu_vreadf()
332 &stbuf->st_mtime_sec, p9pdu_vreadf()
333 &stbuf->st_mtime_nsec, p9pdu_vreadf()
334 &stbuf->st_ctime_sec, p9pdu_vreadf()
335 &stbuf->st_ctime_nsec, p9pdu_vreadf()
336 &stbuf->st_btime_sec, p9pdu_vreadf()
337 &stbuf->st_btime_nsec, p9pdu_vreadf()
338 &stbuf->st_gen, p9pdu_vreadf()
339 &stbuf->st_data_version); p9pdu_vreadf()
428 const struct p9_wstat *stbuf = p9pdu_vwritef() local
433 stbuf->size, stbuf->type, p9pdu_vwritef()
434 stbuf->dev, &stbuf->qid, p9pdu_vwritef()
435 stbuf->mode, stbuf->atime, p9pdu_vwritef()
436 stbuf->mtime, stbuf->length, p9pdu_vwritef()
437 stbuf->name, stbuf->uid, p9pdu_vwritef()
438 stbuf->gid, stbuf->muid, p9pdu_vwritef()
439 stbuf->extension, stbuf->n_uid, p9pdu_vwritef()
440 stbuf->n_gid, stbuf->n_muid); p9pdu_vwritef()
/linux-4.1.27/tools/perf/util/
H A Dzlib.c19 struct stat stbuf; gzip_decompress_to_file() local
33 if (fstat(input_fd, &stbuf) < 0) gzip_decompress_to_file()
36 ptr = mmap(NULL, stbuf.st_size, PROT_READ, MAP_PRIVATE, input_fd, 0); gzip_decompress_to_file()
44 zs.avail_in = stbuf.st_size; gzip_decompress_to_file()
73 munmap(ptr, stbuf.st_size); gzip_decompress_to_file()
H A Dsymbol-minimal.c222 struct stat stbuf; sysfs__read_build_id() local
230 if (fstat(fd, &stbuf) < 0) sysfs__read_build_id()
233 buf_size = stbuf.st_size; sysfs__read_build_id()
/linux-4.1.27/fs/9p/
H A Dvfs_dir.c79 static void p9stat_init(struct p9_wstat *stbuf) p9stat_init() argument
81 stbuf->name = NULL; p9stat_init()
82 stbuf->uid = NULL; p9stat_init()
83 stbuf->gid = NULL; p9stat_init()
84 stbuf->muid = NULL; p9stat_init()
85 stbuf->extension = NULL; p9stat_init()
/linux-4.1.27/fs/fuse/
H A Dinode.c394 static void convert_fuse_statfs(struct kstatfs *stbuf, struct fuse_kstatfs *attr) convert_fuse_statfs() argument
396 stbuf->f_type = FUSE_SUPER_MAGIC; convert_fuse_statfs()
397 stbuf->f_bsize = attr->bsize; convert_fuse_statfs()
398 stbuf->f_frsize = attr->frsize; convert_fuse_statfs()
399 stbuf->f_blocks = attr->blocks; convert_fuse_statfs()
400 stbuf->f_bfree = attr->bfree; convert_fuse_statfs()
401 stbuf->f_bavail = attr->bavail; convert_fuse_statfs()
402 stbuf->f_files = attr->files; convert_fuse_statfs()
403 stbuf->f_ffree = attr->ffree; convert_fuse_statfs()
404 stbuf->f_namelen = attr->namelen; convert_fuse_statfs()

Completed in 123 milliseconds