1/* $Id: denode.h,v 1.12 1997/02/26 14:23:09 bde Exp $ */
2/* $NetBSD: denode.h,v 1.8 1994/08/21 18:43:49 ws Exp $ */
3
4/*-
5 * Copyright (C) 1994 Wolfgang Solfrank.
6 * Copyright (C) 1994 TooLs GmbH.
7 * All rights reserved.
8 * Original code by Paul Popelka (paulp@uts.amdahl.com) (see below).
9 *
--- 120 unchanged lines hidden (view full) ---
130 (dep)->de_fc[slot].fc_frcn = frcn; \
131 (dep)->de_fc[slot].fc_fsrcn = fsrcn;
132
133/*
134 * This is the in memory variant of a dos directory entry. It is usually
135 * contained within a vnode.
136 */
137struct denode {
138 struct denode *de_next; /* Hash chain forward */
139 struct denode **de_prev; /* Hash chain back */
140 struct vnode *de_vnode; /* addr of vnode we are part of */
141 struct vnode *de_devvp; /* vnode of blk dev we live on */
142 u_long de_flag; /* flag bits */
143 dev_t de_dev; /* device where direntry lives */
144 u_long de_dirclust; /* cluster of the directory file containing this entry */
145 u_long de_diroffset; /* ordinal of this entry in the directory */
146 u_long de_fndclust; /* cluster of found dir entry */
147 u_long de_fndoffset; /* offset of found dir entry */
148 long de_refcnt; /* reference count */
149 struct msdosfsmount *de_pmp; /* addr of our mount struct */
150 struct lockf *de_lockf; /* byte level lock list */
151 struct lock de_lock; /* denode lock */
152 /* the next two fields must be contiguous in memory... */
153 u_char de_Name[8]; /* name, from directory entry */
154 u_char de_Extension[3]; /* extension, from directory entry */
155 u_char de_Attributes; /* attributes, from directory entry */
156 u_short de_Time; /* creation time */
157 u_short de_Date; /* creation date */
158 u_short de_StartCluster; /* starting cluster of file */
159 u_long de_FileSize; /* size of file in bytes */
--- 78 unchanged lines hidden ---
2/* $NetBSD: denode.h,v 1.8 1994/08/21 18:43:49 ws Exp $ */
3
4/*-
5 * Copyright (C) 1994 Wolfgang Solfrank.
6 * Copyright (C) 1994 TooLs GmbH.
7 * All rights reserved.
8 * Original code by Paul Popelka (paulp@uts.amdahl.com) (see below).
9 *
--- 120 unchanged lines hidden (view full) ---
130 (dep)->de_fc[slot].fc_frcn = frcn; \
131 (dep)->de_fc[slot].fc_fsrcn = fsrcn;
132
133/*
134 * This is the in memory variant of a dos directory entry. It is usually
135 * contained within a vnode.
136 */
137struct denode {
138 struct denode *de_next; /* Hash chain forward */
139 struct denode **de_prev; /* Hash chain back */
140 struct vnode *de_vnode; /* addr of vnode we are part of */
141 struct vnode *de_devvp; /* vnode of blk dev we live on */
142 u_long de_flag; /* flag bits */
143 dev_t de_dev; /* device where direntry lives */
144 u_long de_dirclust; /* cluster of the directory file containing this entry */
145 u_long de_diroffset; /* ordinal of this entry in the directory */
146 u_long de_fndclust; /* cluster of found dir entry */
147 u_long de_fndoffset; /* offset of found dir entry */
148 long de_refcnt; /* reference count */
149 struct msdosfsmount *de_pmp; /* addr of our mount struct */
150 struct lockf *de_lockf; /* byte level lock list */
151 struct lock de_lock; /* denode lock */
152 /* the next two fields must be contiguous in memory... */
153 u_char de_Name[8]; /* name, from directory entry */
154 u_char de_Extension[3]; /* extension, from directory entry */
155 u_char de_Attributes; /* attributes, from directory entry */
156 u_short de_Time; /* creation time */
157 u_short de_Date; /* creation date */
158 u_short de_StartCluster; /* starting cluster of file */
159 u_long de_FileSize; /* size of file in bytes */
--- 78 unchanged lines hidden ---