Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/man/man9 Describe ubc_purge(9).
details: https://anonhg.NetBSD.org/src/rev/92e955734e52
branches: trunk
changeset: 766029:92e955734e52
user: rmind <rmind%NetBSD.org@localhost>
date: Tue Jun 14 00:19:20 2011 +0000
description:
Describe ubc_purge(9).
diffstat:
share/man/man9/ubc.9 | 14 +++++++++++---
1 files changed, 11 insertions(+), 3 deletions(-)
diffs (42 lines):
diff -r 111ad3529e3b -r 92e955734e52 share/man/man9/ubc.9
--- a/share/man/man9/ubc.9 Tue Jun 14 00:18:00 2011 +0000
+++ b/share/man/man9/ubc.9 Tue Jun 14 00:19:20 2011 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index