physio.9 (139592) | physio.9 (140140) |
---|---|
1.\" $NetBSD: physio.9,v 1.2 1996/11/11 00:05:12 lukem Exp $ 2.\" 3.\" Copyright (c) 1996 The NetBSD Foundation, Inc. 4.\" All rights reserved. 5.\" 6.\" This code is derived from software contributed to The NetBSD Foundation 7.\" by Paul Kranenburg. 8.\" --- 20 unchanged lines hidden (view full) --- 29.\" LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 30.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 31.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 32.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 33.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 34.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 35.\" POSSIBILITY OF SUCH DAMAGE. 36.\" | 1.\" $NetBSD: physio.9,v 1.2 1996/11/11 00:05:12 lukem Exp $ 2.\" 3.\" Copyright (c) 1996 The NetBSD Foundation, Inc. 4.\" All rights reserved. 5.\" 6.\" This code is derived from software contributed to The NetBSD Foundation 7.\" by Paul Kranenburg. 8.\" --- 20 unchanged lines hidden (view full) --- 29.\" LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 30.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 31.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 32.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 33.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 34.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 35.\" POSSIBILITY OF SUCH DAMAGE. 36.\" |
37.\" $FreeBSD: head/share/man/man9/physio.9 139592 2005-01-02 18:20:29Z krion $ | 37.\" $FreeBSD: head/share/man/man9/physio.9 140140 2005-01-12 21:48:25Z ru $ |
38.\" 39.Dd July 8, 2004 40.Dt PHYSIO 9 41.Os 42.Sh NAME 43.Nm physio 44.Nd initiate I/O on raw devices 45.Sh SYNOPSIS --- 21 unchanged lines hidden (view full) --- 67request and passes the new request to the driver's 68.Fn strategy 69routine for processing. 70.Pp 71Since 72.Fa uio 73normally describes user space addresses, 74.Fn physio | 38.\" 39.Dd July 8, 2004 40.Dt PHYSIO 9 41.Os 42.Sh NAME 43.Nm physio 44.Nd initiate I/O on raw devices 45.Sh SYNOPSIS --- 21 unchanged lines hidden (view full) --- 67request and passes the new request to the driver's 68.Fn strategy 69routine for processing. 70.Pp 71Since 72.Fa uio 73normally describes user space addresses, 74.Fn physio |
75needs to lock the those pages into memory. | 75needs to lock those pages into memory. |
76This is done by calling 77.Fn vmapbuf 78for the appropriate pages. 79.Fn physio 80always awaits the completion of the entire requested transfer before 81returning, unless an error condition is detected earlier. 82.Pp 83A break-down of the arguments follows: --- 55 unchanged lines hidden --- | 76This is done by calling 77.Fn vmapbuf 78for the appropriate pages. 79.Fn physio 80always awaits the completion of the entire requested transfer before 81returning, unless an error condition is detected earlier. 82.Pp 83A break-down of the arguments follows: --- 55 unchanged lines hidden --- |