Author: glebius Date: Thu Mar 21 16:04:34 2013 New Revision: 248586 URL: http://svnweb.freebsd.org/changeset/base/248586
Log: Document uma_find_refcnt(). Modified: head/share/man/man9/zone.9 Modified: head/share/man/man9/zone.9 ============================================================================== --- head/share/man/man9/zone.9 Thu Mar 21 15:42:41 2013 (r248585) +++ head/share/man/man9/zone.9 Thu Mar 21 16:04:34 2013 (r248586) @@ -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 _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"