g_bio.9 (131689) | g_bio.9 (133142) |
---|---|
1.\" 2.\" Copyright (c) 2004 Pawel Jakub Dawidek <pjd@FreeBSD.org> 3.\" All rights reserved. 4.\" 5.\" Redistribution and use in source and binary forms, with or without 6.\" modification, are permitted provided that the following conditions 7.\" are met: 8.\" 1. Redistributions of source code must retain the above copyright --- 8 unchanged lines hidden (view full) --- 17.\" IN NO EVENT SHALL THE DEVELOPERS BE LIABLE FOR ANY DIRECT, INDIRECT, 18.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 19.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 20.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 21.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 22.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 23.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 24.\" | 1.\" 2.\" Copyright (c) 2004 Pawel Jakub Dawidek <pjd@FreeBSD.org> 3.\" All rights reserved. 4.\" 5.\" Redistribution and use in source and binary forms, with or without 6.\" modification, are permitted provided that the following conditions 7.\" are met: 8.\" 1. Redistributions of source code must retain the above copyright --- 8 unchanged lines hidden (view full) --- 17.\" IN NO EVENT SHALL THE DEVELOPERS BE LIABLE FOR ANY DIRECT, INDIRECT, 18.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 19.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 20.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 21.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 22.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 23.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 24.\" |
25.\" $FreeBSD: head/share/man/man9/g_bio.9 131689 2004-07-06 08:21:12Z ru $ | 25.\" $FreeBSD: head/share/man/man9/g_bio.9 133142 2004-08-04 21:35:05Z pjd $ |
26.\" 27.Dd January 16, 2004 28.Dt G_BIO 9 29.Os 30.Sh NAME 31.Nm g_new_bio , 32.Nm g_clone_bio , 33.Nm g_destroy_bio , --- 33 unchanged lines hidden (view full) --- 67available for attack. 68.It Dv BIO_GETATTR 69Inspect and manipulate out-of-band 70attributes on a particular provider or path. 71Attributes are named by ascii strings and are stored in the 72.Va bio_attribute 73field. 74.El | 26.\" 27.Dd January 16, 2004 28.Dt G_BIO 9 29.Os 30.Sh NAME 31.Nm g_new_bio , 32.Nm g_clone_bio , 33.Nm g_destroy_bio , --- 33 unchanged lines hidden (view full) --- 67available for attack. 68.It Dv BIO_GETATTR 69Inspect and manipulate out-of-band 70attributes on a particular provider or path. 71Attributes are named by ascii strings and are stored in the 72.Va bio_attribute 73field. 74.El |
75.It Va bio_offset 76Offset into provider. 77.It Va bio_data 78Pointer to data buffer. | |
79.It Va bio_flags 80Available flags: | 75.It Va bio_flags 76Available flags: |
81.Bl -tag -width ".Dv BIO_GETATTR" | 77.Bl -tag -width ".Dv BIO_ERROR" |
82.It Dv BIO_ERROR 83Request failed (error value is stored in 84.Va bio_error 85field). 86.It Dv BIO_DONE 87Request finished. | 78.It Dv BIO_ERROR 79Request failed (error value is stored in 80.Va bio_error 81field). 82.It Dv BIO_DONE 83Request finished. |
88.It Dv BIO_FLAG1 89Available for private use. 90.It Dv BIO_FLAG2 91Available for private use. | |
92.El | 84.El |
85.It Va bio_cflags 86Private use by the consumer. 87.It Va bio_pflags 88Private use by the provider. 89.It Va bio_offset 90Offset into provider. 91.It Va bio_data 92Pointer to data buffer. |
|
93.It Va bio_error 94Error value when 95.Dv BIO_ERROR 96is set. 97.It Va bio_done 98Pointer to function which will be called when the request is finished. 99.It Va bio_driver1 | 93.It Va bio_error 94Error value when 95.Dv BIO_ERROR 96is set. 97.It Va bio_done 98Pointer to function which will be called when the request is finished. 99.It Va bio_driver1 |
100Private use by the callee (i.e., the provider). | 100Private use by the provider. |
101.It Va bio_driver2 | 101.It Va bio_driver2 |
102Private use by the callee (i.e., the provider). | 102Private use by the provider. |
103.It Va bio_caller1 | 103.It Va bio_caller1 |
104Private use by the caller (i.e., the consumer). | 104Private use by the consumer. |
105.It Va bio_caller2 | 105.It Va bio_caller2 |
106Private use by the caller (i.e., the consumer). | 106Private use by the consumer. |
107.It Va bio_attribute 108Attribute string for 109.Dv BIO_GETATTR 110request. 111.It Va bio_from 112Consumer to use for request (attached to provider stored in 113.Va bio_to 114field) (typically read-only for a class). --- 143 unchanged lines hidden --- | 107.It Va bio_attribute 108Attribute string for 109.Dv BIO_GETATTR 110request. 111.It Va bio_from 112Consumer to use for request (attached to provider stored in 113.Va bio_to 114field) (typically read-only for a class). --- 143 unchanged lines hidden --- |