inode.h (73942) | inode.h (76357) |
---|---|
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 | 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 * $FreeBSD: head/sys/gnu/fs/ext2fs/inode.h 73942 2001-03-07 07:09:55Z mckusick $ | 39 * $FreeBSD: head/sys/gnu/fs/ext2fs/inode.h 76357 2001-05-08 07:42:20Z mckusick $ |
40 */ 41 42#ifndef _UFS_UFS_INODE_H_ 43#define _UFS_UFS_INODE_H_ 44 45#include <sys/lock.h> 46#include <sys/queue.h> 47#include <ufs/ufs/dinode.h> --- 72 unchanged lines hidden (view full) --- 120#define i_uid i_din.di_uid 121 122/* These flags are kept in i_flag. */ 123#define IN_ACCESS 0x0001 /* Access time update request. */ 124#define IN_CHANGE 0x0002 /* Inode change time update request. */ 125#define IN_UPDATE 0x0004 /* Modification time update request. */ 126#define IN_MODIFIED 0x0008 /* Inode has been modified. */ 127#define IN_RENAME 0x0010 /* Inode is being renamed. */ | 40 */ 41 42#ifndef _UFS_UFS_INODE_H_ 43#define _UFS_UFS_INODE_H_ 44 45#include <sys/lock.h> 46#include <sys/queue.h> 47#include <ufs/ufs/dinode.h> --- 72 unchanged lines hidden (view full) --- 120#define i_uid i_din.di_uid 121 122/* These flags are kept in i_flag. */ 123#define IN_ACCESS 0x0001 /* Access time update request. */ 124#define IN_CHANGE 0x0002 /* Inode change time update request. */ 125#define IN_UPDATE 0x0004 /* Modification time update request. */ 126#define IN_MODIFIED 0x0008 /* Inode has been modified. */ 127#define IN_RENAME 0x0010 /* Inode is being renamed. */ |
128#define IN_SHLOCK 0x0020 /* File has shared lock. */ 129#define IN_EXLOCK 0x0040 /* File has exclusive lock. */ 130#define IN_HASHED 0x0080 /* Inode is on hash list */ 131#define IN_LAZYMOD 0x0100 /* Modified, but don't write yet. */ | 128#define IN_HASHED 0x0020 /* Inode is on hash list */ 129#define IN_LAZYMOD 0x0040 /* Modified, but don't write yet. */ 130#define IN_SPACECOUNTED 0x0080 /* Blocks to be freed in free count. */ |
132 133#ifdef _KERNEL 134/* 135 * Structure used to pass around logical block paths generated by 136 * ufs_getlbns and used by truncate and bmap code. 137 */ 138struct indir { 139 ufs_daddr_t in_lbn; /* Logical block number. */ --- 22 unchanged lines hidden --- | 131 132#ifdef _KERNEL 133/* 134 * Structure used to pass around logical block paths generated by 135 * ufs_getlbns and used by truncate and bmap code. 136 */ 137struct indir { 138 ufs_daddr_t in_lbn; /* Logical block number. */ --- 22 unchanged lines hidden --- |