# 2.11BSD#431 - /usr/src/sys/h/vmparam.h

##### Macros

    CTL_VM_NAMES      X
    VM_COREMAP        X
    VM_LOADAVG        X
    VM_MAXID          X
    VM_METER          X
    VM_SWAPMAP        X

       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:  *	@(#)vmparam.h	7.1.1 (2.11BSD GTE) 1/14/95
       7:  */
       8:
       9: /*
      10:  * Machine dependent constants
      11:  */
      12: #ifdef KERNEL
      13: #include "../machine/vmparam.h"
      14: #else
      15: #include <machine/vmparam.h>
      16: #endif
      17:
      18: /*
      19:  * CTL_VM identifiers
      20:  */
      21: #define VM_METER    1       /* struct vmmeter */
      22: #define VM_LOADAVG  2       /* struct loadavg */
      23: #define VM_SWAPMAP  3       /* struct mapent _swapmap[] */
      24: #define VM_COREMAP  4       /* struct mapent _coremap[] */
      25: #define VM_MAXID    5       /* number of valid vm ids */
      26:
      27: #ifndef KERNEL
      28: #define CTL_VM_NAMES { \
      29:     { 0, 0 }, \
      30:     { "vmmeter", CTLTYPE_STRUCT }, \
      31:     { "loadavg", CTLTYPE_STRUCT }, \
      32:     { "swapmap", CTLTYPE_STRUCT }, \
      33:     { "coremap", CTLTYPE_STRUCT }, \
      34: }
      35: #endif

#### Defined macros

CTL_VM_NAMES defined in line 28; used 1 times

- in /usr/src/bin/sysctl/sysctl.c line 64

VM_COREMAP defined in line 24; never used
VM_LOADAVG defined in line 22; used 2 times

- in /usr/src/bin/sysctl/sysctl.c line 263
- in /usr/src/lib/libc/gen/getloadavg.c line 59

VM_MAXID defined in line 25; used 1 times

- in /usr/src/bin/sysctl/sysctl.c line 82

VM_METER defined in line 21; never used
VM_SWAPMAP defined in line 23; never used

#### Usage of this include

vmparam.h used 5 times

- in line 13-15(2)
- in /usr/src/lib/libc/gen/getloadavg.c line 40
- in /usr/src/sys/h/vm.h line 15-20(2)

Last modified: 1995-01-20 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 543 |