Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
a5e48a28
Commit
a5e48a28
authored
Sep 01, 2008
by
David Woodhouse
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ARM: Use <asm-generic/statfs.h>
Signed-off-by:
David Woodhouse
<
David.Woodhouse@intel.com
>
parent
92a75079
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
32 deletions
+2
-32
arch/arm/include/asm/statfs.h
arch/arm/include/asm/statfs.h
+2
-32
No files found.
arch/arm/include/asm/statfs.h
View file @
a5e48a28
#ifndef _ASMARM_STATFS_H
#ifndef _ASMARM_STATFS_H
#define _ASMARM_STATFS_H
#define _ASMARM_STATFS_H
#ifndef __KERNEL_STRICT_NAMES
# include <linux/types.h>
typedef
__kernel_fsid_t
fsid_t
;
#endif
struct
statfs
{
__u32
f_type
;
__u32
f_bsize
;
__u32
f_blocks
;
__u32
f_bfree
;
__u32
f_bavail
;
__u32
f_files
;
__u32
f_ffree
;
__kernel_fsid_t
f_fsid
;
__u32
f_namelen
;
__u32
f_frsize
;
__u32
f_spare
[
5
];
};
/*
/*
* With EABI there is 4 bytes of padding added to this structure.
* With EABI there is 4 bytes of padding added to this structure.
* Let's pack it so the padding goes away to simplify dual ABI support.
* Let's pack it so the padding goes away to simplify dual ABI support.
* Note that user space does NOT have to pack this structure.
* Note that user space does NOT have to pack this structure.
*/
*/
struct
statfs64
{
#define ARCH_PACK_STATFS64 __attribute__((packed,aligned(4)))
__u32
f_type
;
__u32
f_bsize
;
__u64
f_blocks
;
__u64
f_bfree
;
__u64
f_bavail
;
__u64
f_files
;
__u64
f_ffree
;
__kernel_fsid_t
f_fsid
;
__u32
f_namelen
;
__u32
f_frsize
;
__u32
f_spare
[
5
];
}
__attribute__
((
packed
,
aligned
(
4
)));
#include <asm-generic/statfs.h>
#endif
#endif
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment