linux/fs/freevxfs/vxfs.h

/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * Copyright (c) 2000-2001 Christoph Hellwig.
 * Copyright (c) 2016 Krzysztof Blaszkowski
 */
#ifndef _VXFS_SUPER_H_
#define _VXFS_SUPER_H_

/*
 * Veritas filesystem driver - superblock structure.
 *
 * This file contains the definition of the disk and core
 * superblocks of the Veritas Filesystem.
 */
#include <linux/types.h>

/*
 * Superblock magic number (vxfs_super->vs_magic).
 */
#define VXFS_SUPER_MAGIC

/*
 * The root inode.
 */
#define VXFS_ROOT_INO

/*
 * Num of entries in free extent array
 */
#define VXFS_NEFREE

enum vxfs_byte_order {};

__fs16;
__fs32;
__fs64;

/*
 * VxFS superblock (disk).
 */
struct vxfs_sb {};


/*
 * In core superblock filesystem private data for VxFS.
 */
struct vxfs_sb_info {};

static inline u16 fs16_to_cpu(struct vxfs_sb_info *sbi, __fs16 a)
{}

static inline u32 fs32_to_cpu(struct vxfs_sb_info *sbi, __fs32 a)
{}

static inline u64 fs64_to_cpu(struct vxfs_sb_info *sbi, __fs64 a)
{}

/*
 * File modes.  File types above 0xf000 are vxfs internal only, they should
 * not be passed back to higher levels of the system.  vxfs file types must
 * never have one of the regular file type bits set.
 */
enum vxfs_mode {};

#define VXFS_TYPE_MASK

#define VXFS_IS_TYPE(ip,type)
#define VXFS_ISFIFO(x)
#define VXFS_ISCHR(x)
#define VXFS_ISDIR(x)
#define VXFS_ISNAM(x)
#define VXFS_ISBLK(x)
#define VXFS_ISLNK(x)
#define VXFS_ISREG(x)
#define VXFS_ISCMP(x)
#define VXFS_ISSOC(x)

#define VXFS_ISFSH(x)
#define VXFS_ISILT(x)

/*
 * Inmode organisation types.
 */
enum {};

#define VXFS_IS_ORG(ip,org)
#define VXFS_ISNONE(ip)
#define VXFS_ISEXT4(ip)
#define VXFS_ISIMMED(ip)
#define VXFS_ISTYPED(ip)

/*
 * Get filesystem private data from VFS superblock.
 */
#define VXFS_SBI(sbp)

#endif /* _VXFS_SUPER_H_ */