Deleted Added
full compact
osd.9 (217043) osd.9 (233648)
1.\"
2.\" Copyright (c) 2010 Lawrence Stewart <lstewart@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

--- 9 unchanged lines hidden (view full) ---

18.\" ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24.\" SUCH DAMAGE.
25.\"
1.\"
2.\" Copyright (c) 2010 Lawrence Stewart <lstewart@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

--- 9 unchanged lines hidden (view full) ---

18.\" ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24.\" SUCH DAMAGE.
25.\"
26.\" $FreeBSD: head/share/man/man9/osd.9 217043 2011-01-06 04:05:25Z lstewart $
26.\" $FreeBSD: head/share/man/man9/osd.9 233648 2012-03-29 05:02:12Z eadler $
27.\"
28.Dd January 5, 2011
29.Dt OSD 9
30.Os
31.Sh NAME
32.Nm osd ,
33.Nm osd_register ,
34.Nm osd_deregister ,

--- 85 unchanged lines hidden (view full) ---

120Slot identifiers are dynamically assigned by the framework when a data type is
121registered using
122.Fn osd_register
123and remains valid until a corresponding call to
124.Fn osd_deregister .
125.Ss Functions
126The
127.Fn osd_register
27.\"
28.Dd January 5, 2011
29.Dt OSD 9
30.Os
31.Sh NAME
32.Nm osd ,
33.Nm osd_register ,
34.Nm osd_deregister ,

--- 85 unchanged lines hidden (view full) ---

120Slot identifiers are dynamically assigned by the framework when a data type is
121registered using
122.Fn osd_register
123and remains valid until a corresponding call to
124.Fn osd_deregister .
125.Ss Functions
126The
127.Fn osd_register
128function registers a type/slot identifier pair with the
128function registers a type/slot identifier pair with the
129.Nm
130framework for use with a new data type.
131The function may sleep and therefore cannot be called from a non-sleepable
132context.
133The
134.Fa type
135argument specifies which high-level type grouping from
136.In sys/osd.h

--- 254 unchanged lines hidden ---
129.Nm
130framework for use with a new data type.
131The function may sleep and therefore cannot be called from a non-sleepable
132context.
133The
134.Fa type
135argument specifies which high-level type grouping from
136.In sys/osd.h

--- 254 unchanged lines hidden ---