root/include/asm-mips/stat.h

/* [previous][next][first][last][top][bottom][index][help] */

INCLUDED FROM


   1 #ifndef __ASM_MIPS_STAT_H
   2 #define __ASM_MIPS_STAT_H
   3 
   4 #include <linux/types.h>
   5 
   6 struct old_stat {
   7         unsigned int    st_dev;
   8         unsigned int    st_ino;
   9         unsigned int    st_mode;
  10         unsigned int    st_nlink;
  11         unsigned int    st_uid;
  12         unsigned int    st_gid;
  13         unsigned int    st_rdev;
  14         long            st_size;
  15         unsigned int    st_atime, st_res1;
  16         unsigned int    st_mtime, st_res2;
  17         unsigned int    st_ctime, st_res3;
  18         unsigned int    st_blkize;
  19         int             st_blocks;
  20         unsigned int    st_flags;
  21         unsigned int    st_gen;
  22 };
  23 
  24 struct new_stat {
  25         dev_t           st_dev;
  26         long            st_pad1[3];             /* Reserved for network id */
  27         ino_t           st_ino;
  28         mode_t          st_mode;
  29         nlink_t         st_nlink;
  30         uid_t           st_uid;
  31         gid_t           st_gid;
  32         dev_t           st_rdev;
  33         long            st_pad2[2];
  34         off_t           st_size;
  35         long            st_pad3;
  36         /*
  37          * Actually this should be timestruc_t st_atime, st_mtime and st_ctime
  38          * but we don't have it under Linux.
  39          */
  40         time_t          st_atime;
  41         long            reserved0;
  42         time_t          st_mtime;
  43         long            reserved1;
  44         time_t          st_ctime;
  45         long            reserved2;
  46         long            st_blksize;
  47         long            st_blocks;
  48         char            st_fstype[16];  /* Filesystem type name */
  49         long            st_pad4[8];
  50         /* Linux specific fields */
  51         unsigned int    st_flags;
  52         unsigned int    st_gen;
  53 };
  54 
  55 #endif /* __ASM_MIPS_STAT_H */

/* [previous][next][first][last][top][bottom][index][help] */