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: struct inode *rootdir;      /* pointer to inode of root directory */
   8: struct proc *runq;      /* head of linked list of running processes */
   9: int cputype;        /* type of cpu =40, 45, or 70 */
  10: int lbolt;          /* time of day in 60th not in time */
  11: time_t  time;           /* time in sec from 1970 */
  12: 
  13: /*
  14:  * Nblkdev is the number of entries
  15:  * (rows) in the block switch. It is
  16:  * set in binit/bio.c by making
  17:  * a pass over the switch.
  18:  * Used in bounds checking on major
  19:  * device numbers.
  20:  */
  21: int nblkdev;
  22: 
  23: /*
  24:  * Number of character switch entries.
  25:  * Set by cinit/tty.c
  26:  */
  27: int nchrdev;
  28: 
  29: int mpid;           /* generic for unique process id's */
  30: char    runin;          /* scheduling flag */
  31: char    runout;         /* scheduling flag */
  32: char    runrun;         /* scheduling flag */
  33: char    curpri;         /* more scheduling */
  34: int maxmem;         /* actual max memory per process */
  35: physadr lks;            /* pointer to clock device */
  36: daddr_t swplo;          /* block number of swap space */
  37: int nswap;          /* size of swap space */
  38: int updlock;        /* lock for sync */
  39: daddr_t rablock;        /* block to be read ahead */
  40: extern  char    regloc[];   /* locs. of saved user registers (trap.c) */
  41: char    msgbuf[MSGBUFS];    /* saved "printf" characters */
  42: dev_t   rootdev;        /* device of the root */
  43: dev_t   swapdev;        /* swapping device */
  44: dev_t   pipedev;        /* pipe device */
  45: extern  int icode[];    /* user init code */
  46: extern  int szicode;    /* its size */
  47: 
  48: dev_t getmdev();
  49: daddr_t bmap();
  50: struct inode *ialloc();
  51: struct inode *iget();
  52: struct inode *owner();
  53: struct inode *maknode();
  54: struct inode *namei();
  55: struct buf *alloc();
  56: struct buf *getblk();
  57: struct buf *geteblk();
  58: struct buf *bread();
  59: struct buf *breada();
  60: struct filsys *getfs();
  61: struct file *getf();
  62: struct file *falloc();
  63: int uchar();
  64: /*
  65:  * Instrumentation
  66:  */
  67: int dk_busy;
  68: long    dk_time[32];
  69: long    dk_numb[3];
  70: long    dk_wds[3];
  71: long    tk_nin;
  72: long    tk_nout;
  73: 
  74: /*
  75:  * Structure of the system-entry table
  76:  */
  77: extern struct sysent {
  78:     char    sy_narg;        /* total number of arguments */
  79:     char    sy_nrarg;       /* number of args in registers */
  80:     int (*sy_call)();       /* handler */
  81: } sysent[];

Defined variables

canonb defined in line 6; used 4 times
cputype defined in line 9; used 7 times
curpri defined in line 33; used 4 times
dk_busy defined in line 67; used 13 times
dk_numb defined in line 69; used 6 times
dk_time defined in line 68; used 1 times
dk_wds defined in line 70; used 5 times
lbolt defined in line 10; used 4 times
maxmem defined in line 34; used 5 times
mpid defined in line 29; used 6 times
msgbuf defined in line 41; used 3 times
nblkdev defined in line 21; used 4 times
nchrdev defined in line 27; used 2 times
nswap defined in line 37; used 1 times
pipedev defined in line 44; used 1 times
rablock defined in line 39; used 5 times
rootdev defined in line 42; used 7 times
rootdir defined in line 7; used 3 times
runin defined in line 30; used 11 times
runout defined in line 31; used 8 times
runq defined in line 8; used 5 times
runrun defined in line 32; used 5 times
swapdev defined in line 43; used 4 times
swplo defined in line 36; used 4 times
time defined in line 11; used 19 times
tk_nin defined in line 71; used 1 times
tk_nout defined in line 72; used 1 times
updlock defined in line 38; used 3 times

Defined struct's

sysent defined in line 77; used 4 times

Usage of this include

Last modified: 1979-01-10
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 974
Valid CSS Valid XHTML 1.0 Strict