FreeBSD Bugzilla – Attachment 84369 Details for
Bug 120357
[patch] zone.9 - document also the _arg versions of the uma_zalloc and uma_zfree functions
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
_zone.9.diff
_zone.9.diff (text/plain), 991 bytes, created by
Pietro Cerutti
on 2008-02-07 17:40:01 UTC
(
hide
)
Description:
_zone.9.diff
Filename:
MIME Type:
Creator:
Pietro Cerutti
Created:
2008-02-07 17:40:01 UTC
Size:
991 bytes
patch
obsolete
>--- zone.9.orig 2008-02-07 18:12:31.000000000 +0100 >+++ zone.9 2008-02-07 18:30:46.000000000 +0100 >@@ -31,7 +31,9 @@ > .Sh NAME > .Nm uma_zcreate , > .Nm uma_zalloc , >+.Nm uma_zalloc_arg , > .Nm uma_zfree , >+.Nm uma_zfree_arg , > .Nm uma_zdestroy , > .Nm uma_zone_set_max > .Nd zone allocator >@@ -47,9 +49,13 @@ > .Fc > .Ft "void *" > .Fn uma_zalloc "uma_zone_t zone" "int flags" >+.Ft "void *" >+.Fn uma_zalloc_arg "uma_zone_t zone" "void *arg" "int flags" > .Ft void > .Fn uma_zfree "uma_zone_t zone" "void *item" > .Ft void >+.Fn uma_zfree_arg "uma_zone_t zone" "void *item" "void *arg" >+.Ft void > .Fn uma_zdestroy "uma_zone_t zone" > .Ft void > .Fn uma_zone_set_max "uma_zone_t zone" "int nitems" >@@ -142,6 +148,17 @@ > .Fn uma_zfree > with a pointer to the zone and a pointer to the item. > .Pp >+The variations >+.Fn uma_zalloc_arg >+and >+.Fn uma_zfree_arg >+allow to >+specify an argument for the >+.Dv ctor >+and >+.Dv dtor >+functions, respectively. >+.Pp > Created zones, > which are empty, > can be destroyed using
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 120357
: 84369