Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #ifndef _SPARC64_STAT_H |
| 2 | #define _SPARC64_STAT_H |
| 3 | |
| 4 | #include <linux/types.h> |
| 5 | |
| 6 | struct stat { |
| 7 | unsigned st_dev; |
| 8 | ino_t st_ino; |
| 9 | mode_t st_mode; |
| 10 | short st_nlink; |
| 11 | uid_t st_uid; |
| 12 | gid_t st_gid; |
| 13 | unsigned st_rdev; |
| 14 | off_t st_size; |
| 15 | time_t st_atime; |
| 16 | time_t st_mtime; |
| 17 | time_t st_ctime; |
| 18 | off_t st_blksize; |
| 19 | off_t st_blocks; |
| 20 | unsigned long __unused4[2]; |
| 21 | }; |
| 22 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 23 | struct stat64 { |
David S. Miller | 0ba4da0 | 2005-04-18 15:13:15 -0700 | [diff] [blame] | 24 | unsigned long st_dev; |
| 25 | unsigned long st_ino; |
| 26 | unsigned long st_nlink; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 27 | |
| 28 | unsigned int st_mode; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 29 | unsigned int st_uid; |
| 30 | unsigned int st_gid; |
David S. Miller | 0ba4da0 | 2005-04-18 15:13:15 -0700 | [diff] [blame] | 31 | unsigned int __pad0; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 32 | |
David S. Miller | 0ba4da0 | 2005-04-18 15:13:15 -0700 | [diff] [blame] | 33 | unsigned long st_rdev; |
| 34 | long st_size; |
| 35 | long st_blksize; |
| 36 | long st_blocks; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 37 | |
David S. Miller | 0ba4da0 | 2005-04-18 15:13:15 -0700 | [diff] [blame] | 38 | unsigned long st_atime; |
| 39 | unsigned long st_atime_nsec; |
| 40 | unsigned long st_mtime; |
| 41 | unsigned long st_mtime_nsec; |
| 42 | unsigned long st_ctime; |
| 43 | unsigned long st_ctime_nsec; |
| 44 | long __unused[3]; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 45 | }; |
| 46 | |
| 47 | #endif |