File: [Development] / xfs-linux-nodel / Attic / xfs_macros.h (download)
Revision 1.12, Sun Jan 30 09:59:06 2000 UTC (17 years, 8 months ago) by kenmcd
Branch: MAIN
Changes since 1.11: +11 -16
lines
Encumbrance review done.
Add copyright and license words consistent with GPL.
Refer to http://fsg.melbourne.sgi.com/reviews/ for details.
There is a slight change in the license terms and conditions words
to go with the copyrights, so most of the files are not getting
new GPL's, just updated versions ... but there are 20-30 more files
here as well.
|
/*
* Copyright (C) 1999 Silicon Graphics, Inc. All Rights Reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or (at
* your option) any later version.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write the Free Software Foundation,
* Inc., 59 Temple Place - Suite 330, Boston MA 02111-1307, USA.
*/
#ifndef _FS_XFS_MACROS_H
#define _FS_XFS_MACROS_H
#ident "$Revision: 1.10 $"
/*
* Set for debug kernels and simulation, and 32-bit kernels,
* but not for standalone. These replacements save space.
* Used in xfs_macros.c.
*/
#define XFS_WANT_SPACE_C \
(!defined(_STANDALONE) && \
(defined(DEBUG) || (defined(_KERNEL) && _MIPS_SIM != _ABI64)))
/*
* Set for debug simulation and kernel builds, but not for standalone.
* These replacements do not save space.
* Used in xfs_macros.c.
*/
#define XFS_WANT_FUNCS_C \
(!defined(_STANDALONE) && defined(DEBUG))
/*
* Corresponding names used in .h files.
*/
#define XFS_WANT_SPACE (XFS_WANT_SPACE_C && !defined(XFS_MACRO_C))
#define XFS_WANT_FUNCS (XFS_WANT_FUNCS_C && !defined(XFS_MACRO_C))
/*
* These are the macros that get turned into functions to save space.
*/
#define XFSSO_NULLSTARTBLOCK 1
#define XFSSO_XFS_AGB_TO_DADDR 1
#define XFSSO_XFS_AGB_TO_FSB 1
#define XFSSO_XFS_AGINO_TO_INO 1
#define XFSSO_XFS_ALLOC_BLOCK_MINRECS 1
#define XFSSO_XFS_ATTR_SF_NEXTENTRY 1
#define XFSSO_XFS_BHVTOI 1
#define XFSSO_XFS_BMAP_BLOCK_DMAXRECS 1
#define XFSSO_XFS_BMAP_BLOCK_IMAXRECS 1
#define XFSSO_XFS_BMAP_BLOCK_IMINRECS 1
#define XFSSO_XFS_BMAP_INIT 1
#define XFSSO_XFS_BMAP_PTR_IADDR 1
#define XFSSO_XFS_BMAP_SANITY_CHECK 1
#define XFSSO_XFS_BMAPI_AFLAG 1
#define XFSSO_XFS_CFORK_SIZE 1
#define XFSSO_XFS_DA_COOKIE_BNO 1
#define XFSSO_XFS_DA_COOKIE_ENTRY 1
#define XFSSO_XFS_DADDR_TO_AGBNO 1
#define XFSSO_XFS_DADDR_TO_FSB 1
#define XFSSO_XFS_DFORK_PTR 1
#define XFSSO_XFS_DIR_SF_GET_DIRINO 1
#define XFSSO_XFS_DIR_SF_NEXTENTRY 1
#define XFSSO_XFS_DIR_SF_PUT_DIRINO 1
#define XFSSO_XFS_FILBLKS_MIN 1
#define XFSSO_XFS_FSB_SANITY_CHECK 1
#define XFSSO_XFS_FSB_TO_DADDR 1
#define XFSSO_XFS_FSB_TO_DB 1
#define XFSSO_XFS_IALLOC_INODES 1
#define XFSSO_XFS_IFORK_ASIZE 1
#define XFSSO_XFS_IFORK_DSIZE 1
#define XFSSO_XFS_IFORK_FORMAT 1
#define XFSSO_XFS_IFORK_NEXT_SET 1
#define XFSSO_XFS_IFORK_NEXTENTS 1
#define XFSSO_XFS_IFORK_PTR 1
#define XFSSO_XFS_ILOG_FBROOT 1
#define XFSSO_XFS_ILOG_FEXT 1
#define XFSSO_XFS_INO_MASK 1
#define XFSSO_XFS_INO_TO_FSB 1
#define XFSSO_XFS_INODE_CLEAR_READ_AHEAD 1
#define XFSSO_XFS_MIN_FREELIST 1
#define XFSSO_XFS_SB_GOOD_VERSION 1
#define XFSSO_XFS_SB_VERSION_HASNLINK 1
#define XFSSO_XLOG_GRANT_ADD_SPACE 1
#define XFSSO_XLOG_GRANT_SUB_SPACE 1
#endif /* _FS_XFS_MACROS_H */