Lines Matching refs:buf
27 cnvtvfs64(struct statfs64 *buf, struct statvfs64 *vbuf)
29 buf->f_type = 0;
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;
37 buf->f_fsid.val[1] = 0;
41 statfs64(char *path, struct statfs64 *buf)
46 if ((long)buf == -1L) {
52 cnvtvfs64(buf, &vbuf);
57 fstatfs64(int fd, struct statfs64 *buf)
63 cnvtvfs64(buf, &vbuf);
69 cnvtvfs(struct statfs *buf, struct statvfs *vbuf)
71 buf->f_type = 0;
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;
79 buf->f_fsid.val[1] = 0;
83 statfs(char *path, struct statfs *buf)
88 if ((long)buf == -1L) {
94 cnvtvfs(buf, &vbuf);
100 fstatfs(int fd, struct statfs *buf)
106 cnvtvfs(buf, &vbuf);