diff options
author | David Howells <dhowells@redhat.com> | 2012-10-14 19:55:40 -0400 |
---|---|---|
committer | Chris Zankel <chris@zankel.net> | 2012-10-16 00:48:53 -0400 |
commit | 83596729adbca4ff3b0273de22e166c64aea49ec (patch) | |
tree | 23b9994e5bca9ed94ab078588d967207d6bf5edf /arch/xtensa/include/uapi/asm/stat.h | |
parent | 4ded6282caa0b6d0cfa79124610aae1194aa649b (diff) |
UAPI: (Scripted) Disintegrate arch/xtensa/include/asm
UAPI: (Scripted) Disintegrate arch/xtensa/include/asm
Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Michael Kerrisk <mtk.manpages@gmail.com>
Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Acked-by: Dave Jones <davej@redhat.com>
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Chris Zankel <chris@zankel.net>
Diffstat (limited to 'arch/xtensa/include/uapi/asm/stat.h')
-rw-r--r-- | arch/xtensa/include/uapi/asm/stat.h | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/arch/xtensa/include/uapi/asm/stat.h b/arch/xtensa/include/uapi/asm/stat.h new file mode 100644 index 000000000000..c4992038cee0 --- /dev/null +++ b/arch/xtensa/include/uapi/asm/stat.h | |||
@@ -0,0 +1,59 @@ | |||
1 | /* | ||
2 | * include/asm-xtensa/stat.h | ||
3 | * | ||
4 | * This file is subject to the terms and conditions of the GNU General Public | ||
5 | * License. See the file "COPYING" in the main directory of this archive | ||
6 | * for more details. | ||
7 | * | ||
8 | * Copyright (C) 2001 - 2007 Tensilica Inc. | ||
9 | */ | ||
10 | |||
11 | #ifndef _XTENSA_STAT_H | ||
12 | #define _XTENSA_STAT_H | ||
13 | |||
14 | #define STAT_HAVE_NSEC 1 | ||
15 | |||
16 | struct stat { | ||
17 | unsigned long st_dev; | ||
18 | unsigned long st_ino; | ||
19 | unsigned int st_mode; | ||
20 | unsigned int st_nlink; | ||
21 | unsigned int st_uid; | ||
22 | unsigned int st_gid; | ||
23 | unsigned long st_rdev; | ||
24 | long st_size; | ||
25 | unsigned long st_blksize; | ||
26 | unsigned long st_blocks; | ||
27 | unsigned long st_atime; | ||
28 | unsigned long st_atime_nsec; | ||
29 | unsigned long st_mtime; | ||
30 | unsigned long st_mtime_nsec; | ||
31 | unsigned long st_ctime; | ||
32 | unsigned long st_ctime_nsec; | ||
33 | unsigned long __unused4; | ||
34 | unsigned long __unused5; | ||
35 | }; | ||
36 | |||
37 | struct stat64 { | ||
38 | unsigned long long st_dev; /* Device */ | ||
39 | unsigned long long st_ino; /* File serial number */ | ||
40 | unsigned int st_mode; /* File mode. */ | ||
41 | unsigned int st_nlink; /* Link count. */ | ||
42 | unsigned int st_uid; /* User ID of the file's owner. */ | ||
43 | unsigned int st_gid; /* Group ID of the file's group. */ | ||
44 | unsigned long long st_rdev; /* Device number, if device. */ | ||
45 | long long st_size; /* Size of file, in bytes. */ | ||
46 | unsigned long st_blksize; /* Optimal block size for I/O. */ | ||
47 | unsigned long __unused2; | ||
48 | unsigned long long st_blocks; /* Number 512-byte blocks allocated. */ | ||
49 | unsigned long st_atime; /* Time of last access. */ | ||
50 | unsigned long st_atime_nsec; | ||
51 | unsigned long st_mtime; /* Time of last modification. */ | ||
52 | unsigned long st_mtime_nsec; | ||
53 | unsigned long st_ctime; /* Time of last status change. */ | ||
54 | unsigned long st_ctime_nsec; | ||
55 | unsigned long __unused4; | ||
56 | unsigned long __unused5; | ||
57 | }; | ||
58 | |||
59 | #endif /* _XTENSA_STAT_H */ | ||