1/* $Id: denode.h,v 1.13 1997/08/26 07:32:36 phk 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 lock de_lock; /* denode lock >Keep this first< */
139 struct denode *de_next; /* Hash chain forward */
140 struct denode **de_prev; /* Hash chain back */
141 struct vnode *de_vnode; /* addr of vnode we are part of */
142 struct vnode *de_devvp; /* vnode of blk dev we live on */
143 u_long de_flag; /* flag bits */
144 dev_t de_dev; /* device where direntry lives */
145 u_long de_dirclust; /* cluster of the directory file containing this entry */
146 u_long de_diroffset; /* ordinal of this entry in the directory */
147 u_long de_fndclust; /* cluster of found dir entry */
148 u_long de_fndoffset; /* offset of found dir entry */
149 long de_refcnt; /* reference count */
150 struct msdosfsmount *de_pmp; /* addr of our mount struct */
151 struct lockf *de_lockf; /* byte level lock list */
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 lock de_lock; /* denode lock >Keep this first< */
139 struct denode *de_next; /* Hash chain forward */
140 struct denode **de_prev; /* Hash chain back */
141 struct vnode *de_vnode; /* addr of vnode we are part of */
142 struct vnode *de_devvp; /* vnode of blk dev we live on */
143 u_long de_flag; /* flag bits */
144 dev_t de_dev; /* device where direntry lives */
145 u_long de_dirclust; /* cluster of the directory file containing this entry */
146 u_long de_diroffset; /* ordinal of this entry in the directory */
147 u_long de_fndclust; /* cluster of found dir entry */
148 u_long de_fndoffset; /* offset of found dir entry */
149 long de_refcnt; /* reference count */
150 struct msdosfsmount *de_pmp; /* addr of our mount struct */
151 struct lockf *de_lockf; /* byte level lock list */
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 ---