1: /*
   2:  * Text structure.
   3:  * One allocated per pure
   4:  * procedure on swap device.
   5:  * Manipulated by text.c
   6:  */
   7: struct text
   8: {
   9:     short   x_daddr;    /* disk address of segment (relative to swplo) */
  10:     short   x_caddr;    /* core address, if loaded */
  11:     short   x_size;     /* size (clicks) */
  12:     struct inode *x_iptr;   /* inode of prototype */
  13:     char    x_count;    /* reference count */
  14:     char    x_ccount;   /* number of loaded references */
  15:     char    x_flag;     /* traced, written flags */
  16: };
  17: 
  18: extern struct text text[];
  19: 
  20: #define XTRC    01      /* Text may be written, exclusive use */
  21: #define XWRIT   02      /* Text written into, must swap out */
  22: #define XLOAD   04      /* Currently being read from file */
  23: #define XLOCK   010     /* Being swapped in or out */
  24: #define XWANT   020     /* Wanted for swapping */

Defined struct's

text defined in line 7; used 34 times

Defined macros

XLOAD defined in line 22; used 4 times
XLOCK defined in line 23; used 8 times
XTRC defined in line 20; used 1 times
XWANT defined in line 24; used 4 times
XWRIT defined in line 21; used 5 times

Usage of this include

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