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

Defined struct's

filsys defined in line 6; used 4 times

Defined macros

s_m defined in line 22; never used
s_n defined in line 23; never used

Usage of this include

Last modified: 1983-04-28
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 724
Valid CSS Valid XHTML 1.0 Strict