RTEMS CPU Kit with SuperCore  4.11.3
Macros
vm_param.h File Reference
#include <machine/vmparam.h>
Include dependency graph for vm_param.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define VM_TOTAL   1 /* struct vmtotal */
 
#define VM_METER   VM_TOTAL/* deprecated, use VM_TOTAL */
 
#define VM_LOADAVG   2 /* struct loadavg */
 
#define VM_V_FREE_MIN   3 /* cnt.v_free_min */
 
#define VM_V_FREE_TARGET   4 /* cnt.v_free_target */
 
#define VM_V_FREE_RESERVED   5 /* cnt.v_free_reserved */
 
#define VM_V_INACTIVE_TARGET   6 /* cnt.v_inactive_target */
 
#define VM_V_CACHE_MIN   7 /* cnt.v_cache_max */
 
#define VM_V_CACHE_MAX   8 /* cnt.v_cache_min */
 
#define VM_V_PAGEOUT_FREE_MIN   9 /* cnt.v_pageout_free_min */
 
#define VM_PAGEOUT_ALGORITHM   10 /* pageout algorithm */
 
#define VM_SWAPPING_ENABLED   11 /* swapping enabled */
 
#define VM_MAXID   12 /* number of valid vm ids */
 
#define CTL_VM_NAMES
 
#define KERN_SUCCESS   0
 
#define KERN_INVALID_ADDRESS   1
 
#define KERN_PROTECTION_FAILURE   2
 
#define KERN_NO_SPACE   3
 
#define KERN_INVALID_ARGUMENT   4
 
#define KERN_FAILURE   5
 
#define KERN_RESOURCE_SHORTAGE   6
 
#define KERN_NOT_RECEIVER   7
 
#define KERN_NO_ACCESS   8
 

Macro Definition Documentation

◆ CTL_VM_NAMES

#define CTL_VM_NAMES
Value:
{ \
{ 0, 0 }, \
{ "vmtotal", CTLTYPE_STRUCT }, \
{ "loadavg", CTLTYPE_STRUCT }, \
{ "v_free_min", CTLTYPE_INT }, \
{ "v_free_target", CTLTYPE_INT }, \
{ "v_free_reserved", CTLTYPE_INT }, \
{ "v_inactive_target", CTLTYPE_INT }, \
{ "v_cache_min", CTLTYPE_INT }, \
{ "v_cache_max", CTLTYPE_INT }, \
{ "v_pageout_free_min", CTLTYPE_INT}, \
{ "pageout_algorithm", CTLTYPE_INT}, \
{ "swapping_enabled", CTLTYPE_INT},\
}