]> rtime.felk.cvut.cz Git - l4.git/blob - l4/pkg/uclibc/lib/contrib/uclibc/libc/sysdeps/linux/microblaze/bits/kernel_stat.h
update
[l4.git] / l4 / pkg / uclibc / lib / contrib / uclibc / libc / sysdeps / linux / microblaze / bits / kernel_stat.h
1 /* Stat structure for linux/microblaze*/
2
3 #ifndef _BITS_STAT_STRUCT_H
4 #define _BITS_STAT_STRUCT_H
5
6 struct kernel_stat
7 {
8         unsigned long   st_dev;         /* Device.  */
9         unsigned long   st_ino;         /* File serial number.  */
10         unsigned int    st_mode;        /* File mode.  */
11         unsigned int    st_nlink;       /* Link count.  */
12         unsigned int    st_uid;         /* User ID of the file's owner.  */
13         unsigned int    st_gid;         /* Group ID of the file's group. */
14         unsigned long   st_rdev;        /* Device number, if device.  */
15         unsigned long   __pad1;
16         long            st_size;        /* Size of file, in bytes.  */
17         int             st_blksize;     /* Optimal block size for I/O.  */
18         int             __pad2;
19         long            st_blocks;      /* Number 512-byte blocks allocated. */
20         struct timespec st_atim;
21         struct timespec st_mtim;
22         struct timespec st_ctim;
23         unsigned int    __unused4;
24         unsigned int    __unused5;
25 };
26
27 struct kernel_stat64
28 {
29         unsigned long long st_dev;      /* Device.  */
30         unsigned long long st_ino;      /* File serial number.  */
31         unsigned int    st_mode;        /* File mode.  */
32         unsigned int    st_nlink;       /* Link count.  */
33         unsigned int    st_uid;         /* User ID of the file's owner.  */
34         unsigned int    st_gid;         /* Group ID of the file's group. */
35         unsigned long long st_rdev;     /* Device number, if device.  */
36         unsigned long long __pad1;
37         long long       st_size;        /* Size of file, in bytes.  */
38         int             st_blksize;     /* Optimal block size for I/O.  */
39         int             __pad2;
40         long long       st_blocks;      /* Number 512-byte blocks allocated. */
41         struct timespec st_atim;
42         struct timespec st_mtim;
43         struct timespec st_ctim;
44         unsigned int    __unused4;
45         unsigned int    __unused5;
46 };
47
48 #endif  /*  _BITS_STAT_STRUCT_H */