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.9 (Berkeley) 5/14/95
39 * $Id: inode.h,v 1.16 1997/07/13 15:40:31 bde Exp $
40 */
41
42#ifndef _UFS_UFS_INODE_H_
43#define _UFS_UFS_INODE_H_
44
45#include <ufs/ufs/dinode.h>
46
47/*
--- 68 unchanged lines hidden (view full) ---
116/* These flags are kept in i_flag. */
117#define IN_ACCESS 0x0001 /* Access time update request. */
118#define IN_CHANGE 0x0002 /* Inode change time update request. */
119#define IN_UPDATE 0x0004 /* Modification time update request. */
120#define IN_MODIFIED 0x0008 /* Inode has been modified. */
121#define IN_RENAME 0x0010 /* Inode is being renamed. */
122#define IN_SHLOCK 0x0020 /* File has shared lock. */
123#define IN_EXLOCK 0x0040 /* File has exclusive lock. */
124#define IN_HASHED 0x0080 /* Inode is on hash list */
125
126#ifdef KERNEL
127/*
128 * Structure used to pass around logical block paths generated by
129 * ufs_getlbns and used by truncate and bmap code.
130 */
131struct indir {
132 ufs_daddr_t in_lbn; /* Logical block number. */
--- 41 unchanged lines hidden ---
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.9 (Berkeley) 5/14/95
39 * $Id: inode.h,v 1.16 1997/07/13 15:40:31 bde Exp $
40 */
41
42#ifndef _UFS_UFS_INODE_H_
43#define _UFS_UFS_INODE_H_
44
45#include <ufs/ufs/dinode.h>
46
47/*
--- 68 unchanged lines hidden (view full) ---
116/* These flags are kept in i_flag. */
117#define IN_ACCESS 0x0001 /* Access time update request. */
118#define IN_CHANGE 0x0002 /* Inode change time update request. */
119#define IN_UPDATE 0x0004 /* Modification time update request. */
120#define IN_MODIFIED 0x0008 /* Inode has been modified. */
121#define IN_RENAME 0x0010 /* Inode is being renamed. */
122#define IN_SHLOCK 0x0020 /* File has shared lock. */
123#define IN_EXLOCK 0x0040 /* File has exclusive lock. */
124#define IN_HASHED 0x0080 /* Inode is on hash list */
125
126#ifdef KERNEL
127/*
128 * Structure used to pass around logical block paths generated by
129 * ufs_getlbns and used by truncate and bmap code.
130 */
131struct indir {
132 ufs_daddr_t in_lbn; /* Logical block number. */
--- 41 unchanged lines hidden ---