Annotation of 3BSD/sys/h/dmap.h, revision 1.1

1.1     ! root        1: /*     dmap.h  2.1     1/5/80  */
        !             2: 
        !             3: /*
        !             4:  * Definitions for the mapping of vitual swap
        !             5:  * space to the physical swap area - the disk map.
        !             6:  */
        !             7: 
        !             8: #define        NDMAP           16      /* size of the swap area map */
        !             9: #define        DMMIN           16      /* the initial block size in clicks */
        !            10: #define        DMMAX           4096    /* max block size alloc on drum = 2M byte */
        !            11: 
        !            12: struct dmap
        !            13: {
        !            14:        swblk_t dm_size;        /* current size used by process */
        !            15:        swblk_t dm_alloc;       /* amount of physical swap space allocated */
        !            16:        swblk_t dm_map[NDMAP];  /* first disk block number in each chunk */
        !            17: };
        !            18: #ifdef KERNEL
        !            19: struct dmap zdmap;
        !            20: #endif
        !            21: 
        !            22: /*
        !            23:  * The following structure is that ``returned''
        !            24:  * from a call to vstodb().
        !            25:  */
        !            26: struct dblock
        !            27: {
        !            28:        swblk_t db_base;        /* base of physical contig drum block */
        !            29:        swblk_t db_size;        /* size of block */
        !            30: };

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.