Describe ubc_purge(9).
This commit is contained in:
parent
15de01ccb7
commit
1d2a79ab46
@ -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 @@ Additionally, the flag
|
||||
.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
|
||||
|
Loading…
Reference in New Issue
Block a user