1 #ifndef __ASM_SH64_STAT_H
2 #define __ASM_SH64_STAT_H
5 * This file is subject to the terms and conditions of the GNU General Public
6 * License. See the file "COPYING" in the main directory of this archive
9 * include/asm-sh64/stat.h
11 * Copyright (C) 2000, 2001 Paolo Alberelli
15 struct __old_kernel_stat
{
16 unsigned short st_dev
;
17 unsigned short st_ino
;
18 unsigned short st_mode
;
19 unsigned short st_nlink
;
20 unsigned short st_uid
;
21 unsigned short st_gid
;
22 unsigned short st_rdev
;
23 unsigned long st_size
;
24 unsigned long st_atime
;
25 unsigned long st_mtime
;
26 unsigned long st_ctime
;
30 unsigned short st_dev
;
31 unsigned short __pad1
;
33 unsigned short st_mode
;
34 unsigned short st_nlink
;
35 unsigned short st_uid
;
36 unsigned short st_gid
;
37 unsigned short st_rdev
;
38 unsigned short __pad2
;
39 unsigned long st_size
;
40 unsigned long st_blksize
;
41 unsigned long st_blocks
;
42 unsigned long st_atime
;
43 unsigned long st_atime_nsec
;
44 unsigned long st_mtime
;
45 unsigned long st_mtime_nsec
;
46 unsigned long st_ctime
;
47 unsigned long st_ctime_nsec
;
48 unsigned long __unused4
;
49 unsigned long __unused5
;
52 /* This matches struct stat64 in glibc2.1, hence the absolutely
53 * insane amounts of padding around dev_t's.
56 unsigned short st_dev
;
57 unsigned char __pad0
[10];
61 unsigned int st_nlink
;
66 unsigned short st_rdev
;
67 unsigned char __pad3
[10];
70 unsigned long st_blksize
;
72 unsigned long st_blocks
; /* Number 512-byte blocks allocated. */
73 unsigned long __pad4
; /* future possible st_blocks high bits */
75 unsigned long st_atime
;
76 unsigned long st_atime_nsec
;
78 unsigned long st_mtime
;
79 unsigned long st_mtime_nsec
;
81 unsigned long st_ctime
;
82 unsigned long st_ctime_nsec
; /* will be high 32 bits of ctime someday */
84 unsigned long __unused1
;
85 unsigned long __unused2
;
88 #endif /* __ASM_SH64_STAT_H */