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/nfs | |
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/nfs')
-rw-r--r-- | sys/nfs/nfs_node.c | 4 | ||||
-rw-r--r-- | sys/nfs/nfs_nqlease.c | 4 | ||||
-rw-r--r-- | sys/nfs/nfs_syscalls.c | 4 |
3 files changed, 9 insertions, 3 deletions
diff --git a/sys/nfs/nfs_node.c b/sys/nfs/nfs_node.c index fe9ae21..ee186ea 100644 --- a/sys/nfs/nfs_node.c +++ b/sys/nfs/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; diff --git a/sys/nfs/nfs_nqlease.c b/sys/nfs/nfs_nqlease.c index 27e86b0..7ceb9a2 100644 --- a/sys/nfs/nfs_nqlease.c +++ b/sys/nfs/nfs_nqlease.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * @(#)nfs_nqlease.c 8.9 (Berkeley) 5/20/95 - * $Id: nfs_nqlease.c,v 1.27 1997/08/16 19:15:55 wollman Exp $ + * $Id: nfs_nqlease.c,v 1.28 1997/09/02 01:19:30 bde Exp $ */ @@ -76,6 +76,8 @@ #include <nfs/nfsnode.h> #include <nfs/nfsmount.h> +MALLOC_DEFINE(M_NQMHOST, "NQNFS Host", "Nqnfs host address table"); + time_t nqnfsstarttime = (time_t)0; int nqsrv_clockskew = NQ_CLOCKSKEW; int nqsrv_writeslack = NQ_WRITESLACK; diff --git a/sys/nfs/nfs_syscalls.c b/sys/nfs/nfs_syscalls.c index ad93ce6..8e3955e 100644 --- a/sys/nfs/nfs_syscalls.c +++ b/sys/nfs/nfs_syscalls.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, |