summaryrefslogtreecommitdiffstats
path: root/sys/vm/vm_param.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/vm/vm_param.h')
-rw-r--r--sys/vm/vm_param.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/sys/vm/vm_param.h b/sys/vm/vm_param.h
index a0809fe..7237638 100644
--- a/sys/vm/vm_param.h
+++ b/sys/vm/vm_param.h
@@ -105,6 +105,18 @@
}
/*
+ * Structure for swap device statistics
+ */
+#define XSWDEV_VERSION 1
+struct xswdev {
+ u_int xsw_version;
+ udev_t xsw_dev;
+ int xsw_flags;
+ int xsw_nblks;
+ int xsw_used;
+};
+
+/*
* Return values from the VM routines.
*/
#define KERN_SUCCESS 0
OpenPOWER on IntegriCloud