aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-sparc/stat.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 18:20:36 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 18:20:36 -0400
commit1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (patch)
tree0bba044c4ce775e45a88a51686b5d9f90697ea9d /include/asm-sparc/stat.h
Linux-2.6.12-rc2v2.6.12-rc2
Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!
Diffstat (limited to 'include/asm-sparc/stat.h')
-rw-r--r--include/asm-sparc/stat.h77
1 files changed, 77 insertions, 0 deletions
diff --git a/include/asm-sparc/stat.h b/include/asm-sparc/stat.h
new file mode 100644
index 000000000000..a5b4272f2894
--- /dev/null
+++ b/include/asm-sparc/stat.h
@@ -0,0 +1,77 @@
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
4
5#include <linux/types.h>
6
7struct __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;
19};
20
21struct 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];
39};
40
41#define STAT_HAVE_NSEC 1
42
43struct stat64 {
44 unsigned long long st_dev;
45
46 unsigned long long st_ino;
47
48 unsigned int st_mode;
49 unsigned int st_nlink;
50
51 unsigned int st_uid;
52 unsigned int st_gid;
53
54 unsigned long long st_rdev;
55
56 unsigned char __pad3[8];
57
58 long long st_size;
59 unsigned int st_blksize;
60
61 unsigned char __pad4[8];
62 unsigned int st_blocks;
63
64 unsigned int st_atime;
65 unsigned int st_atime_nsec;
66
67 unsigned int st_mtime;
68 unsigned int st_mtime_nsec;
69
70 unsigned int st_ctime;
71 unsigned int st_ctime_nsec;
72
73 unsigned int __unused4;
74 unsigned int __unused5;
75};
76
77#endif