summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1996-12-29 21:09:41 +0000
committerphk <phk@FreeBSD.org>1996-12-29 21:09:41 +0000
commite1bb1cc95e64d0b01bb7f5e247843ada3c31c28f (patch)
tree8b9bdafd6cd35b140702802e2720f6561faad4e7 /sys
parentf4ad4b02b8b691787ef9a0f204e348b51ff657e4 (diff)
downloadFreeBSD-src-e1bb1cc95e64d0b01bb7f5e247843ada3c31c28f.zip
FreeBSD-src-e1bb1cc95e64d0b01bb7f5e247843ada3c31c28f.tar.gz
Reserve 4 malloc types for generic geometry handling.
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/malloc.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/sys/sys/malloc.h b/sys/sys/malloc.h
index 70f85e0..24fddea 100644
--- a/sys/sys/malloc.h
+++ b/sys/sys/malloc.h
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)malloc.h 8.5 (Berkeley) 5/3/95
- * $Id: malloc.h,v 1.15 1996/08/04 20:12:57 phk Exp $
+ * $Id: malloc.h,v 1.16 1996/08/20 07:18:05 smpatel Exp $
*/
#ifndef _SYS_MALLOC_H_
@@ -129,7 +129,11 @@
#define M_BIOBUF 82 /* BIO buffer */
#define M_KTRACE 83 /* KTRACE */
#define M_SELECT 84 /* select() buffer */
-#define M_LAST 85 /* Must be last type + 1 */
+#define M_GEOM_DEV 85 /* geometry device */
+#define M_GEOM_MOD 86 /* geometry module */
+#define M_GEOM_REQ 87 /* geometry request */
+#define M_GEOM_MISC 88 /* geometry misc */
+#define M_LAST 89 /* Must be last type + 1 */
#define INITKMEMNAMES { \
"free", /* 0 M_FREE */ \
@@ -214,6 +218,10 @@
"BIO buffer", /* 82 M_BIOBUF */ \
"KTRACE", /* 83 M_KTRACE */ \
"select", /* 84 M_SELECT */ \
+ "GEOM dev", /* 85 M_GEOM_DEV */ \
+ "GEOM mod", /* 86 M_GEOM_MOD */ \
+ "GEOM req", /* 87 M_GEOM_REQ */ \
+ "GEOM misc", /* 88 M_GEOM_MISC */ \
}
struct kmemstats {
OpenPOWER on IntegriCloud