Deleted Added
full compact
inode.h (1817) inode.h (2177)
1/*
2 * Copyright (c) 1982, 1989, 1993
3 * The Regents of the University of California. All rights reserved.
4 * (c) UNIX System Laboratories, Inc.
5 * All or some portions of this file are derived from material licensed
6 * to the University of California by American Telephone and Telegraph
7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with
8 * the permission of UNIX System Laboratories, Inc.

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

31 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
32 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
36 * SUCH DAMAGE.
37 *
38 * @(#)inode.h 8.4 (Berkeley) 1/21/94
1/*
2 * Copyright (c) 1982, 1989, 1993
3 * The Regents of the University of California. All rights reserved.
4 * (c) UNIX System Laboratories, Inc.
5 * All or some portions of this file are derived from material licensed
6 * to the University of California by American Telephone and Telegraph
7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with
8 * the permission of UNIX System Laboratories, Inc.

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

31 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
32 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
36 * SUCH DAMAGE.
37 *
38 * @(#)inode.h 8.4 (Berkeley) 1/21/94
39 * $Id$
39 * $Id: inode.h,v 1.2 1994/08/02 07:54:49 davidg Exp $
40 */
41
40 */
41
42#ifndef _UFS_UFS_INODE_H_
43#define _UFS_UFS_INODE_H_
44
42#include <ufs/ufs/dinode.h>
43
44/*
45 * Theoretically, directories can be more than 2Gb in length, however, in
46 * practice this seems unlikely. So, we define the type doff_t as a long
47 * to keep down the cost of doing lookup on a 32-bit machine. If you are
48 * porting to a 64-bit architecture, you should make doff_t the same as off_t.
49 */

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

155
156/* This overlays the fid structure (see mount.h). */
157struct ufid {
158 u_short ufid_len; /* Length of structure. */
159 u_short ufid_pad; /* Force long alignment. */
160 ino_t ufid_ino; /* File number (ino). */
161 long ufid_gen; /* Generation number. */
162};
45#include <ufs/ufs/dinode.h>
46
47/*
48 * Theoretically, directories can be more than 2Gb in length, however, in
49 * practice this seems unlikely. So, we define the type doff_t as a long
50 * to keep down the cost of doing lookup on a 32-bit machine. If you are
51 * porting to a 64-bit architecture, you should make doff_t the same as off_t.
52 */

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

158
159/* This overlays the fid structure (see mount.h). */
160struct ufid {
161 u_short ufid_len; /* Length of structure. */
162 u_short ufid_pad; /* Force long alignment. */
163 ino_t ufid_ino; /* File number (ino). */
164 long ufid_gen; /* Generation number. */
165};
166
167#endif
163#endif /* KERNEL */
168#endif /* KERNEL */