Annotation of 42BSD/sys/h/dmap.h, revision 1.1.1.1

1.1       root        1: /*     dmap.h  6.1     83/07/29        */
                      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: 
                     10: struct dmap
                     11: {
                     12:        swblk_t dm_size;        /* current size used by process */
                     13:        swblk_t dm_alloc;       /* amount of physical swap space allocated */
                     14:        swblk_t dm_map[NDMAP];  /* first disk block number in each chunk */
                     15: };
                     16: #ifdef KERNEL
                     17: struct dmap zdmap;
                     18: int    dmmin, dmmax, dmtext;
                     19: #endif
                     20: 
                     21: /*
                     22:  * The following structure is that ``returned''
                     23:  * from a call to vstodb().
                     24:  */
                     25: struct dblock
                     26: {
                     27:        swblk_t db_base;        /* base of physical contig drum block */
                     28:        swblk_t db_size;        /* size of block */
                     29: };

unix.superglobalmegacorp.com

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