diff options
author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 18:20:36 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 18:20:36 -0400 |
commit | 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (patch) | |
tree | 0bba044c4ce775e45a88a51686b5d9f90697ea9d /include/asm-generic/statfs.h |
Linux-2.6.12-rc2
Initial git repository build. I'm not bothering with the full history,
even though we have it. We can create a separate "historical" git
archive of that later if we want to, and in the meantime it's about
3.2GB when imported into git - space that would just make the early
git days unnecessarily complicated, when we don't have a lot of good
infrastructure for it.
Let it rip!
Diffstat (limited to 'include/asm-generic/statfs.h')
-rw-r--r-- | include/asm-generic/statfs.h | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/include/asm-generic/statfs.h b/include/asm-generic/statfs.h new file mode 100644 index 00000000000..1d01043e797 --- /dev/null +++ b/include/asm-generic/statfs.h | |||
@@ -0,0 +1,51 @@ | |||
1 | #ifndef _GENERIC_STATFS_H | ||
2 | #define _GENERIC_STATFS_H | ||
3 | |||
4 | #ifndef __KERNEL_STRICT_NAMES | ||
5 | # include <linux/types.h> | ||
6 | typedef __kernel_fsid_t fsid_t; | ||
7 | #endif | ||
8 | |||
9 | struct statfs { | ||
10 | __u32 f_type; | ||
11 | __u32 f_bsize; | ||
12 | __u32 f_blocks; | ||
13 | __u32 f_bfree; | ||
14 | __u32 f_bavail; | ||
15 | __u32 f_files; | ||
16 | __u32 f_ffree; | ||
17 | __kernel_fsid_t f_fsid; | ||
18 | __u32 f_namelen; | ||
19 | __u32 f_frsize; | ||
20 | __u32 f_spare[5]; | ||
21 | }; | ||
22 | |||
23 | struct statfs64 { | ||
24 | __u32 f_type; | ||
25 | __u32 f_bsize; | ||
26 | __u64 f_blocks; | ||
27 | __u64 f_bfree; | ||
28 | __u64 f_bavail; | ||
29 | __u64 f_files; | ||
30 | __u64 f_ffree; | ||
31 | __kernel_fsid_t f_fsid; | ||
32 | __u32 f_namelen; | ||
33 | __u32 f_frsize; | ||
34 | __u32 f_spare[5]; | ||
35 | }; | ||
36 | |||
37 | struct compat_statfs64 { | ||
38 | __u32 f_type; | ||
39 | __u32 f_bsize; | ||
40 | __u64 f_blocks; | ||
41 | __u64 f_bfree; | ||
42 | __u64 f_bavail; | ||
43 | __u64 f_files; | ||
44 | __u64 f_ffree; | ||
45 | __kernel_fsid_t f_fsid; | ||
46 | __u32 f_namelen; | ||
47 | __u32 f_frsize; | ||
48 | __u32 f_spare[5]; | ||
49 | }; | ||
50 | |||
51 | #endif | ||