diff options
author | phk <phk@FreeBSD.org> | 1997-10-11 18:31:40 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1997-10-11 18:31:40 +0000 |
commit | 645e7b2ab6676a2a3a05a59a053929d3b7732b4d (patch) | |
tree | 99b56513fb3f54852886a3d0eb7c8b3e1a9f2602 /sys/nfsclient | |
parent | a14e4dea11b5b83147d62a7cb7dacdec1ea19e15 (diff) | |
download | FreeBSD-src-645e7b2ab6676a2a3a05a59a053929d3b7732b4d.zip FreeBSD-src-645e7b2ab6676a2a3a05a59a053929d3b7732b4d.tar.gz |
Distribute and statizice a lot of the malloc M_* types.
Substantial input from: bde
Diffstat (limited to 'sys/nfsclient')
-rw-r--r-- | sys/nfsclient/nfs_nfsiod.c | 4 | ||||
-rw-r--r-- | sys/nfsclient/nfs_node.c | 4 |
2 files changed, 6 insertions, 2 deletions
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 <sys/param.h> @@ -75,6 +75,8 @@ #include <nfs/nqnfs.h> #include <nfs/nfsrtt.h> +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 <nfs/nfsnode.h> #include <nfs/nfsmount.h> +MALLOC_DEFINE(M_NFSNODE, "NFS node", "NFS vnode private part"); + LIST_HEAD(nfsnodehashhead, nfsnode) *nfsnodehashtbl; u_long nfsnodehash; |