udf.h (143686) | udf.h (166774) |
---|---|
1/*- 2 * Copyright (c) 2001, 2002 Scott Long <scottl@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 * FOR 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) 2001, 2002 Scott Long <scottl@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 * FOR 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/sys/fs/udf/udf.h 143686 2005-03-16 08:09:52Z phk $ | 26 * $FreeBSD: head/sys/fs/udf/udf.h 166774 2007-02-15 22:08:35Z pjd $ |
27 */ 28 29#define UDF_HASHTBLSIZE 100 30 31struct udf_node { 32 struct vnode *i_vnode; 33 struct udf_mnt *udfmp; 34 ino_t hash_id; --- 34 unchanged lines hidden (view full) --- 69 int off; 70 int this_off; 71 int offset; 72 int size; 73 int error; 74 int fid_fragment; 75}; 76 | 27 */ 28 29#define UDF_HASHTBLSIZE 100 30 31struct udf_node { 32 struct vnode *i_vnode; 33 struct udf_mnt *udfmp; 34 ino_t hash_id; --- 34 unchanged lines hidden (view full) --- 69 int off; 70 int this_off; 71 int offset; 72 int size; 73 int error; 74 int fid_fragment; 75}; 76 |
77struct ifid { 78 u_short ifid_len; 79 u_short ifid_pad; 80 int ifid_ino; 81 long ifid_start; 82}; 83 |
|
77#define VFSTOUDFFS(mp) ((struct udf_mnt *)((mp)->mnt_data)) 78#define VTON(vp) ((struct udf_node *)((vp)->v_data)) 79 80/* 81 * The block layer refers to things in terms of 512 byte blocks by default. 82 * btodb() is expensive, so speed things up. 83 * XXX Can the block layer be forced to use a different block size? 84 */ --- 48 unchanged lines hidden --- | 84#define VFSTOUDFFS(mp) ((struct udf_mnt *)((mp)->mnt_data)) 85#define VTON(vp) ((struct udf_node *)((vp)->v_data)) 86 87/* 88 * The block layer refers to things in terms of 512 byte blocks by default. 89 * btodb() is expensive, so speed things up. 90 * XXX Can the block layer be forced to use a different block size? 91 */ --- 48 unchanged lines hidden --- |