vm_param.h (84783) | vm_param.h (109097) |
---|---|
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 --- 47 unchanged lines hidden (view full) --- 56 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU 57 * School of Computer Science 58 * Carnegie Mellon University 59 * Pittsburgh PA 15213-3890 60 * 61 * any improvements or extensions that they make and grant Carnegie the 62 * rights to redistribute these changes. 63 * | 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 --- 47 unchanged lines hidden (view full) --- 56 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU 57 * School of Computer Science 58 * Carnegie Mellon University 59 * Pittsburgh PA 15213-3890 60 * 61 * any improvements or extensions that they make and grant Carnegie the 62 * rights to redistribute these changes. 63 * |
64 * $FreeBSD: head/sys/vm/vm_param.h 84783 2001-10-10 23:06:54Z ps $ | 64 * $FreeBSD: head/sys/vm/vm_param.h 109097 2003-01-11 07:29:47Z dillon $ |
65 */ 66 67/* 68 * Machine independent virtual memory parameters. 69 */ 70 71#ifndef _VM_PARAM_ 72#define _VM_PARAM_ 73 74#include <machine/vmparam.h> 75 76/* 77 * CTL_VM identifiers 78 */ | 65 */ 66 67/* 68 * Machine independent virtual memory parameters. 69 */ 70 71#ifndef _VM_PARAM_ 72#define _VM_PARAM_ 73 74#include <machine/vmparam.h> 75 76/* 77 * CTL_VM identifiers 78 */ |
79#define VM_METER 1 /* struct vmmeter */ | 79#define VM_TOTAL 1 /* struct vmtotal */ |
80#define VM_LOADAVG 2 /* struct loadavg */ 81#define VM_V_FREE_MIN 3 /* cnt.v_free_min */ 82#define VM_V_FREE_TARGET 4 /* cnt.v_free_target */ 83#define VM_V_FREE_RESERVED 5 /* cnt.v_free_reserved */ 84#define VM_V_INACTIVE_TARGET 6 /* cnt.v_inactive_target */ 85#define VM_V_CACHE_MIN 7 /* cnt.v_cache_max */ 86#define VM_V_CACHE_MAX 8 /* cnt.v_cache_min */ 87#define VM_V_PAGEOUT_FREE_MIN 9 /* cnt.v_pageout_free_min */ 88#define VM_PAGEOUT_ALGORITHM 10 /* pageout algorithm */ 89#define VM_SWAPPING_ENABLED 11 /* swapping enabled */ 90#define VM_MAXID 12 /* number of valid vm ids */ 91 92#define CTL_VM_NAMES { \ 93 { 0, 0 }, \ | 80#define VM_LOADAVG 2 /* struct loadavg */ 81#define VM_V_FREE_MIN 3 /* cnt.v_free_min */ 82#define VM_V_FREE_TARGET 4 /* cnt.v_free_target */ 83#define VM_V_FREE_RESERVED 5 /* cnt.v_free_reserved */ 84#define VM_V_INACTIVE_TARGET 6 /* cnt.v_inactive_target */ 85#define VM_V_CACHE_MIN 7 /* cnt.v_cache_max */ 86#define VM_V_CACHE_MAX 8 /* cnt.v_cache_min */ 87#define VM_V_PAGEOUT_FREE_MIN 9 /* cnt.v_pageout_free_min */ 88#define VM_PAGEOUT_ALGORITHM 10 /* pageout algorithm */ 89#define VM_SWAPPING_ENABLED 11 /* swapping enabled */ 90#define VM_MAXID 12 /* number of valid vm ids */ 91 92#define CTL_VM_NAMES { \ 93 { 0, 0 }, \ |
94 { "vmmeter", CTLTYPE_STRUCT }, \ | 94 { "vmtotal", CTLTYPE_STRUCT }, \ |
95 { "loadavg", CTLTYPE_STRUCT }, \ 96 { "v_free_min", CTLTYPE_INT }, \ 97 { "v_free_target", CTLTYPE_INT }, \ 98 { "v_free_reserved", CTLTYPE_INT }, \ 99 { "v_inactive_target", CTLTYPE_INT }, \ 100 { "v_cache_min", CTLTYPE_INT }, \ 101 { "v_cache_max", CTLTYPE_INT }, \ 102 { "v_pageout_free_min", CTLTYPE_INT}, \ --- 42 unchanged lines hidden --- | 95 { "loadavg", CTLTYPE_STRUCT }, \ 96 { "v_free_min", CTLTYPE_INT }, \ 97 { "v_free_target", CTLTYPE_INT }, \ 98 { "v_free_reserved", CTLTYPE_INT }, \ 99 { "v_inactive_target", CTLTYPE_INT }, \ 100 { "v_cache_min", CTLTYPE_INT }, \ 101 { "v_cache_max", CTLTYPE_INT }, \ 102 { "v_pageout_free_min", CTLTYPE_INT}, \ --- 42 unchanged lines hidden --- |