vm_param.h (0bfd163f522701b486e066fa2e56624c02f5081a) vm_param.h (44f1c916109d4d88941d257b7c4c96c26ab55477)
1/*-
2 * Copyright (c) 1991, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * The Mach Operating System project at Carnegie-Mellon University.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 61 unchanged lines hidden (view full) ---

70#include <machine/vmparam.h>
71
72/*
73 * CTL_VM identifiers
74 */
75#define VM_TOTAL 1 /* struct vmtotal */
76#define VM_METER VM_TOTAL/* deprecated, use VM_TOTAL */
77#define VM_LOADAVG 2 /* struct loadavg */
1/*-
2 * Copyright (c) 1991, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * The Mach Operating System project at Carnegie-Mellon University.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 61 unchanged lines hidden (view full) ---

70#include <machine/vmparam.h>
71
72/*
73 * CTL_VM identifiers
74 */
75#define VM_TOTAL 1 /* struct vmtotal */
76#define VM_METER VM_TOTAL/* deprecated, use VM_TOTAL */
77#define VM_LOADAVG 2 /* struct loadavg */
78#define VM_V_FREE_MIN 3 /* cnt.v_free_min */
79#define VM_V_FREE_TARGET 4 /* cnt.v_free_target */
80#define VM_V_FREE_RESERVED 5 /* cnt.v_free_reserved */
81#define VM_V_INACTIVE_TARGET 6 /* cnt.v_inactive_target */
82#define VM_V_CACHE_MIN 7 /* cnt.v_cache_min */
83#define VM_V_CACHE_MAX 8 /* cnt.v_cache_max */
84#define VM_V_PAGEOUT_FREE_MIN 9 /* cnt.v_pageout_free_min */
78#define VM_V_FREE_MIN 3 /* vm_cnt.v_free_min */
79#define VM_V_FREE_TARGET 4 /* vm_cnt.v_free_target */
80#define VM_V_FREE_RESERVED 5 /* vm_cnt.v_free_reserved */
81#define VM_V_INACTIVE_TARGET 6 /* vm_cnt.v_inactive_target */
82#define VM_V_CACHE_MIN 7 /* vm_cnt.v_cache_min */
83#define VM_V_CACHE_MAX 8 /* vm_cnt.v_cache_max */
84#define VM_V_PAGEOUT_FREE_MIN 9 /* vm_cnt.v_pageout_free_min */
85#define VM_OBSOLETE_10 10 /* pageout algorithm */
86#define VM_SWAPPING_ENABLED 11 /* swapping enabled */
87#define VM_MAXID 12 /* number of valid vm ids */
88
89/*
90 * Structure for swap device statistics
91 */
92#define XSWDEV_VERSION 1

--- 42 unchanged lines hidden ---
85#define VM_OBSOLETE_10 10 /* pageout algorithm */
86#define VM_SWAPPING_ENABLED 11 /* swapping enabled */
87#define VM_MAXID 12 /* number of valid vm ids */
88
89/*
90 * Structure for swap device statistics
91 */
92#define XSWDEV_VERSION 1

--- 42 unchanged lines hidden ---