summaryrefslogtreecommitdiffstats
path: root/sys/vm/vm_zone.h
diff options
context:
space:
mode:
authortmm <tmm@FreeBSD.org>2001-08-04 20:17:05 +0000
committertmm <tmm@FreeBSD.org>2001-08-04 20:17:05 +0000
commit8388d01b0c2b41fe4ff533b2bda8453aef894b63 (patch)
tree532a62fddd6cf5aa4e8ae0daaed0c72ec825298a /sys/vm/vm_zone.h
parent91c3a007e599498b1528d02dea269a94e45a5fb9 (diff)
downloadFreeBSD-src-8388d01b0c2b41fe4ff533b2bda8453aef894b63.zip
FreeBSD-src-8388d01b0c2b41fe4ff533b2bda8453aef894b63.tar.gz
Add a zdestroy() function to the zone allocator. This is needed for the
unload case of modules that use their own zones. It has been tested with the nfs module.
Diffstat (limited to 'sys/vm/vm_zone.h')
-rw-r--r--sys/vm/vm_zone.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/vm/vm_zone.h b/sys/vm/vm_zone.h
index 9b41d0b..83d7914 100644
--- a/sys/vm/vm_zone.h
+++ b/sys/vm/vm_zone.h
@@ -55,6 +55,7 @@ vm_zone_t zinit(char *name, int size, int nentries,
int flags, int zalloc);
void zbootinit(vm_zone_t z, char *name, int size,
void *item, int nitems);
+void zdestroy(vm_zone_t z);
void *zalloc(vm_zone_t z);
void zfree(vm_zone_t z, void *item);
OpenPOWER on IntegriCloud