Lines Matching refs:buf
25 cnvtvfs64(struct statfs64 *buf, struct statvfs64 *vbuf) in cnvtvfs64() argument
27 buf->f_type = 0; in cnvtvfs64()
28 buf->f_bsize = vbuf->f_frsize; in cnvtvfs64()
29 buf->f_blocks = vbuf->f_blocks; in cnvtvfs64()
30 buf->f_bfree = vbuf->f_bfree; in cnvtvfs64()
31 buf->f_bavail = vbuf->f_bavail; in cnvtvfs64()
32 buf->f_files = vbuf->f_files; in cnvtvfs64()
33 buf->f_ffree = vbuf->f_ffree; in cnvtvfs64()
34 buf->f_fsid.val[0] = vbuf->f_fsid; in cnvtvfs64()
35 buf->f_fsid.val[1] = 0; in cnvtvfs64()
39 statfs64(char *path, struct statfs64 *buf) in statfs64() argument
44 if ((long)buf == -1L) { in statfs64()
50 cnvtvfs64(buf, &vbuf); in statfs64()
55 fstatfs64(int fd, struct statfs64 *buf) in fstatfs64() argument
61 cnvtvfs64(buf, &vbuf); in fstatfs64()
67 cnvtvfs(struct statfs *buf, struct statvfs *vbuf) in cnvtvfs() argument
69 buf->f_type = 0; in cnvtvfs()
70 buf->f_bsize = vbuf->f_frsize; in cnvtvfs()
71 buf->f_blocks = vbuf->f_blocks; in cnvtvfs()
72 buf->f_bfree = vbuf->f_bfree; in cnvtvfs()
73 buf->f_bavail = vbuf->f_bavail; in cnvtvfs()
74 buf->f_files = vbuf->f_files; in cnvtvfs()
75 buf->f_ffree = vbuf->f_ffree; in cnvtvfs()
76 buf->f_fsid.val[0] = vbuf->f_fsid; in cnvtvfs()
77 buf->f_fsid.val[1] = 0; in cnvtvfs()
81 statfs(char *path, struct statfs *buf) in statfs() argument
86 if ((long)buf == -1L) { in statfs()
92 cnvtvfs(buf, &vbuf); in statfs()
98 fstatfs(int fd, struct statfs *buf) in fstatfs() argument
104 cnvtvfs(buf, &vbuf); in fstatfs()