Deleted Added
full compact
malloc.h (1817) malloc.h (2893)
1/*
2 * Copyright (c) 1987, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 *
33 * @(#)malloc.h 8.3 (Berkeley) 1/12/94
1/*
2 * Copyright (c) 1987, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 *
33 * @(#)malloc.h 8.3 (Berkeley) 1/12/94
34 * $Id$
34 * $Id: malloc.h,v 1.3 1994/08/02 07:53:10 davidg Exp $
35 */
36
37#ifndef _SYS_MALLOC_H_
38#define _SYS_MALLOC_H_
39
40#define KMEMSTATS
41
42/*

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

102#define M_NFSUID 51 /* Nfs uid mapping structure */
103#define M_NFSD 52 /* Nfs server daemon structure */
104#define M_IPMOPTS 53 /* internet multicast options */
105#define M_IPMADDR 54 /* internet multicast address */
106#define M_IFMADDR 55 /* link-level multicast address */
107#define M_MRTABLE 56 /* multicast routing tables */
108#define M_ISOFSMNT 57 /* ISOFS mount structure */
109#define M_ISOFSNODE 58 /* ISOFS vnode private part */
35 */
36
37#ifndef _SYS_MALLOC_H_
38#define _SYS_MALLOC_H_
39
40#define KMEMSTATS
41
42/*

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

102#define M_NFSUID 51 /* Nfs uid mapping structure */
103#define M_NFSD 52 /* Nfs server daemon structure */
104#define M_IPMOPTS 53 /* internet multicast options */
105#define M_IPMADDR 54 /* internet multicast address */
106#define M_IFMADDR 55 /* link-level multicast address */
107#define M_MRTABLE 56 /* multicast routing tables */
108#define M_ISOFSMNT 57 /* ISOFS mount structure */
109#define M_ISOFSNODE 58 /* ISOFS vnode private part */
110#define M_MSDOSFSMNT 59 /* MSDOSFS mount structure */
111#define M_MSDOSFSNODE 60 /* MSDOSFS vnode private part */
112#define M_MSDOSFSFAT 61 /* MSDOSFS file allocation table */
110#define M_TEMP 74 /* misc temporary data buffers */
111#define M_TTYS 75 /* tty data structures */
112#define M_LAST 76 /* Must be last type + 1 */
113
114#define INITKMEMNAMES { \
115 "free", /* 0 M_FREE */ \
116 "mbuf", /* 1 M_MBUF */ \
117 "devbuf", /* 2 M_DEVBUF */ \

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

166 "NFS uid", /* 51 M_NFSUID */ \
167 "NFS daemon", /* 52 M_NFSD */ \
168 "ip_moptions", /* 53 M_IPMOPTS */ \
169 "in_multi", /* 54 M_IPMADDR */ \
170 "ether_multi", /* 55 M_IFMADDR */ \
171 "mrt", /* 56 M_MRTABLE */ \
172 "ISOFS mount", /* 57 M_ISOFSMNT */ \
173 "ISOFS node", /* 58 M_ISOFSNODE */ \
113#define M_TEMP 74 /* misc temporary data buffers */
114#define M_TTYS 75 /* tty data structures */
115#define M_LAST 76 /* Must be last type + 1 */
116
117#define INITKMEMNAMES { \
118 "free", /* 0 M_FREE */ \
119 "mbuf", /* 1 M_MBUF */ \
120 "devbuf", /* 2 M_DEVBUF */ \

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

169 "NFS uid", /* 51 M_NFSUID */ \
170 "NFS daemon", /* 52 M_NFSD */ \
171 "ip_moptions", /* 53 M_IPMOPTS */ \
172 "in_multi", /* 54 M_IPMADDR */ \
173 "ether_multi", /* 55 M_IFMADDR */ \
174 "mrt", /* 56 M_MRTABLE */ \
175 "ISOFS mount", /* 57 M_ISOFSMNT */ \
176 "ISOFS node", /* 58 M_ISOFSNODE */ \
177 "MSDOSFS mount",/* 59 M_MSDOSFSMNT */ \
178 "MSDOSFS node", /* 60 M_MSDOSFSNODE */ \
179 "MSDOSFS FAT", /* 61 M_MSDOSFSFAR */ \
174 NULL, NULL, NULL, NULL, NULL, \
175 NULL, NULL, NULL, NULL, NULL, \
180 NULL, NULL, NULL, NULL, NULL, \
181 NULL, NULL, NULL, NULL, NULL, \
176 NULL, NULL, NULL, NULL, NULL, \
182 NULL, NULL, \
177 "temp", /* 74 M_TEMP */ \
178 "ttys", /* 75 M_TTYS */ \
179}
180
181struct kmemstats {
182 long ks_inuse; /* # of packets of this type currently in use */
183 long ks_calls; /* total packets of this type ever allocated */
184 long ks_memuse; /* total memory held in bytes */

--- 125 unchanged lines hidden ---
183 "temp", /* 74 M_TEMP */ \
184 "ttys", /* 75 M_TTYS */ \
185}
186
187struct kmemstats {
188 long ks_inuse; /* # of packets of this type currently in use */
189 long ks_calls; /* total packets of this type ever allocated */
190 long ks_memuse; /* total memory held in bytes */

--- 125 unchanged lines hidden ---