sync hh.org
[hh.org.git] / include / asm-v850 / stat.h
blobc68c60d06e2fee86d392fd1af33240209e222bda
1 /*
2 * include/asm-v850/stat.h -- v850 stat structure
4 * Copyright (C) 2001,02,03 NEC Electronics Corporation
5 * Copyright (C) 2001,02,03 Miles Bader <miles@gnu.org>
7 * This file is subject to the terms and conditions of the GNU General
8 * Public License. See the file COPYING in the main directory of this
9 * archive for more details.
11 * Written by Miles Bader <miles@gnu.org>
14 #ifndef __V850_STAT_H__
15 #define __V850_STAT_H__
17 #include <asm/posix_types.h>
19 struct stat {
20 unsigned int st_dev;
21 unsigned long st_ino;
22 unsigned int st_mode;
23 unsigned int st_nlink;
24 unsigned int st_uid;
25 unsigned int st_gid;
26 unsigned int st_rdev;
27 long st_size;
28 unsigned long st_blksize;
29 unsigned long st_blocks;
30 unsigned long st_atime;
31 unsigned long __unused1;
32 unsigned long st_mtime;
33 unsigned long __unused2;
34 unsigned long st_ctime;
35 unsigned long __unused3;
36 unsigned long __unused4;
37 unsigned long __unused5;
40 struct stat64 {
41 unsigned long long st_dev;
42 unsigned long __unused1;
44 unsigned long long st_ino;
46 unsigned int st_mode;
47 unsigned int st_nlink;
49 unsigned int st_uid;
50 unsigned int st_gid;
52 unsigned long long st_rdev;
53 unsigned long __unused3;
55 long long st_size;
56 unsigned long st_blksize;
58 unsigned long st_blocks; /* No. of 512-byte blocks allocated */
59 unsigned long __unused4; /* future possible st_blocks high bits */
61 unsigned long st_atime;
62 unsigned long st_atime_nsec;
64 unsigned long st_mtime;
65 unsigned long st_mtime_nsec;
67 unsigned long st_ctime;
68 unsigned long st_ctime_nsec;
70 unsigned long __unused8;
73 #endif /* __V850_STAT_H__ */