]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blob - include/asm-sparc64/stat.h
Linux-2.6.12-rc2
[mirror_ubuntu-bionic-kernel.git] / include / asm-sparc64 / stat.h
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
4
5 #include <linux/types.h>
6
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];
22 };
23
24 #ifdef __KERNEL__
25 /* This is sparc32 stat64 structure. */
26
27 struct stat64 {
28 unsigned long long st_dev;
29
30 unsigned long long st_ino;
31
32 unsigned int st_mode;
33 unsigned int st_nlink;
34
35 unsigned int st_uid;
36 unsigned int st_gid;
37
38 unsigned long long st_rdev;
39
40 unsigned char __pad3[8];
41
42 long long st_size;
43 unsigned int st_blksize;
44
45 unsigned char __pad4[8];
46 unsigned int st_blocks;
47
48 unsigned int st_atime;
49 unsigned int st_atime_nsec;
50
51 unsigned int st_mtime;
52 unsigned int st_mtime_nsec;
53
54 unsigned int st_ctime;
55 unsigned int st_ctime_nsec;
56
57 unsigned int __unused4;
58 unsigned int __unused5;
59 };
60
61 #endif
62
63 #endif