[SCSI] remove scsi_wait_req
[linux-2.6.22.y-op.git] / include / asm-sparc / stat.h
bloba5b4272f2894dde6eaa0bc5f914913611f15b904
1 /* $Id: stat.h,v 1.12 2000/08/04 05:35:55 davem Exp $ */
2 #ifndef _SPARC_STAT_H
3 #define _SPARC_STAT_H
5 #include <linux/types.h>
7 struct __old_kernel_stat {
8 unsigned short st_dev;
9 unsigned short st_ino;
10 unsigned short st_mode;
11 unsigned short st_nlink;
12 unsigned short st_uid;
13 unsigned short st_gid;
14 unsigned short st_rdev;
15 unsigned long st_size;
16 unsigned long st_atime;
17 unsigned long st_mtime;
18 unsigned long st_ctime;
21 struct stat {
22 unsigned short st_dev;
23 unsigned long st_ino;
24 unsigned short st_mode;
25 short st_nlink;
26 unsigned short st_uid;
27 unsigned short st_gid;
28 unsigned short st_rdev;
29 long st_size;
30 long st_atime;
31 unsigned long st_atime_nsec;
32 long st_mtime;
33 unsigned long st_mtime_nsec;
34 long st_ctime;
35 unsigned long st_ctime_nsec;
36 long st_blksize;
37 long st_blocks;
38 unsigned long __unused4[2];
41 #define STAT_HAVE_NSEC 1
43 struct stat64 {
44 unsigned long long st_dev;
46 unsigned long long st_ino;
48 unsigned int st_mode;
49 unsigned int st_nlink;
51 unsigned int st_uid;
52 unsigned int st_gid;
54 unsigned long long st_rdev;
56 unsigned char __pad3[8];
58 long long st_size;
59 unsigned int st_blksize;
61 unsigned char __pad4[8];
62 unsigned int st_blocks;
64 unsigned int st_atime;
65 unsigned int st_atime_nsec;
67 unsigned int st_mtime;
68 unsigned int st_mtime_nsec;
70 unsigned int st_ctime;
71 unsigned int st_ctime_nsec;
73 unsigned int __unused4;
74 unsigned int __unused5;
77 #endif