]> git.proxmox.com Git - mirror_ubuntu-kernels.git/blob - include/asm-ppc64/statfs.h
Linux-2.6.12-rc2
[mirror_ubuntu-kernels.git] / include / asm-ppc64 / statfs.h
1 #ifndef _PPC64_STATFS_H
2 #define _PPC64_STATFS_H
3
4 /*
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License
7 * as published by the Free Software Foundation; either version
8 * 2 of the License, or (at your option) any later version.
9 */
10
11 #ifndef __KERNEL_STRICT_NAMES
12 #include <linux/types.h>
13 typedef __kernel_fsid_t fsid_t;
14 #endif
15
16 /*
17 * We're already 64-bit, so duplicate the definition
18 */
19 struct statfs {
20 long f_type;
21 long f_bsize;
22 long f_blocks;
23 long f_bfree;
24 long f_bavail;
25 long f_files;
26 long f_ffree;
27 __kernel_fsid_t f_fsid;
28 long f_namelen;
29 long f_frsize;
30 long f_spare[5];
31 };
32
33 struct statfs64 {
34 long f_type;
35 long f_bsize;
36 long f_blocks;
37 long f_bfree;
38 long f_bavail;
39 long f_files;
40 long f_ffree;
41 __kernel_fsid_t f_fsid;
42 long f_namelen;
43 long f_frsize;
44 long f_spare[5];
45 };
46
47 struct compat_statfs64 {
48 __u32 f_type;
49 __u32 f_bsize;
50 __u64 f_blocks;
51 __u64 f_bfree;
52 __u64 f_bavail;
53 __u64 f_files;
54 __u64 f_ffree;
55 __kernel_fsid_t f_fsid;
56 __u32 f_namelen;
57 __u32 f_frsize;
58 __u32 f_spare[5];
59 };
60
61 #endif /* _PPC64_STATFS_H */