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