mm: add alloc_pages_exact() and free_pages_exact()
[linux-2.6/mini2440.git] / include / asm-sparc / stat_32.h
blob2299e1d5d94c2d43aa1db823c575e64e47467035
1 #ifndef _SPARC_STAT_H
2 #define _SPARC_STAT_H
4 #include <linux/types.h>
6 struct __old_kernel_stat {
7 unsigned short st_dev;
8 unsigned short st_ino;
9 unsigned short st_mode;
10 unsigned short st_nlink;
11 unsigned short st_uid;
12 unsigned short st_gid;
13 unsigned short st_rdev;
14 unsigned long st_size;
15 unsigned long st_atime;
16 unsigned long st_mtime;
17 unsigned long st_ctime;
20 struct stat {
21 unsigned short st_dev;
22 unsigned long st_ino;
23 unsigned short st_mode;
24 short st_nlink;
25 unsigned short st_uid;
26 unsigned short st_gid;
27 unsigned short st_rdev;
28 long st_size;
29 long st_atime;
30 unsigned long st_atime_nsec;
31 long st_mtime;
32 unsigned long st_mtime_nsec;
33 long st_ctime;
34 unsigned long st_ctime_nsec;
35 long st_blksize;
36 long st_blocks;
37 unsigned long __unused4[2];
40 #define STAT_HAVE_NSEC 1
42 struct stat64 {
43 unsigned long long st_dev;
45 unsigned long long st_ino;
47 unsigned int st_mode;
48 unsigned int st_nlink;
50 unsigned int st_uid;
51 unsigned int st_gid;
53 unsigned long long st_rdev;
55 unsigned char __pad3[8];
57 long long st_size;
58 unsigned int st_blksize;
60 unsigned char __pad4[8];
61 unsigned int st_blocks;
63 unsigned int st_atime;
64 unsigned int st_atime_nsec;
66 unsigned int st_mtime;
67 unsigned int st_mtime_nsec;
69 unsigned int st_ctime;
70 unsigned int st_ctime_nsec;
72 unsigned int __unused4;
73 unsigned int __unused5;
76 #endif