Go to the documentation of this file.
30 #ifndef _VXFS_SUPER_H_
31 #define _VXFS_SUPER_H_
39 #include <linux/types.h>
51 #define VXFS_SUPER_MAGIC 0xa501FCF5
56 #define VXFS_ROOT_INO 2
61 #define VXFS_NEFREE 32
218 #define VXFS_TYPE_MASK 0xfffff000
220 #define VXFS_IS_TYPE(ip,type) (((ip)->vii_mode & VXFS_TYPE_MASK) == (type))
221 #define VXFS_ISFIFO(x) VXFS_IS_TYPE((x),VXFS_IFIFO)
222 #define VXFS_ISCHR(x) VXFS_IS_TYPE((x),VXFS_IFCHR)
223 #define VXFS_ISDIR(x) VXFS_IS_TYPE((x),VXFS_IFDIR)
224 #define VXFS_ISNAM(x) VXFS_IS_TYPE((x),VXFS_IFNAM)
225 #define VXFS_ISBLK(x) VXFS_IS_TYPE((x),VXFS_IFBLK)
226 #define VXFS_ISLNK(x) VXFS_IS_TYPE((x),VXFS_IFLNK)
227 #define VXFS_ISREG(x) VXFS_IS_TYPE((x),VXFS_IFREG)
228 #define VXFS_ISCMP(x) VXFS_IS_TYPE((x),VXFS_IFCMP)
229 #define VXFS_ISSOC(x) VXFS_IS_TYPE((x),VXFS_IFSOC)
231 #define VXFS_ISFSH(x) VXFS_IS_TYPE((x),VXFS_IFFSH)
232 #define VXFS_ISILT(x) VXFS_IS_TYPE((x),VXFS_IFILT)
244 #define VXFS_IS_ORG(ip,org) ((ip)->vii_orgtype == (org))
245 #define VXFS_ISNONE(ip) VXFS_IS_ORG((ip), VXFS_ORG_NONE)
246 #define VXFS_ISEXT4(ip) VXFS_IS_ORG((ip), VXFS_ORG_EXT4)
247 #define VXFS_ISIMMED(ip) VXFS_IS_ORG((ip), VXFS_ORG_IMMED)
248 #define VXFS_ISTYPED(ip) VXFS_IS_ORG((ip), VXFS_ORG_TYPED)
254 #define VXFS_INO(ip) \
255 ((struct vxfs_inode_info *)(ip)->i_private)
260 #define VXFS_SBI(sbp) \
261 ((struct vxfs_sb_info *)(sbp)->s_fs_info)