xfs_inode.h (94e1b69d1abd108d306e926c3012ec89e481c0da) xfs_inode.h (92bfc6e7c4eabbbd15e7d6d49123b296d05dcfd1)
1/*
2 * Copyright (c) 2000-2003,2005 Silicon Graphics, Inc.
3 * All Rights Reserved.
4 *
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License as
7 * published by the Free Software Foundation.
8 *

--- 69 unchanged lines hidden (view full) ---

78 char if_inline_data[XFS_INLINE_DATA];
79 /* very small file data */
80 xfs_dev_t if_rdev; /* dev number if special */
81 uuid_t if_uuid; /* mount point value */
82 } if_u2;
83} xfs_ifork_t;
84
85/*
1/*
2 * Copyright (c) 2000-2003,2005 Silicon Graphics, Inc.
3 * All Rights Reserved.
4 *
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License as
7 * published by the Free Software Foundation.
8 *

--- 69 unchanged lines hidden (view full) ---

78 char if_inline_data[XFS_INLINE_DATA];
79 /* very small file data */
80 xfs_dev_t if_rdev; /* dev number if special */
81 uuid_t if_uuid; /* mount point value */
82 } if_u2;
83} xfs_ifork_t;
84
85/*
86 * Inode location information. Stored in the inode and passed to
87 * xfs_imap_to_bp() to get a buffer and dinode for a given inode.
88 */
89struct xfs_imap {
90 xfs_daddr_t im_blkno; /* starting BB of inode chunk */
91 ushort im_len; /* length in BBs of inode chunk */
92 ushort im_boffset; /* inode offset in block in bytes */
93};
94
95/*
86 * This is the xfs in-core inode structure.
87 * Most of the on-disk inode is embedded in the i_d field.
88 *
89 * The extent pointers/inline file space, however, are managed
90 * separately. The memory for this information is pointed to by
91 * the if_u1 unions depending on the type of the data.
92 * This is used to linearize the array of extents for fast in-core
93 * access. This is used until the file's number of extents

--- 139 unchanged lines hidden (view full) ---

233typedef struct xfs_inode {
234 /* Inode linking and identification information. */
235 struct xfs_mount *i_mount; /* fs mount struct ptr */
236 struct xfs_dquot *i_udquot; /* user dquot */
237 struct xfs_dquot *i_gdquot; /* group dquot */
238
239 /* Inode location stuff */
240 xfs_ino_t i_ino; /* inode number (agno/agino)*/
96 * This is the xfs in-core inode structure.
97 * Most of the on-disk inode is embedded in the i_d field.
98 *
99 * The extent pointers/inline file space, however, are managed
100 * separately. The memory for this information is pointed to by
101 * the if_u1 unions depending on the type of the data.
102 * This is used to linearize the array of extents for fast in-core
103 * access. This is used until the file's number of extents

--- 139 unchanged lines hidden (view full) ---

243typedef struct xfs_inode {
244 /* Inode linking and identification information. */
245 struct xfs_mount *i_mount; /* fs mount struct ptr */
246 struct xfs_dquot *i_udquot; /* user dquot */
247 struct xfs_dquot *i_gdquot; /* group dquot */
248
249 /* Inode location stuff */
250 xfs_ino_t i_ino; /* inode number (agno/agino)*/
241 xfs_daddr_t i_blkno; /* blkno of inode buffer */
242 ushort i_len; /* len of inode buffer */
243 ushort i_boffset; /* off of inode in buffer */
251 struct xfs_imap i_imap; /* location for xfs_imap() */
244
245 /* Extent information. */
246 xfs_ifork_t *i_afp; /* attribute fork pointer */
247 xfs_ifork_t i_df; /* data fork */
248
249 /* Transaction and locking information. */
250 struct xfs_trans *i_transp; /* ptr to owning transaction*/
251 struct xfs_inode_log_item *i_itemp; /* logging information */

--- 357 unchanged lines hidden ---
252
253 /* Extent information. */
254 xfs_ifork_t *i_afp; /* attribute fork pointer */
255 xfs_ifork_t i_df; /* data fork */
256
257 /* Transaction and locking information. */
258 struct xfs_trans *i_transp; /* ptr to owning transaction*/
259 struct xfs_inode_log_item *i_itemp; /* logging information */

--- 357 unchanged lines hidden ---