inode.h (12117) | inode.h (13765) |
---|---|
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: inode.h,v 1.6 1995/05/30 08:15:30 rgrimes Exp $ | 39 * $Id: inode.h,v 1.7 1995/11/05 23:35:56 dyson Exp $ |
40 */ 41 42#ifndef _UFS_UFS_INODE_H_ 43#define _UFS_UFS_INODE_H_ 44 45#include <ufs/ufs/dinode.h> 46 47/* --- 5 unchanged lines hidden (view full) --- 53#define doff_t long 54 55/* 56 * The inode is used to describe each active (or recently active) 57 * file in the UFS filesystem. It is composed of two types of 58 * information. The first part is the information that is needed 59 * only while the file is active (such as the identity of the file 60 * and linkage to speed its lookup). The second part is the | 40 */ 41 42#ifndef _UFS_UFS_INODE_H_ 43#define _UFS_UFS_INODE_H_ 44 45#include <ufs/ufs/dinode.h> 46 47/* --- 5 unchanged lines hidden (view full) --- 53#define doff_t long 54 55/* 56 * The inode is used to describe each active (or recently active) 57 * file in the UFS filesystem. It is composed of two types of 58 * information. The first part is the information that is needed 59 * only while the file is active (such as the identity of the file 60 * and linkage to speed its lookup). The second part is the |
61 * permannent meta-data associated with the file which is read | 61 * permanent meta-data associated with the file which is read |
62 * in from the permanent dinode from long term storage when the 63 * file becomes active, and is put back when the file is no longer 64 * being used. 65 */ 66struct inode { 67 struct inode *i_next; /* Hash chain forward. */ 68 struct inode **i_prev; /* Hash chain back. */ 69 struct vnode *i_vnode; /* Vnode associated with this inode. */ --- 111 unchanged lines hidden --- | 62 * in from the permanent dinode from long term storage when the 63 * file becomes active, and is put back when the file is no longer 64 * being used. 65 */ 66struct inode { 67 struct inode *i_next; /* Hash chain forward. */ 68 struct inode **i_prev; /* Hash chain back. */ 69 struct vnode *i_vnode; /* Vnode associated with this inode. */ --- 111 unchanged lines hidden --- |