From 645e7b2ab6676a2a3a05a59a053929d3b7732b4d Mon Sep 17 00:00:00 2001 From: phk Date: Sat, 11 Oct 1997 18:31:40 +0000 Subject: Distribute and statizice a lot of the malloc M_* types. Substantial input from: bde --- sys/nfsclient/nfs_nfsiod.c | 4 +++- sys/nfsclient/nfs_node.c | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'sys/nfsclient') diff --git a/sys/nfsclient/nfs_nfsiod.c b/sys/nfsclient/nfs_nfsiod.c index ad93ce6..8e3955e 100644 --- a/sys/nfsclient/nfs_nfsiod.c +++ b/sys/nfsclient/nfs_nfsiod.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * @(#)nfs_syscalls.c 8.5 (Berkeley) 3/30/95 - * $Id: nfs_syscalls.c,v 1.26 1997/07/16 09:06:29 dfr Exp $ + * $Id: nfs_syscalls.c,v 1.27 1997/08/16 19:16:00 wollman Exp $ */ #include @@ -75,6 +75,8 @@ #include #include +MALLOC_DEFINE(M_NFSSVC, "NFS srvsock", "Nfs server structure"); + /* Global defs. */ extern int (*nfsrv3_procs[NFS_NPROCS]) __P((struct nfsrv_descript *nd, struct nfssvc_sock *slp, diff --git a/sys/nfsclient/nfs_node.c b/sys/nfsclient/nfs_node.c index fe9ae21..ee186ea 100644 --- a/sys/nfsclient/nfs_node.c +++ b/sys/nfsclient/nfs_node.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * @(#)nfs_node.c 8.6 (Berkeley) 5/22/95 - * $Id: nfs_node.c,v 1.18 1997/08/02 14:33:07 bde Exp $ + * $Id: nfs_node.c,v 1.19 1997/09/21 04:23:45 dyson Exp $ */ @@ -51,6 +51,8 @@ #include #include +MALLOC_DEFINE(M_NFSNODE, "NFS node", "NFS vnode private part"); + LIST_HEAD(nfsnodehashhead, nfsnode) *nfsnodehashtbl; u_long nfsnodehash; -- cgit v1.1