Linux-2.6.12-rc2
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / include / asm-sparc64 / stat.h
blob48e06618a5a440112d768f2f054962c6bd172ba1
1 /* $Id: stat.h,v 1.7 2000/08/04 05:35:55 davem Exp $ */
2 #ifndef _SPARC64_STAT_H
3 #define _SPARC64_STAT_H
5 #include <linux/types.h>
7 struct stat {
8 unsigned st_dev;
9 ino_t st_ino;
10 mode_t st_mode;
11 short st_nlink;
12 uid_t st_uid;
13 gid_t st_gid;
14 unsigned st_rdev;
15 off_t st_size;
16 time_t st_atime;
17 time_t st_mtime;
18 time_t st_ctime;
19 off_t st_blksize;
20 off_t st_blocks;
21 unsigned long __unused4[2];
24 #ifdef __KERNEL__
25 /* This is sparc32 stat64 structure. */
27 struct stat64 {
28 unsigned long long st_dev;
30 unsigned long long st_ino;
32 unsigned int st_mode;
33 unsigned int st_nlink;
35 unsigned int st_uid;
36 unsigned int st_gid;
38 unsigned long long st_rdev;
40 unsigned char __pad3[8];
42 long long st_size;
43 unsigned int st_blksize;
45 unsigned char __pad4[8];
46 unsigned int st_blocks;
48 unsigned int st_atime;
49 unsigned int st_atime_nsec;
51 unsigned int st_mtime;
52 unsigned int st_mtime_nsec;
54 unsigned int st_ctime;
55 unsigned int st_ctime_nsec;
57 unsigned int __unused4;
58 unsigned int __unused5;
61 #endif
63 #endif