Files
Arquivotheca.SunOS-4.1.4/sys/old/dmap.h
seta75D ff309bfe1c Init
2021-10-11 18:37:13 -03:00

30 lines
684 B
C

/* @(#)dmap.h 1.1 94/10/31 SMI; from UCB 4.5 83/05/18 */
/*
* Definitions for the mapping of vitual swap
* space to the physical swap area - the disk map.
*/
#define NDMAP 36 /* size of the swap area map */
struct dmap
{
swblk_t dm_size; /* current size used by process */
swblk_t dm_alloc; /* amount of physical swap space allocated */
swblk_t dm_map[NDMAP]; /* first disk block number in each chunk */
};
#ifdef KERNEL
struct dmap zdmap;
int dmmin, dmmax, dmtext;
#endif
/*
* The following structure is that ``returned''
* from a call to vstodb().
*/
struct dblock
{
swblk_t db_base; /* base of physical contig drum block */
swblk_t db_size; /* size of block */
};