1: /*
   2:  * Copyright (c) 1982, 1986 Regents of the University of California.
   3:  * All rights reserved.  The Berkeley software License Agreement
   4:  * specifies the terms and conditions for redistribution.
   5:  *
   6:  *	@(#)dmap.h	7.1 (Berkeley) 6/4/86
   7:  */
   8: 
   9: /*
  10:  * Definitions for the mapping of vitual swap
  11:  * space to the physical swap area - the disk map.
  12:  */
  13: 
  14: #define NDMAP       38  /* size of the swap area map */
  15: 
  16: struct  dmap
  17: {
  18:     swblk_t dm_size;    /* current size used by process */
  19:     swblk_t dm_alloc;   /* amount of physical swap space allocated */
  20:     swblk_t dm_map[NDMAP];  /* first disk block number in each chunk */
  21: };
  22: #ifdef KERNEL
  23: struct  dmap zdmap;
  24: int dmmin, dmmax, dmtext;
  25: #endif
  26: 
  27: /*
  28:  * The following structure is that ``returned''
  29:  * from a call to vstodb().
  30:  */
  31: struct  dblock
  32: {
  33:     swblk_t db_base;    /* base of physical contig drum block */
  34:     swblk_t db_size;    /* size of block */
  35: };

Defined variables

dmmax defined in line 24; never used
dmmin defined in line 24; never used
dmtext defined in line 24; never used
zdmap defined in line 23; never used

Defined struct's

dblock defined in line 31; never used
dmap defined in line 16; used 8 times

Defined macros

NDMAP defined in line 14; used 1 times
  • in line 20

Usage of this include

dmap.h used 1 times
Last modified: 1986-06-05
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 487
Valid CSS Valid XHTML 1.0 Strict