Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus
[linux-2.6] / include / asm-sparc64 / statfs.h
1 /* $Id: statfs.h,v 1.2 1997/04/14 17:05:22 jj Exp $ */
2 #ifndef _SPARC64_STATFS_H
3 #define _SPARC64_STATFS_H
4
5 #ifndef __KERNEL_STRICT_NAMES
6
7 #include <linux/types.h>
8
9 typedef __kernel_fsid_t fsid_t;
10
11 #endif
12
13 struct statfs {
14         long f_type;
15         long f_bsize;
16         long f_blocks;
17         long f_bfree;
18         long f_bavail;
19         long f_files;
20         long f_ffree;
21         __kernel_fsid_t f_fsid;
22         long f_namelen;
23         long f_frsize;
24         long f_spare[5];
25 };
26
27 struct statfs64 {
28         long f_type;
29         long f_bsize;
30         long f_blocks;
31         long f_bfree;
32         long f_bavail;
33         long f_files;
34         long f_ffree;
35         __kernel_fsid_t f_fsid;
36         long f_namelen;
37         long f_frsize;
38         long f_spare[5];
39 };
40
41 struct compat_statfs64 {
42         __u32 f_type;
43         __u32 f_bsize;
44         __u64 f_blocks;
45         __u64 f_bfree;
46         __u64 f_bavail;
47         __u64 f_files;
48         __u64 f_ffree;
49         __kernel_fsid_t f_fsid;
50         __u32 f_namelen;
51         __u32 f_frsize;
52         __u32 f_spare[5];
53 };
54
55 #endif