fs: use kmem_cache_zalloc instead
[pv_ops_mirror.git] / include / asm-blackfin / stat.h
blobd2b6f11ec231011672b3e6f68bebbee60d884cc7
1 #ifndef _BFIN_STAT_H
2 #define _BFIN_STAT_H
4 struct stat {
5 unsigned short st_dev;
6 unsigned short __pad1;
7 unsigned long st_ino;
8 unsigned short st_mode;
9 unsigned short st_nlink;
10 unsigned short st_uid;
11 unsigned short st_gid;
12 unsigned short st_rdev;
13 unsigned short __pad2;
14 unsigned long st_size;
15 unsigned long st_blksize;
16 unsigned long st_blocks;
17 unsigned long st_atime;
18 unsigned long __unused1;
19 unsigned long st_mtime;
20 unsigned long __unused2;
21 unsigned long st_ctime;
22 unsigned long __unused3;
23 unsigned long __unused4;
24 unsigned long __unused5;
27 /* This matches struct stat64 in glibc2.1, hence the absolutely
28 * insane amounts of padding around dev_t's.
30 struct stat64 {
31 unsigned long long st_dev;
32 unsigned char __pad1[4];
34 #define STAT64_HAS_BROKEN_ST_INO 1
35 unsigned long __st_ino;
37 unsigned int st_mode;
38 unsigned int st_nlink;
40 unsigned long st_uid;
41 unsigned long st_gid;
43 unsigned long long st_rdev;
44 unsigned char __pad2[4];
46 long long st_size;
47 unsigned long st_blksize;
49 long long st_blocks; /* Number 512-byte blocks allocated. */
51 unsigned long st_atime;
52 unsigned long st_atime_nsec;
54 unsigned long st_mtime;
55 unsigned long st_mtime_nsec;
57 unsigned long st_ctime;
58 unsigned long st_ctime_nsec;
60 unsigned long long st_ino;
63 #endif /* _BFIN_STAT_H */