diff options
author | glebius <glebius@FreeBSD.org> | 2013-03-21 16:04:34 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2013-03-21 16:04:34 +0000 |
commit | 04d26633fafb44f4345aa47c3a34303a5bc78861 (patch) | |
tree | 3d34cc48d4ca4717b97e35d4f12b82b92a91bf28 /share | |
parent | 6f03afeee9811c0cd237e7bd65e8223f72570db7 (diff) | |
download | FreeBSD-src-04d26633fafb44f4345aa47c3a34303a5bc78861.zip FreeBSD-src-04d26633fafb44f4345aa47c3a34303a5bc78861.tar.gz |
Document uma_find_refcnt().
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man9/zone.9 | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/share/man/man9/zone.9 b/share/man/man9/zone.9 index 51a1049..e0d6d04 100644 --- a/share/man/man9/zone.9 +++ b/share/man/man9/zone.9 @@ -25,7 +25,7 @@ .\" .\" $FreeBSD$ .\" -.Dd December 7, 2012 +.Dd March 21, 2013 .Dt ZONE 9 .Os .Sh NAME @@ -34,6 +34,7 @@ .Nm uma_zalloc_arg , .Nm uma_zfree , .Nm uma_zfree_arg , +.Nm uma_find_refcnt , .Nm uma_zdestroy , .Nm uma_zone_set_max, .Nm uma_zone_get_max, @@ -58,6 +59,8 @@ .Fn uma_zfree "uma_zone_t zone" "void *item" .Ft void .Fn uma_zfree_arg "uma_zone_t zone" "void *item" "void *arg" +.Ft "uint32_t *" +.Fn uma_find_refcnt "uma_zone_t zone" "void *item" .Ft void .Fn uma_zdestroy "uma_zone_t zone" .Ft int @@ -175,6 +178,13 @@ and .Dv dtor functions, respectively. .Pp +If zone was created with +.Dv UMA_ZONE_REFCNT +flag, then pointer to reference counter for an item can be retrieved with +help of the +.Fn uma_find_refcnt +function. +.Pp Created zones, which are empty, can be destroyed using |