/*
* Copyright (c) 2000 Silicon Graphics, Inc. All Rights Reserved.
*
* under the terms of version 3 of the GNU General Public License as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it would be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*
* Further, this software is distributed without any warranty that it is
* free of the rightful claim of any third person regarding infringement
* or the like. Any license provided herein, whether implied or
* otherwise, applies only to this software file. Patent licenses, if
* any, provided herein do not apply to combinations of this program with
* other software, or any other product whatsoever.
*
* You should have received a copy of the GNU General Public License along
* with this program. If not, see <http://www.gnu.org/licenses/>.
*
* Contact information: Silicon Graphics, Inc., 1600 Amphitheatre Pkwy,
* Mountain View, CA 94043, or:
*
*
* For further information regarding this notice, see:
*
*/
#ifndef __XFS_TYPES_H__
#define __XFS_TYPES_H__
/*
* Some types are conditional based on the selected configuration.
* Set XFS_BIG_FILES=1 or 0 and XFS_BIG_FILESYSTEMS=1 or 0 depending
* on the desired configuration.
* XFS_BIG_FILES needs pgno_t to be 64 bits (64-bit kernels).
* XFS_BIG_FILESYSTEMS needs daddr_t to be 64 bits (N32 and 64-bit kernels).
*
* Expect these to be set from klocaldefs, or from the machine-type
* defs files for the normal case.
*/
/*
* These types are 64 bits on disk but are either 32 or 64 bits in memory.
* Disk based types:
*/
/*
* Memory based types are conditional.
*/
#else
#endif
#if XFS_BIG_FILES
#else
#endif
/*
* Null values for the types.
*/
/*
* Max values for extlen, extnum, aextnum.
*/
/*
* MAXNAMELEN is the length (including the terminating null) of
* the longest permissible file (component) name.
*/
typedef enum {
} xfs_lookup_t;
typedef enum {
} xfs_btnum_t;
#ifdef CONFIG_PROC_FS
/*
* XFS global statistics
*/
struct xfsstats {
struct xfsstats_xpc {
} xpc;
} xfsstats;
#else /* !CONFIG_PROC_FS */
#endif /* !CONFIG_PROC_FS */
#ifdef __KERNEL__
/* juggle IRIX device numbers - still used in ondisk structures */
& IRIX_DEV_MAXMAJ))
| (minor&IRIX_DEV_MAXMIN)))
/* __psint_t is the same size as a pointer */
#if (BITS_PER_LONG == 32)
#else
#endif
/*
*/
typedef struct flid {
#ifdef CELL_CAPABLE
#endif
} flid_t;
#endif /* __KERNEL__ */
#endif /* !__XFS_TYPES_H */