fs.5 (231564) | fs.5 (233648) |
---|---|
1.\" Copyright (c) 1983, 1991, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 16 unchanged lines hidden (view full) --- 25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30.\" SUCH DAMAGE. 31.\" 32.\" @(#)fs.5 8.2 (Berkeley) 4/19/94 | 1.\" Copyright (c) 1983, 1991, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 16 unchanged lines hidden (view full) --- 25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30.\" SUCH DAMAGE. 31.\" 32.\" @(#)fs.5 8.2 (Berkeley) 4/19/94 |
33.\" $FreeBSD: head/share/man/man5/fs.5 231564 2012-02-12 18:29:56Z ed $ | 33.\" $FreeBSD: head/share/man/man5/fs.5 233648 2012-03-29 05:02:12Z eadler $ |
34.\" 35.Dd October 31, 2006 36.Dt FS 5 37.Os 38.Sh NAME 39.Nm fs , 40.Nm inode 41.Nd format of file system volume --- 361 unchanged lines hidden (view full) --- 403.Pp 404Several macros are defined to manipulate these structures. 405Each macro takes a pointer to an extattr structure. 406.Bl -tag -width ".Dv EXTATTR_SET_LENGTHS(eap, size)" 407.It Dv EXTATTR_NEXT(eap) 408Returns a pointer to the next extended attribute following 409.Fa eap . 410.It Dv EXTATTR_CONTENT(eap) | 34.\" 35.Dd October 31, 2006 36.Dt FS 5 37.Os 38.Sh NAME 39.Nm fs , 40.Nm inode 41.Nd format of file system volume --- 361 unchanged lines hidden (view full) --- 403.Pp 404Several macros are defined to manipulate these structures. 405Each macro takes a pointer to an extattr structure. 406.Bl -tag -width ".Dv EXTATTR_SET_LENGTHS(eap, size)" 407.It Dv EXTATTR_NEXT(eap) 408Returns a pointer to the next extended attribute following 409.Fa eap . 410.It Dv EXTATTR_CONTENT(eap) |
411Returns a pointer to the extended attribute content referenced by | 411Returns a pointer to the extended attribute content referenced by |
412.Fa eap . 413.It Dv EXTATTR_CONTENT_SIZE(eap) | 412.Fa eap . 413.It Dv EXTATTR_CONTENT_SIZE(eap) |
414Returns the size of the extended attribute content referenced by | 414Returns the size of the extended attribute content referenced by |
415.Fa eap . 416.It Dv EXTATTR_SET_LENGTHS(eap, size) 417Called with the size of the attribute content after initializing 418the attribute name to calculate and set the 419.Fa ea_length , 420.Fa ea_namelength , 421and 422.Fa ea_contentpadlen --- 28 unchanged lines hidden --- | 415.Fa eap . 416.It Dv EXTATTR_SET_LENGTHS(eap, size) 417Called with the size of the attribute content after initializing 418the attribute name to calculate and set the 419.Fa ea_length , 420.Fa ea_namelength , 421and 422.Fa ea_contentpadlen --- 28 unchanged lines hidden --- |