2 * Copyright (C) 2004-2006 Atmel Corporation
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
8 #ifndef _UAPI__ASM_AVR32_STAT_H
9 #define _UAPI__ASM_AVR32_STAT_H
11 struct __old_kernel_stat
{
12 unsigned short st_dev
;
13 unsigned short st_ino
;
14 unsigned short st_mode
;
15 unsigned short st_nlink
;
16 unsigned short st_uid
;
17 unsigned short st_gid
;
18 unsigned short st_rdev
;
19 unsigned long st_size
;
20 unsigned long st_atime
;
21 unsigned long st_mtime
;
22 unsigned long st_ctime
;
28 unsigned short st_mode
;
29 unsigned short st_nlink
;
30 unsigned short st_uid
;
31 unsigned short st_gid
;
32 unsigned long st_rdev
;
33 unsigned long st_size
;
34 unsigned long st_blksize
;
35 unsigned long st_blocks
;
36 unsigned long st_atime
;
37 unsigned long st_atime_nsec
;
38 unsigned long st_mtime
;
39 unsigned long st_mtime_nsec
;
40 unsigned long st_ctime
;
41 unsigned long st_ctime_nsec
;
42 unsigned long __unused4
;
43 unsigned long __unused5
;
46 #define STAT_HAVE_NSEC 1
49 unsigned long long st_dev
;
51 unsigned long long st_ino
;
53 unsigned int st_nlink
;
58 unsigned long long st_rdev
;
61 unsigned long __pad1
; /* align 64-bit st_blocks */
62 unsigned long st_blksize
;
64 unsigned long long st_blocks
; /* Number 512-byte blocks allocated. */
66 unsigned long st_atime
;
67 unsigned long st_atime_nsec
;
69 unsigned long st_mtime
;
70 unsigned long st_mtime_nsec
;
72 unsigned long st_ctime
;
73 unsigned long st_ctime_nsec
;
75 unsigned long __unused1
;
76 unsigned long __unused2
;
79 #endif /* _UAPI__ASM_AVR32_STAT_H */