Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Enumerations
vxfs.h File Reference
#include <linux/types.h>

Go to the source code of this file.

Data Structures

struct  vxfs_sb
 
struct  vxfs_sb_info
 

Macros

#define VXFS_SUPER_MAGIC   0xa501FCF5
 
#define VXFS_ROOT_INO   2
 
#define VXFS_NEFREE   32
 
#define VXFS_TYPE_MASK   0xfffff000
 
#define VXFS_IS_TYPE(ip, type)   (((ip)->vii_mode & VXFS_TYPE_MASK) == (type))
 
#define VXFS_ISFIFO(x)   VXFS_IS_TYPE((x),VXFS_IFIFO)
 
#define VXFS_ISCHR(x)   VXFS_IS_TYPE((x),VXFS_IFCHR)
 
#define VXFS_ISDIR(x)   VXFS_IS_TYPE((x),VXFS_IFDIR)
 
#define VXFS_ISNAM(x)   VXFS_IS_TYPE((x),VXFS_IFNAM)
 
#define VXFS_ISBLK(x)   VXFS_IS_TYPE((x),VXFS_IFBLK)
 
#define VXFS_ISLNK(x)   VXFS_IS_TYPE((x),VXFS_IFLNK)
 
#define VXFS_ISREG(x)   VXFS_IS_TYPE((x),VXFS_IFREG)
 
#define VXFS_ISCMP(x)   VXFS_IS_TYPE((x),VXFS_IFCMP)
 
#define VXFS_ISSOC(x)   VXFS_IS_TYPE((x),VXFS_IFSOC)
 
#define VXFS_ISFSH(x)   VXFS_IS_TYPE((x),VXFS_IFFSH)
 
#define VXFS_ISILT(x)   VXFS_IS_TYPE((x),VXFS_IFILT)
 
#define VXFS_IS_ORG(ip, org)   ((ip)->vii_orgtype == (org))
 
#define VXFS_ISNONE(ip)   VXFS_IS_ORG((ip), VXFS_ORG_NONE)
 
#define VXFS_ISEXT4(ip)   VXFS_IS_ORG((ip), VXFS_ORG_EXT4)
 
#define VXFS_ISIMMED(ip)   VXFS_IS_ORG((ip), VXFS_ORG_IMMED)
 
#define VXFS_ISTYPED(ip)   VXFS_IS_ORG((ip), VXFS_ORG_TYPED)
 
#define VXFS_INO(ip)   ((struct vxfs_inode_info *)(ip)->i_private)
 
#define VXFS_SBI(sbp)   ((struct vxfs_sb_info *)(sbp)->s_fs_info)
 

Typedefs

typedef int32_t vx_daddr_t
 
typedef int32_t vx_ino_t
 

Enumerations

enum  vxfs_mode {
  VXFS_ISUID = 0x00000800, VXFS_ISGID = 0x00000400, VXFS_ISVTX = 0x00000200, VXFS_IREAD = 0x00000100,
  VXFS_IWRITE = 0x00000080, VXFS_IEXEC = 0x00000040, VXFS_IFIFO = 0x00001000, VXFS_IFCHR = 0x00002000,
  VXFS_IFDIR = 0x00004000, VXFS_IFNAM = 0x00005000, VXFS_IFBLK = 0x00006000, VXFS_IFREG = 0x00008000,
  VXFS_IFCMP = 0x00009000, VXFS_IFLNK = 0x0000a000, VXFS_IFSOC = 0x0000c000, VXFS_IFFSH = 0x10000000,
  VXFS_IFILT = 0x20000000, VXFS_IFIAU = 0x30000000, VXFS_IFCUT = 0x40000000, VXFS_IFATT = 0x50000000,
  VXFS_IFLCT = 0x60000000, VXFS_IFIAT = 0x70000000, VXFS_IFEMR = 0x80000000, VXFS_IFQUO = 0x90000000,
  VXFS_IFPTI = 0xa0000000, VXFS_IFLAB = 0x11000000, VXFS_IFOLT = 0x12000000, VXFS_IFLOG = 0x13000000,
  VXFS_IFEMP = 0x14000000, VXFS_IFEAU = 0x15000000, VXFS_IFAUS = 0x16000000, VXFS_IFDEV = 0x17000000
}
 
enum  { VXFS_ORG_NONE = 0, VXFS_ORG_EXT4 = 1, VXFS_ORG_IMMED = 2, VXFS_ORG_TYPED = 3 }
 

Macro Definition Documentation

#define VXFS_INO (   ip)    ((struct vxfs_inode_info *)(ip)->i_private)

Definition at line 254 of file vxfs.h.

#define VXFS_IS_ORG (   ip,
  org 
)    ((ip)->vii_orgtype == (org))

Definition at line 244 of file vxfs.h.

#define VXFS_IS_TYPE (   ip,
  type 
)    (((ip)->vii_mode & VXFS_TYPE_MASK) == (type))

Definition at line 220 of file vxfs.h.

#define VXFS_ISBLK (   x)    VXFS_IS_TYPE((x),VXFS_IFBLK)

Definition at line 225 of file vxfs.h.

#define VXFS_ISCHR (   x)    VXFS_IS_TYPE((x),VXFS_IFCHR)

Definition at line 222 of file vxfs.h.

#define VXFS_ISCMP (   x)    VXFS_IS_TYPE((x),VXFS_IFCMP)

Definition at line 228 of file vxfs.h.

#define VXFS_ISDIR (   x)    VXFS_IS_TYPE((x),VXFS_IFDIR)

Definition at line 223 of file vxfs.h.

#define VXFS_ISEXT4 (   ip)    VXFS_IS_ORG((ip), VXFS_ORG_EXT4)

Definition at line 246 of file vxfs.h.

#define VXFS_ISFIFO (   x)    VXFS_IS_TYPE((x),VXFS_IFIFO)

Definition at line 221 of file vxfs.h.

#define VXFS_ISFSH (   x)    VXFS_IS_TYPE((x),VXFS_IFFSH)

Definition at line 231 of file vxfs.h.

#define VXFS_ISILT (   x)    VXFS_IS_TYPE((x),VXFS_IFILT)

Definition at line 232 of file vxfs.h.

#define VXFS_ISIMMED (   ip)    VXFS_IS_ORG((ip), VXFS_ORG_IMMED)

Definition at line 247 of file vxfs.h.

#define VXFS_ISLNK (   x)    VXFS_IS_TYPE((x),VXFS_IFLNK)

Definition at line 226 of file vxfs.h.

#define VXFS_ISNAM (   x)    VXFS_IS_TYPE((x),VXFS_IFNAM)

Definition at line 224 of file vxfs.h.

#define VXFS_ISNONE (   ip)    VXFS_IS_ORG((ip), VXFS_ORG_NONE)

Definition at line 245 of file vxfs.h.

#define VXFS_ISREG (   x)    VXFS_IS_TYPE((x),VXFS_IFREG)

Definition at line 227 of file vxfs.h.

#define VXFS_ISSOC (   x)    VXFS_IS_TYPE((x),VXFS_IFSOC)

Definition at line 229 of file vxfs.h.

#define VXFS_ISTYPED (   ip)    VXFS_IS_ORG((ip), VXFS_ORG_TYPED)

Definition at line 248 of file vxfs.h.

#define VXFS_NEFREE   32

Definition at line 61 of file vxfs.h.

#define VXFS_ROOT_INO   2

Definition at line 56 of file vxfs.h.

#define VXFS_SBI (   sbp)    ((struct vxfs_sb_info *)(sbp)->s_fs_info)

Definition at line 260 of file vxfs.h.

#define VXFS_SUPER_MAGIC   0xa501FCF5

Definition at line 51 of file vxfs.h.

#define VXFS_TYPE_MASK   0xfffff000

Definition at line 218 of file vxfs.h.

Typedef Documentation

Definition at line 45 of file vxfs.h.

typedef int32_t vx_ino_t

Definition at line 46 of file vxfs.h.

Enumeration Type Documentation

anonymous enum
Enumerator:
VXFS_ORG_NONE 
VXFS_ORG_EXT4 
VXFS_ORG_IMMED 
VXFS_ORG_TYPED 

Definition at line 237 of file vxfs.h.

enum vxfs_mode
Enumerator:
VXFS_ISUID 
VXFS_ISGID 
VXFS_ISVTX 
VXFS_IREAD 
VXFS_IWRITE 
VXFS_IEXEC 
VXFS_IFIFO 
VXFS_IFCHR 
VXFS_IFDIR 
VXFS_IFNAM 
VXFS_IFBLK 
VXFS_IFREG 
VXFS_IFCMP 
VXFS_IFLNK 
VXFS_IFSOC 
VXFS_IFFSH 
VXFS_IFILT 
VXFS_IFIAU 
VXFS_IFCUT 
VXFS_IFATT 
VXFS_IFLCT 
VXFS_IFIAT 
VXFS_IFEMR 
VXFS_IFQUO 
VXFS_IFPTI 
VXFS_IFLAB 
VXFS_IFOLT 
VXFS_IFLOG 
VXFS_IFEMP 
VXFS_IFEAU 
VXFS_IFAUS 
VXFS_IFDEV 

Definition at line 179 of file vxfs.h.