]> rtime.felk.cvut.cz Git - l4.git/blob - l4/pkg/uclibc/lib/contrib/uclibc/libc/sysdeps/linux/frv/bits/kernel_stat.h
update
[l4.git] / l4 / pkg / uclibc / lib / contrib / uclibc / libc / sysdeps / linux / frv / bits / kernel_stat.h
1 #ifndef _BITS_STAT_STRUCT_H
2 #define _BITS_STAT_STRUCT_H
3
4 /* This file provides whatever this particular arch's kernel thinks
5  * struct kernel_stat should look like...  It turns out each arch has a
6  * different opinion on the subject... */
7
8 struct kernel_stat {
9         unsigned char __pad1[6];
10         unsigned short st_dev;
11
12         unsigned long __pad2;
13         unsigned long st_ino;
14
15         unsigned short __pad3;
16         unsigned short st_mode;
17         unsigned short __pad4;
18         unsigned short st_nlink;
19
20         unsigned short __pad5;
21         unsigned short st_uid;
22         unsigned short __pad6;
23         unsigned short st_gid;
24
25         unsigned char __pad7[6];
26         unsigned short st_rdev;
27
28         unsigned long __pad8;
29         unsigned long st_size;
30
31         unsigned long __pad9;           /* align 64-bit st_blocks to 2-word */
32         unsigned long st_blksize;
33
34         unsigned long __pad10;  /* future possible st_blocks high bits */
35         unsigned long st_blocks;        /* Number 512-byte blocks allocated. */
36
37         struct timespec st_atim;
38         struct timespec st_mtim;
39         struct timespec st_ctim;
40
41         unsigned long long __unused4;
42 };
43
44 struct kernel_stat64 {
45         unsigned char __pad1[6];
46         unsigned short st_dev;
47
48         unsigned long long st_ino;
49
50         unsigned int st_mode;
51         unsigned int st_nlink;
52
53         unsigned long st_uid;
54         unsigned long st_gid;
55
56         unsigned char __pad2[6];
57         unsigned short st_rdev;
58
59         long long st_size;
60
61         unsigned long __pad3;           /* align 64-bit st_blocks to 2-word */
62         unsigned long st_blksize;
63
64         unsigned long __pad4;           /* future possible st_blocks high bits */
65         unsigned long st_blocks;        /* Number 512-byte blocks allocated. */
66
67         struct timespec st_atim;
68         struct timespec st_mtim;
69         struct timespec st_ctim;
70
71         unsigned long long __unused4;
72 };
73
74 #endif  /*  _BITS_STAT_STRUCT_H */