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

##### Variables

    forkstat          X
    maxslp            X

##### struct's

    forkstat          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:  *	@(#)vmsystm.h	7.2.1 (2.11BSD GTE) 1/15/95
       7:  */
       8:
       9: /*
      10:  * Miscellaneous virtual memory subsystem variables and structures.
      11:  */
      12:
      13: size_t  freemem;        /* remaining clicks of free memory */
      14:
      15: #if defined(KERNEL) && defined(UCB_METER) && !defined(SUPERVISOR)
      16: u_short avefree;        /* moving average of remaining free clicks */
      17: u_short avefree30;      /* 30 sec (avefree is 5 sec) moving average */
      18:
      19: /* writable copies of tunables */
      20: int maxslp;         /* max sleep time before very swappable */
      21: #endif
      22:
      23: /*
      24:  * Fork/vfork accounting.
      25:  */
      26: struct  forkstat
      27: {
      28:     long    cntfork;
      29:     long    cntvfork;
      30:     long    sizfork;
      31:     long    sizvfork;
      32: };
      33: #if defined(KERNEL) && defined(UCB_METER) && !defined(SUPERVISOR)
      34: struct  forkstat forkstat;
      35: #endif

#### Defined variables

forkstat defined in line 34; used 4 times

- in /usr/src/sys/sys/kern_fork.c line 182-186(4)

maxslp defined in line 20; used 6 times

- in /usr/src/sys/sys/vm_sched.c line 110, 116, 244-248(3), 270

#### Defined struct's

forkstat defined in line 26; used 6 times

- in line 34(2)
- in /usr/src/ucb/PORT/systat/vmstat.c line 102(2)
- in /usr/src/ucb/vmstat.c line 130(2)

#### Usage of this include

vmsystm.h used 2 times

- in /usr/src/sys/h/vm.h line 18-23(2)

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