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

Go to the source code of this file.

Data Structures

struct  exofs_fscb
 
struct  exofs_sb_stats
 
struct  exofs_dt_data_map
 
struct  exofs_dt_device_info
 
struct  exofs_device_table
 
struct  exofs_fcb
 
struct  exofs_dir_entry
 
struct  exofs_on_disk_inode_layout
 

Macros

#define EXOFS_MIN_PID   0x10000 /* Smallest partition ID */
 
#define EXOFS_OBJ_OFF   0x10000 /* offset for objects */
 
#define EXOFS_SUPER_ID   0x10000 /* object ID for on-disk superblock */
 
#define EXOFS_DEVTABLE_ID   0x10001 /* object ID for on-disk device table */
 
#define EXOFS_ROOT_ID   0x10002 /* object ID for root directory */
 
#define EXOFS_APAGE_FS_DATA   (OSD_APAGE_APP_DEFINED_FIRST + 3)
 
#define EXOFS_ATTR_INODE_DATA   1
 
#define EXOFS_ATTR_INODE_FILE_LAYOUT   2
 
#define EXOFS_ATTR_INODE_DIR_LAYOUT   3
 
#define EXOFS_APAGE_SB_DATA   (0xF0000000U + 3)
 
#define EXOFS_ATTR_SB_STATS   1
 
#define EXOFS_BLKSHIFT   12
 
#define EXOFS_BLKSIZE   (1UL << EXOFS_BLKSHIFT)
 
#define EXOFS_SUPER_MAGIC   0x5DF5
 
#define EXOFS_IDATA   5
 
#define EXOFS_INO_ATTR_SIZE   sizeof(struct exofs_fcb)
 
#define EXOFS_NAME_LEN   255
 
#define EXOFS_DIR_PAD   4
 
#define EXOFS_DIR_ROUND   (EXOFS_DIR_PAD - 1)
 
#define EXOFS_DIR_REC_LEN(name_len)
 

Enumerations

enum  { EXOFS_MAX_INO_ID, EXOFS_MAX_ID = (EXOFS_MAX_INO_ID - 1 - EXOFS_OBJ_OFF) }
 
enum  { EXOFS_FSCB_VER = 1, EXOFS_DT_VER = 1 }
 
enum  {
  EXOFS_FT_UNKNOWN, EXOFS_FT_REG_FILE, EXOFS_FT_DIR, EXOFS_FT_CHRDEV,
  EXOFS_FT_BLKDEV, EXOFS_FT_FIFO, EXOFS_FT_SOCK, EXOFS_FT_SYMLINK,
  EXOFS_FT_MAX
}
 
enum  exofs_inode_layout_gen_functions { LAYOUT_MOVING_WINDOW = 0, LAYOUT_IMPLICT = 1 }
 

Variables

struct exofs_fscb __packed
 

Macro Definition Documentation

#define EXOFS_APAGE_FS_DATA   (OSD_APAGE_APP_DEFINED_FIRST + 3)

Definition at line 57 of file common.h.

#define EXOFS_APAGE_SB_DATA   (0xF0000000U + 3)

Definition at line 62 of file common.h.

#define EXOFS_ATTR_INODE_DATA   1

Definition at line 58 of file common.h.

#define EXOFS_ATTR_INODE_DIR_LAYOUT   3

Definition at line 60 of file common.h.

#define EXOFS_ATTR_INODE_FILE_LAYOUT   2

Definition at line 59 of file common.h.

#define EXOFS_ATTR_SB_STATS   1

Definition at line 63 of file common.h.

#define EXOFS_BLKSHIFT   12

Definition at line 79 of file common.h.

#define EXOFS_BLKSIZE   (1UL << EXOFS_BLKSHIFT)

Definition at line 80 of file common.h.

#define EXOFS_DEVTABLE_ID   0x10001 /* object ID for on-disk device table */

Definition at line 52 of file common.h.

#define EXOFS_DIR_PAD   4

Definition at line 219 of file common.h.

#define EXOFS_DIR_REC_LEN (   name_len)
Value:
EXOFS_DIR_ROUND) & ~EXOFS_DIR_ROUND)

Definition at line 221 of file common.h.

#define EXOFS_DIR_ROUND   (EXOFS_DIR_PAD - 1)

Definition at line 220 of file common.h.

#define EXOFS_IDATA   5

Definition at line 163 of file common.h.

#define EXOFS_INO_ATTR_SIZE   sizeof(struct exofs_fcb)

Definition at line 183 of file common.h.

#define EXOFS_MIN_PID   0x10000 /* Smallest partition ID */

Definition at line 49 of file common.h.

#define EXOFS_NAME_LEN   255

Definition at line 194 of file common.h.

#define EXOFS_OBJ_OFF   0x10000 /* offset for objects */

Definition at line 50 of file common.h.

#define EXOFS_ROOT_ID   0x10002 /* object ID for root directory */

Definition at line 53 of file common.h.

#define EXOFS_SUPER_ID   0x10000 /* object ID for on-disk superblock */

Definition at line 51 of file common.h.

#define EXOFS_SUPER_MAGIC   0x5DF5

Definition at line 85 of file common.h.

Enumeration Type Documentation

anonymous enum
Enumerator:
EXOFS_MAX_INO_ID 
EXOFS_MAX_ID 

Definition at line 70 of file common.h.

anonymous enum
Enumerator:
EXOFS_FSCB_VER 
EXOFS_DT_VER 

Definition at line 91 of file common.h.

anonymous enum
Enumerator:
EXOFS_FT_UNKNOWN 
EXOFS_FT_REG_FILE 
EXOFS_FT_DIR 
EXOFS_FT_CHRDEV 
EXOFS_FT_BLKDEV 
EXOFS_FT_FIFO 
EXOFS_FT_SOCK 
EXOFS_FT_SYMLINK 
EXOFS_FT_MAX 

Definition at line 207 of file common.h.

Enumerator:
LAYOUT_MOVING_WINDOW 
LAYOUT_IMPLICT 

Definition at line 231 of file common.h.

Variable Documentation