Module Name: src Committed By: rmind Date: Tue Jun 14 00:19:20 UTC 2011
Modified Files: src/share/man/man9: ubc.9 Log Message: Describe ubc_purge(9). To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/share/man/man9/ubc.9 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/share/man/man9/ubc.9 diff -u src/share/man/man9/ubc.9:1.6 src/share/man/man9/ubc.9:1.7 --- src/share/man/man9/ubc.9:1.6 Thu Dec 2 12:54:13 2010 +++ src/share/man/man9/ubc.9 Tue Jun 14 00:19:20 2011 @@ -1,4 +1,4 @@ -.\" $NetBSD: ubc.9,v 1.6 2010/12/02 12:54:13 wiz Exp $ +.\" $NetBSD: ubc.9,v 1.7 2011/06/14 00:19:20 rmind Exp $ .\" .\" Copyright (c) 1998 Matthew R. Green .\" All rights reserved. @@ -24,7 +24,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd April 14, 2010 +.Dd June 14, 2011 .Dt UBC 9 .Os .Sh NAME @@ -38,7 +38,10 @@ .Ft void .Fn ubc_release "void *va" "int flags" .Ft int -.Fn ubc_uiomove "struct uvm_object *uobj" "struct uio *uio" "vsize_t todo" "int advice" "int flags" +.Fn ubc_uiomove "struct uvm_object *uobj" "struct uio *uio" "vsize_t todo" \ + "int advice" "int flags" +.Ft void +.Fn ubc_purge "struct uvm_object *uobj" .Sh DESCRIPTION .Fn ubc_alloc creates a kernel mapping of @@ -113,6 +116,11 @@ .Dv UBC_PARTIALOK can be provided to indicate that it is acceptable to return if an error occurs mid-transfer. +.Pp +.Fn ubc_purge +disassociates all UBC structures from an empty UVM object, +specified by +.Fa uobj . .Sh CODE REFERENCES The .Nm