blob: 7963eab26dfa360b4baefd73fcee8feb38d034dd [file] [log] [blame]
The Android Open Source Project1dc9e472009-03-03 19:28:35 -08001/****************************************************************************
2 ****************************************************************************
3 ***
4 *** This header was automatically generated from a Linux kernel header
5 *** of the same name, to make information necessary for userspace to
6 *** call into the kernel available to libc. It contains only constants,
7 *** structures, and macros generated from the original header, and thus,
8 *** contains no copyrightable information.
9 ***
10 ****************************************************************************
11 ****************************************************************************/
12#ifndef _ASMARM_STATFS_H
13#define _ASMARM_STATFS_H
Ben Cheng4b29af02012-03-07 16:14:53 -080014
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080015struct statfs {
16 __u32 f_type;
17 __u32 f_bsize;
18 __u32 f_blocks;
19 __u32 f_bfree;
20 __u32 f_bavail;
21 __u32 f_files;
22 __u32 f_ffree;
23 __kernel_fsid_t f_fsid;
24 __u32 f_namelen;
25 __u32 f_frsize;
26 __u32 f_spare[5];
27};
Ben Cheng4b29af02012-03-07 16:14:53 -080028
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080029struct statfs64 {
30 __u32 f_type;
31 __u32 f_bsize;
32 __u64 f_blocks;
33 __u64 f_bfree;
34 __u64 f_bavail;
35 __u64 f_files;
36 __u64 f_ffree;
37 __kernel_fsid_t f_fsid;
38 __u32 f_namelen;
39 __u32 f_frsize;
40 __u32 f_spare[5];
41} __attribute__ ((packed,aligned(4)));
Ben Cheng4b29af02012-03-07 16:14:53 -080042
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080043#endif