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

Subversion Repositories or1k

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

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1276 phoenix
/* $Id: stat.h,v 1.1.1.1 2004-04-15 03:01:07 phoenix Exp $ */
2
#ifndef _SPARC64_STAT_H
3
#define _SPARC64_STAT_H
4
 
5
#include <linux/types.h>
6
#include <linux/time.h>
7
 
8
struct stat32 {
9
        __kernel_dev_t32   st_dev;
10
        __kernel_ino_t32   st_ino;
11
        __kernel_mode_t32  st_mode;
12
        short              st_nlink;
13
        __kernel_uid_t32   st_uid;
14
        __kernel_gid_t32   st_gid;
15
        __kernel_dev_t32   st_rdev;
16
        __kernel_off_t32   st_size;
17
        __kernel_time_t32  st_atime;
18
        unsigned int       __unused1;
19
        __kernel_time_t32  st_mtime;
20
        unsigned int       __unused2;
21
        __kernel_time_t32  st_ctime;
22
        unsigned int       __unused3;
23
        __kernel_off_t32   st_blksize;
24
        __kernel_off_t32   st_blocks;
25
        unsigned int  __unused4[2];
26
};
27
 
28
struct stat {
29
        dev_t   st_dev;
30
        ino_t   st_ino;
31
        mode_t  st_mode;
32
        short   st_nlink;
33
        uid_t   st_uid;
34
        gid_t   st_gid;
35
        dev_t   st_rdev;
36
        off_t   st_size;
37
        time_t  st_atime;
38
        time_t  st_mtime;
39
        time_t  st_ctime;
40
        off_t   st_blksize;
41
        off_t   st_blocks;
42
        unsigned long  __unused4[2];
43
};
44
 
45
#ifdef __KERNEL__
46
/* This is sparc32 stat64 structure. */
47
 
48
struct stat64 {
49
        unsigned char   __pad0[6];
50
        unsigned short  st_dev;
51
 
52
        unsigned long long      st_ino;
53
 
54
        unsigned int    st_mode;
55
        unsigned int    st_nlink;
56
 
57
        unsigned int    st_uid;
58
        unsigned int    st_gid;
59
 
60
        unsigned char   __pad2[6];
61
        unsigned short  st_rdev;
62
 
63
        unsigned char   __pad3[8];
64
 
65
        long long       st_size;
66
        unsigned int    st_blksize;
67
 
68
        unsigned char   __pad4[8];
69
        unsigned int    st_blocks;
70
 
71
        unsigned int    st_atime;
72
        unsigned int    __unused1;
73
 
74
        unsigned int    st_mtime;
75
        unsigned int    __unused2;
76
 
77
        unsigned int    st_ctime;
78
        unsigned int    __unused3;
79
 
80
        unsigned int    __unused4;
81
        unsigned int    __unused5;
82
};
83
 
84
#endif
85
 
86
#endif

powered by: WebSVN 2.1.0

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