OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [linux/] [uClibc/] [libc/] [sysdeps/] [linux/] [sh64/] [bits/] [kernel_stat.h] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1325 phoenix
/* Stat structure for Linux/sh64 */
2
 
3
#ifndef _BITS_STAT_STRUCT_H
4
#define _BITS_STAT_STRUCT_H
5
 
6
struct kernel_stat {
7
        unsigned short st_dev;
8
        unsigned short __pad1;
9
        unsigned long st_ino;
10
        unsigned short st_mode;
11
        unsigned short st_nlink;
12
        unsigned short st_uid;
13
        unsigned short st_gid;
14
        unsigned short st_rdev;
15
        unsigned short __pad2;
16
        unsigned long  st_size;
17
        unsigned long  st_blksize;
18
        unsigned long  st_blocks;
19
        unsigned long  st_atime;
20
        unsigned long  __unused1;
21
        unsigned long  st_mtime;
22
        unsigned long  __unused2;
23
        unsigned long  st_ctime;
24
        unsigned long  __unused3;
25
        unsigned long  __unused4;
26
        unsigned long  __unused5;
27
};
28
 
29
struct kernel_stat64 {
30
        unsigned short  st_dev;
31
        unsigned char   __pad0[10];
32
 
33
        unsigned long   st_ino;
34
        unsigned int    st_mode;
35
        unsigned int    st_nlink;
36
 
37
        unsigned long   st_uid;
38
        unsigned long   st_gid;
39
 
40
        unsigned short  st_rdev;
41
        unsigned char   __pad3[10];
42
 
43
        long long       st_size;
44
        unsigned long   st_blksize;
45
 
46
        unsigned long   st_blocks;      /* Number 512-byte blocks allocated. */
47
        unsigned long   __pad4;         /* future possible st_blocks high bits */
48
 
49
        unsigned long   st_atime;
50
        unsigned long   __pad5;
51
 
52
        unsigned long   st_mtime;
53
        unsigned long   __pad6;
54
 
55
        unsigned long   st_ctime;
56
        unsigned long   __pad7;         /* will be high 32 bits of ctime someday */
57
 
58
        unsigned long   __unused1;
59
        unsigned long   __unused2;
60
};
61
 
62
#endif /* _BITS_STAT_STRUCT_H */
63
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.