home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 15 / 15.iso / s / s053 / 9.ddi / usr / include / sys / var.h < prev    next >
Encoding:
C/C++ Source or Header  |  1990-12-08  |  2.0 KB  |  54 lines

  1. /*    Copyright (c) 1990 UNIX System Laboratories, Inc.    */
  2. /*    Copyright (c) 1984, 1986, 1987, 1988, 1989, 1990 AT&T    */
  3. /*      All Rights Reserved      */
  4.  
  5. /*    THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF         */
  6. /*    UNIX System Laboratories, Inc.                         */
  7. /*    The copyright notice above does not evidence any       */
  8. /*    actual or intended publication of such source code.    */
  9.  
  10. #ifndef _SYS_VAR_H
  11. #define _SYS_VAR_H
  12.  
  13. #ident    "@(#)/usr/include/sys/var.h.sl 1.1 4.0 12/08/90 1290 AT&T-USL"
  14.  
  15. /*
  16.  * System Configuration Information
  17.  */
  18. struct var {
  19.     int    v_buf;        /* Nbr of I/O buffers.            */
  20.     int    v_call;        /* Nbr of callout (timeout) entries.    */
  21.     int v_proc;     /* Max nbr of processes system wide */
  22.     int v_filler;   /* (unused)             */
  23.     int    v_nglobpris;    /* Nbr of global sched prios configured    */
  24.     int    v_maxsyspri;    /* Max global pri used by sys class.    */
  25.     int    v_clist;    /* Nbr of clists allocated.        */
  26.     int    v_maxup;    /* Max number of processes per user.    */
  27.     int    v_hbuf;        /* Nbr of hash buffers to allocate.    */
  28.     int    v_hmask;    /* Hash mask for buffers.        */
  29.     int    v_pbuf;        /* Nbr of physical I/O buffers.        */
  30.     int    v_sptmap;    /* Size of system virtual space        */
  31.                 /* allocation map.            */
  32.     int    v_maxpmem;    /* The maximum physical memory to use.    */
  33.                 /* If v_maxpmem == 0, then use all    */
  34.                 /* available physical memory.        */
  35.                 /* Otherwise, value is amount of mem to    */
  36.                 /* use specified in pages.        */
  37.     int    v_autoup;    /* The age a delayed-write buffer must    */
  38.                 /* be in seconds before bdflush will    */
  39.                 /* write it out.            */
  40.     int    v_bufhwm;    /* high-water-mark of buffer cache    */
  41.                 /* memory usage, in units of K Bytes
  42.     /* XENIX Support */
  43.     int     v_scrn;        /* number of multi-screens. (XENIX)     */
  44.     int     v_emap;        /* number of i/o mappings (XENIX)     */
  45.     int     v_sxt;        /* number sxt's for shell layers (XENIX)*/
  46.     int    v_xsdsegs;    /* Number of XENIX shared data segs     */
  47.     int    v_xsdslots;    /* Number of slots in xsdtab[] per seg  */
  48.     /* End XENIX Support */
  49. };
  50.  
  51. extern struct var v;
  52.  
  53. #endif    /* _SYS_VAR_H */
  54.