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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [include/] [asm-s390/] [stat.h] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1276 phoenix
/*
2
 *  include/asm-s390/stat.h
3
 *
4
 *  S390 version
5
 *
6
 *  Derived from "include/asm-i386/stat.h"
7
 */
8
 
9
#ifndef _S390_STAT_H
10
#define _S390_STAT_H
11
 
12
struct __old_kernel_stat {
13
        unsigned short st_dev;
14
        unsigned short st_ino;
15
        unsigned short st_mode;
16
        unsigned short st_nlink;
17
        unsigned short st_uid;
18
        unsigned short st_gid;
19
        unsigned short st_rdev;
20
        unsigned long  st_size;
21
        unsigned long  st_atime;
22
        unsigned long  st_mtime;
23
        unsigned long  st_ctime;
24
};
25
 
26
struct stat {
27
        unsigned short st_dev;
28
        unsigned short __pad1;
29
        unsigned long st_ino;
30
        unsigned short st_mode;
31
        unsigned short st_nlink;
32
        unsigned short st_uid;
33
        unsigned short st_gid;
34
        unsigned short st_rdev;
35
        unsigned short __pad2;
36
        unsigned long  st_size;
37
        unsigned long  st_blksize;
38
        unsigned long  st_blocks;
39
        unsigned long  st_atime;
40
        unsigned long  __unused1;
41
        unsigned long  st_mtime;
42
        unsigned long  __unused2;
43
        unsigned long  st_ctime;
44
        unsigned long  __unused3;
45
        unsigned long  __unused4;
46
        unsigned long  __unused5;
47
};
48
 
49
/* This matches struct stat64 in glibc2.1, hence the absolutely
50
 * insane amounts of padding around dev_t's.
51
 */
52
struct stat64 {
53
        unsigned char   __pad0[6];
54
        unsigned short  st_dev;
55
        unsigned int    __pad1;
56
#define STAT64_HAS_BROKEN_ST_INO        1
57
        unsigned long   __st_ino;
58
        unsigned int    st_mode;
59
        unsigned int    st_nlink;
60
        unsigned long   st_uid;
61
        unsigned long   st_gid;
62
        unsigned char   __pad2[6];
63
        unsigned short  st_rdev;
64
        unsigned int    __pad3;
65
        long long       st_size;
66
        unsigned long   st_blksize;
67
        unsigned char   __pad4[4];
68
        unsigned long   __pad5;     /* future possible st_blocks high bits */
69
        unsigned long   st_blocks;  /* Number 512-byte blocks allocated. */
70
        unsigned long   st_atime;
71
        unsigned long   __pad6;
72
        unsigned long   st_mtime;
73
        unsigned long   __pad7;
74
        unsigned long   st_ctime;
75
        unsigned long   __pad8;     /* will be high 32 bits of ctime someday */
76
        unsigned long long      st_ino;
77
};
78
 
79
#endif

powered by: WebSVN 2.1.0

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