fed up with those stupid warnings
[mmotm.git] / arch / blackfin / include / asm / stat.h
blob2e27665c4e91956c1bb7cc7525c0815c4c1ab485
1 /*
2 * Copyright 2004-2006 Analog Devices Inc.
4 * Licensed under the GPL-2.
5 */
7 #ifndef _BFIN_STAT_H
8 #define _BFIN_STAT_H
10 struct stat {
11 unsigned short st_dev;
12 unsigned short __pad1;
13 unsigned long 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 short __pad2;
20 unsigned long st_size;
21 unsigned long st_blksize;
22 unsigned long st_blocks;
23 unsigned long st_atime;
24 unsigned long __unused1;
25 unsigned long st_mtime;
26 unsigned long __unused2;
27 unsigned long st_ctime;
28 unsigned long __unused3;
29 unsigned long __unused4;
30 unsigned long __unused5;
33 /* This matches struct stat64 in glibc2.1, hence the absolutely
34 * insane amounts of padding around dev_t's.
36 struct stat64 {
37 unsigned long long st_dev;
38 unsigned char __pad1[4];
40 #define STAT64_HAS_BROKEN_ST_INO 1
41 unsigned long __st_ino;
43 unsigned int st_mode;
44 unsigned int st_nlink;
46 unsigned long st_uid;
47 unsigned long st_gid;
49 unsigned long long st_rdev;
50 unsigned char __pad2[4];
52 long long st_size;
53 unsigned long st_blksize;
55 long long st_blocks; /* Number 512-byte blocks allocated. */
57 unsigned long st_atime;
58 unsigned long st_atime_nsec;
60 unsigned long st_mtime;
61 unsigned long st_mtime_nsec;
63 unsigned long st_ctime;
64 unsigned long st_ctime_nsec;
66 unsigned long long st_ino;
69 #endif /* _BFIN_STAT_H */