1: /*
   2:  * Structure of the super-block
   3:  */
   4: struct  filsys
   5: {
   6:     u_short s_isize;        /* size in blocks of i-list */
   7:     daddr_t s_fsize;        /* size in blocks of entire volume */
   8:     short   s_nfree;        /* number of addresses in s_free */
   9:     daddr_t s_free[NICFREE];    /* free block list */
  10:     short   s_ninode;       /* number of i-nodes in s_inode */
  11:     ino_t   s_inode[NICINOD];   /* free i-node list */
  12:     char    s_flock;        /* lock during free list manipulation */
  13:     char    s_ilock;        /* lock during i-list manipulation */
  14:     char    s_fmod;         /* super block modified flag */
  15:     char    s_ronly;        /* mounted read-only flag */
  16:     time_t  s_time;         /* last super block update */
  17:     daddr_t s_tfree;        /* total free blocks*/
  18:     ino_t   s_tinode;       /* total free inodes */
  19:     short   s_dinfo[2];     /* interleave stuff */
  20: #define s_m s_dinfo[0]
  21: #define s_n s_dinfo[1]
  22:     char    s_fsmnt[12];        /* ordinary file mounted on */
  23:     ino_t   s_lasti;        /* start place for circular search */
  24:     ino_t   s_nbehind;      /* est # free inodes before s_lasti */
  25: };
  26: 
  27: #ifdef KERNEL
  28: struct  filsys *getfs();
  29: #endif

Defined struct's

filsys defined in line 4; used 68 times

Defined macros

s_m defined in line 20; used 3 times
s_n defined in line 21; used 7 times

Usage of this include

Last modified: 1983-06-13
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 791
Valid CSS Valid XHTML 1.0 Strict