Lines Matching defs:vbuf
27 cnvtvfs64(struct statfs64 *buf, struct statvfs64 *vbuf)
30 buf->f_bsize = vbuf->f_frsize;
31 buf->f_blocks = vbuf->f_blocks;
32 buf->f_bfree = vbuf->f_bfree;
33 buf->f_bavail = vbuf->f_bavail;
34 buf->f_files = vbuf->f_files;
35 buf->f_ffree = vbuf->f_ffree;
36 buf->f_fsid.val[0] = vbuf->f_fsid;
44 struct statvfs64 vbuf;
51 if ((ret = statvfs64(path, &vbuf)) != -1)
52 cnvtvfs64(buf, &vbuf);
60 struct statvfs64 vbuf;
62 if ((ret = fstatvfs64(fd, &vbuf)) != -1)
63 cnvtvfs64(buf, &vbuf);
69 cnvtvfs(struct statfs *buf, struct statvfs *vbuf)
72 buf->f_bsize = vbuf->f_frsize;
73 buf->f_blocks = vbuf->f_blocks;
74 buf->f_bfree = vbuf->f_bfree;
75 buf->f_bavail = vbuf->f_bavail;
76 buf->f_files = vbuf->f_files;
77 buf->f_ffree = vbuf->f_ffree;
78 buf->f_fsid.val[0] = vbuf->f_fsid;
86 struct statvfs vbuf;
93 if ((ret = statvfs(path, &vbuf)) != -1)
94 cnvtvfs(buf, &vbuf);
103 struct statvfs vbuf;
105 if ((ret = fstatvfs(fd, &vbuf)) != -1)
106 cnvtvfs(buf, &vbuf);