1: /*
   2:  * Random set of variables
   3:  * used by more than one
   4:  * routine.
   5:  */
   6: char    canonb[CANBSIZ];    /* buffer for erase and kill (#@) */
   7: int coremap[CMAPSIZ];   /* space for core allocation */
   8: int swapmap[SMAPSIZ];   /* space for swap allocation */
   9: int *rootdir;       /* pointer to inode of root directory */
  10: int cputype;        /* type of cpu =40, 45, or 70 */
  11: int execnt;         /* number of processes in exec */
  12: int lbolt;          /* time of day in 60th not in time */
  13: int time[2];        /* time in sec from 1970 */
  14: int tout[2];        /* time of day of next sleep */
  15: /*
  16:  * The callout structure is for
  17:  * a routine arranging
  18:  * to be called by the clock interrupt
  19:  * (clock.c) with a specified argument,
  20:  * in a specified amount of time.
  21:  * Used, for example, to time tab
  22:  * delays on teletypes.
  23:  */
  24: struct  callo
  25: {
  26:     int c_time;     /* incremental time */
  27:     int c_arg;      /* argument to routine */
  28:     int (*c_func)();    /* routine */
  29: } callout[NCALL];
  30: /*
  31:  * Mount structure.
  32:  * One allocated on every mount.
  33:  * Used to find the super block.
  34:  */
  35: struct  mount
  36: {
  37:     int m_dev;      /* device mounted */
  38:     int *m_bufp;    /* pointer to superblock */
  39:     int *m_inodp;   /* pointer to mounted on inode */
  40: } mount[NMOUNT];
  41: int mpid;           /* generic for unique process id's */
  42: char    runin;          /* scheduling flag */
  43: char    runout;         /* scheduling flag */
  44: char    runrun;         /* scheduling flag */
  45: char    curpri;         /* more scheduling */
  46: int maxmem;         /* actual max memory per process */
  47: int *lks;           /* pointer to clock device */
  48: int rootdev;        /* dev of root see conf.c */
  49: int swapdev;        /* dev of swap see conf.c */
  50: int swplo;          /* block number of swap space */
  51: int nswap;          /* size of swap space */
  52: int updlock;        /* lock for sync */
  53: int rablock;        /* block to be read ahead */
  54: char    regloc[];       /* locs. of saved user registers (trap.c) */

Defined variables

callout defined in line 29; used 6 times
canonb defined in line 6; used 4 times
coremap defined in line 7; used 9 times
cputype defined in line 10; used 6 times
curpri defined in line 45; used 3 times
execnt defined in line 11; used 6 times
lbolt defined in line 12; used 4 times
lks defined in line 47; used 6 times
maxmem defined in line 46; used 5 times
mount defined in line 40; used 12 times
mpid defined in line 41; used 5 times
nswap defined in line 51; used 1 times
rablock defined in line 53; used 6 times
regloc defined in line 54; used 3 times
rootdev defined in line 48; used 7 times
rootdir defined in line 9; used 3 times
runin defined in line 42; used 8 times
runout defined in line 43; used 8 times
runrun defined in line 44; used 4 times
swapdev defined in line 49; used 4 times
swapmap defined in line 8; used 7 times
swplo defined in line 50; used 1 times
time defined in line 13; used 24 times
tout defined in line 14; used 11 times
updlock defined in line 52; used 4 times

Defined struct's

callo defined in line 24; used 4 times
mount defined in line 35; used 10 times

Usage of this include

Last modified: 1975-05-14
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 1575
Valid CSS Valid XHTML 1.0 Strict