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

Go to the source code of this file.

Data Structures

struct  __attribute__
 
struct  __attribute__
 
struct  __attribute__
 
struct  __attribute__
 
struct  __attribute__
 
struct  __attribute__
 
struct  __attribute__
 
struct  __attribute__
 
struct  __attribute__
 
struct  __attribute__
 
struct  __attribute__
 
struct  __attribute__
 
struct  __attribute__
 
struct  __attribute__
 
struct  __attribute__
 
struct  __attribute__
 
struct  __attribute__
 
struct  __attribute__
 
struct  __attribute__
 
struct  __attribute__
 
struct  __attribute__
 
struct  __attribute__
 
struct  __attribute__
 
struct  __attribute__
 
struct  __attribute__
 
struct  __attribute__
 
struct  __attribute__
 
struct  __attribute__
 
struct  __attribute__
 
struct  __attribute__
 
struct  __attribute__
 
struct  __attribute__
 
struct  __attribute__
 
struct  __attribute__
 
struct  __attribute__
 
struct  __attribute__
 
struct  __attribute__
 
struct  __attribute__
 
struct  __attribute__
 
struct  __attribute__
 
struct  __attribute__
 
struct  __attribute__
 

Macros

#define magicNTFS   cpu_to_le64(0x202020205346544eULL)
 
#define ntfs_is_magic(x, m)   __ntfs_is_magic(x, magic_##m)
 
#define ntfs_is_magicp(p, m)   __ntfs_is_magicp(p, magic_##m)
 
#define ntfs_is_file_record(x)   ( ntfs_is_magic (x, FILE) )
 
#define ntfs_is_file_recordp(p)   ( ntfs_is_magicp(p, FILE) )
 
#define ntfs_is_mft_record(x)   ( ntfs_is_file_record (x) )
 
#define ntfs_is_mft_recordp(p)   ( ntfs_is_file_recordp(p) )
 
#define ntfs_is_indx_record(x)   ( ntfs_is_magic (x, INDX) )
 
#define ntfs_is_indx_recordp(p)   ( ntfs_is_magicp(p, INDX) )
 
#define ntfs_is_hole_record(x)   ( ntfs_is_magic (x, HOLE) )
 
#define ntfs_is_hole_recordp(p)   ( ntfs_is_magicp(p, HOLE) )
 
#define ntfs_is_rstr_record(x)   ( ntfs_is_magic (x, RSTR) )
 
#define ntfs_is_rstr_recordp(p)   ( ntfs_is_magicp(p, RSTR) )
 
#define ntfs_is_rcrd_record(x)   ( ntfs_is_magic (x, RCRD) )
 
#define ntfs_is_rcrd_recordp(p)   ( ntfs_is_magicp(p, RCRD) )
 
#define ntfs_is_chkd_record(x)   ( ntfs_is_magic (x, CHKD) )
 
#define ntfs_is_chkd_recordp(p)   ( ntfs_is_magicp(p, CHKD) )
 
#define ntfs_is_baad_record(x)   ( ntfs_is_magic (x, BAAD) )
 
#define ntfs_is_baad_recordp(p)   ( ntfs_is_magicp(p, BAAD) )
 
#define ntfs_is_empty_record(x)   ( ntfs_is_magic (x, empty) )
 
#define ntfs_is_empty_recordp(p)   ( ntfs_is_magicp(p, empty) )
 
#define MFT_REF_MASK_CPU   0x0000ffffffffffffULL
 
#define MFT_REF_MASK_LE   cpu_to_le64(MFT_REF_MASK_CPU)
 
#define MK_MREF(m, s)
 
#define MK_LE_MREF(m, s)   cpu_to_le64(MK_MREF(m, s))
 
#define MREF(x)   ((unsigned long)((x) & MFT_REF_MASK_CPU))
 
#define MSEQNO(x)   ((u16)(((x) >> 48) & 0xffff))
 
#define MREF_LE(x)   ((unsigned long)(le64_to_cpu(x) & MFT_REF_MASK_CPU))
 
#define MSEQNO_LE(x)   ((u16)((le64_to_cpu(x) >> 48) & 0xffff))
 
#define IS_ERR_MREF(x)   (((x) & 0x0000800000000000ULL) ? true : false)
 
#define ERR_MREF(x)   ((u64)((s64)(x)))
 
#define MREF_ERR(x)   ((int)((s64)(x)))
 
#define MAXIMUM_FILE_NAME_LENGTH   255
 

Typedefs

typedef le32 NTFS_RECORD_TYPE
 
typedef le16 MFT_RECORD_FLAGS
 
typedef u64 MFT_REF
 
typedef le64 leMFT_REF
 
typedef le32 ATTR_TYPE
 
typedef le32 COLLATION_RULE
 
typedef le32 ATTR_DEF_FLAGS
 
typedef le16 ATTR_FLAGS
 
typedef u8 RESIDENT_ATTR_FLAGS
 
typedef ATTR_RECORD ATTR_REC
 
typedef le32 FILE_ATTR_FLAGS
 
typedef u8 FILE_NAME_TYPE_FLAGS
 
typedef u8 ACE_TYPES
 
typedef u8 ACE_FLAGS
 
typedef le32 ACCESS_MASK
 
typedef struct __attribute__ ACCESS_DENIED_ACE
 
typedef struct __attribute__ SYSTEM_AUDIT_ACE
 
typedef struct __attribute__ SYSTEM_ALARM_ACE
 
typedef le32 OBJECT_ACE_FLAGS
 
typedef struct __attribute__ ACCESS_DENIED_OBJECT_ACE
 
typedef struct __attribute__ SYSTEM_AUDIT_OBJECT_ACE
 
typedef struct __attribute__ SYSTEM_ALARM_OBJECT_ACE
 
typedef le16 SECURITY_DESCRIPTOR_CONTROL
 
typedef
SECURITY_DESCRIPTOR_RELATIVE 
SECURITY_DESCRIPTOR_ATTR
 
typedef le16 VOLUME_FLAGS
 
typedef u8 INDEX_HEADER_FLAGS
 
typedef INDEX_BLOCK INDEX_ALLOCATION
 
typedef le32 QUOTA_FLAGS
 
typedef le16 INDEX_ENTRY_FLAGS
 
typedef u8 EA_FLAGS
 
typedef struct __attribute__ EFS_ATTR
 

Enumerations

enum  {
  magic_FILE = cpu_to_le32(0x454c4946), magic_INDX = cpu_to_le32(0x58444e49), magic_HOLE = cpu_to_le32(0x454c4f48), magic_RSTR = cpu_to_le32(0x52545352),
  magic_RCRD = cpu_to_le32(0x44524352), magic_CHKD = cpu_to_le32(0x444b4843), magic_BAAD = cpu_to_le32(0x44414142), magic_empty = cpu_to_le32(0xffffffff)
}
 
enum  NTFS_SYSTEM_FILES {
  FILE_MFT = 0, FILE_MFTMirr = 1, FILE_LogFile = 2, FILE_Volume = 3,
  FILE_AttrDef = 4, FILE_root = 5, FILE_Bitmap = 6, FILE_Boot = 7,
  FILE_BadClus = 8, FILE_Secure = 9, FILE_UpCase = 10, FILE_Extend = 11,
  FILE_reserved12 = 12, FILE_reserved13 = 13, FILE_reserved14 = 14, FILE_reserved15 = 15,
  FILE_first_user = 16
}
 
enum  
 
enum  {
  AT_UNUSED = cpu_to_le32( 0), AT_STANDARD_INFORMATION = cpu_to_le32( 0x10), AT_ATTRIBUTE_LIST = cpu_to_le32( 0x20), AT_FILE_NAME = cpu_to_le32( 0x30),
  AT_OBJECT_ID = cpu_to_le32( 0x40), AT_SECURITY_DESCRIPTOR = cpu_to_le32( 0x50), AT_VOLUME_NAME = cpu_to_le32( 0x60), AT_VOLUME_INFORMATION = cpu_to_le32( 0x70),
  AT_DATA = cpu_to_le32( 0x80), AT_INDEX_ROOT = cpu_to_le32( 0x90), AT_INDEX_ALLOCATION = cpu_to_le32( 0xa0), AT_BITMAP = cpu_to_le32( 0xb0),
  AT_REPARSE_POINT = cpu_to_le32( 0xc0), AT_EA_INFORMATION = cpu_to_le32( 0xd0), AT_EA = cpu_to_le32( 0xe0), AT_PROPERTY_SET = cpu_to_le32( 0xf0),
  AT_LOGGED_UTILITY_STREAM = cpu_to_le32( 0x100), AT_FIRST_USER_DEFINED_ATTRIBUTE = cpu_to_le32( 0x1000), AT_END = cpu_to_le32(0xffffffff)
}
 
enum  {
  COLLATION_BINARY = cpu_to_le32(0x00), COLLATION_FILE_NAME = cpu_to_le32(0x01), COLLATION_UNICODE_STRING = cpu_to_le32(0x02), COLLATION_NTOFS_ULONG = cpu_to_le32(0x10),
  COLLATION_NTOFS_SID = cpu_to_le32(0x11), COLLATION_NTOFS_SECURITY_HASH = cpu_to_le32(0x12), COLLATION_NTOFS_ULONGS = cpu_to_le32(0x13)
}
 
enum  {
  ATTR_DEF_INDEXABLE = cpu_to_le32(0x02), ATTR_DEF_MULTIPLE = cpu_to_le32(0x04), ATTR_DEF_NOT_ZERO = cpu_to_le32(0x08), ATTR_DEF_INDEXED_UNIQUE = cpu_to_le32(0x10),
  ATTR_DEF_NAMED_UNIQUE = cpu_to_le32(0x20), ATTR_DEF_RESIDENT = cpu_to_le32(0x40), ATTR_DEF_ALWAYS_LOG = cpu_to_le32(0x80)
}
 
enum  
 
enum  
 
enum  {
  FILE_ATTR_READONLY = cpu_to_le32(0x00000001), FILE_ATTR_HIDDEN = cpu_to_le32(0x00000002), FILE_ATTR_SYSTEM = cpu_to_le32(0x00000004), FILE_ATTR_DIRECTORY = cpu_to_le32(0x00000010),
  FILE_ATTR_ARCHIVE = cpu_to_le32(0x00000020), FILE_ATTR_DEVICE = cpu_to_le32(0x00000040), FILE_ATTR_NORMAL = cpu_to_le32(0x00000080), FILE_ATTR_TEMPORARY = cpu_to_le32(0x00000100),
  FILE_ATTR_SPARSE_FILE = cpu_to_le32(0x00000200), FILE_ATTR_REPARSE_POINT = cpu_to_le32(0x00000400), FILE_ATTR_COMPRESSED = cpu_to_le32(0x00000800), FILE_ATTR_OFFLINE = cpu_to_le32(0x00001000),
  FILE_ATTR_NOT_CONTENT_INDEXED = cpu_to_le32(0x00002000), FILE_ATTR_ENCRYPTED = cpu_to_le32(0x00004000), FILE_ATTR_VALID_FLAGS = cpu_to_le32(0x00007fb7), FILE_ATTR_VALID_SET_FLAGS = cpu_to_le32(0x000031a7),
  FILE_ATTR_DUP_FILE_NAME_INDEX_PRESENT = cpu_to_le32(0x10000000), FILE_ATTR_DUP_VIEW_INDEX_PRESENT = cpu_to_le32(0x20000000)
}
 
enum  
 
enum  RELATIVE_IDENTIFIERS {
  SECURITY_NULL_RID = 0, SECURITY_WORLD_RID = 0, SECURITY_LOCAL_RID = 0, SECURITY_CREATOR_OWNER_RID = 0,
  SECURITY_CREATOR_GROUP_RID = 1, SECURITY_CREATOR_OWNER_SERVER_RID = 2, SECURITY_CREATOR_GROUP_SERVER_RID = 3, SECURITY_DIALUP_RID = 1,
  SECURITY_NETWORK_RID = 2, SECURITY_BATCH_RID = 3, SECURITY_INTERACTIVE_RID = 4, SECURITY_SERVICE_RID = 6,
  SECURITY_ANONYMOUS_LOGON_RID = 7, SECURITY_PROXY_RID = 8, SECURITY_ENTERPRISE_CONTROLLERS_RID =9, SECURITY_SERVER_LOGON_RID = 9,
  SECURITY_PRINCIPAL_SELF_RID = 0xa, SECURITY_AUTHENTICATED_USER_RID = 0xb, SECURITY_RESTRICTED_CODE_RID = 0xc, SECURITY_TERMINAL_SERVER_RID = 0xd,
  SECURITY_LOGON_IDS_RID = 5, SECURITY_LOGON_IDS_RID_COUNT = 3, SECURITY_LOCAL_SYSTEM_RID = 0x12, SECURITY_NT_NON_UNIQUE = 0x15,
  SECURITY_BUILTIN_DOMAIN_RID = 0x20, DOMAIN_USER_RID_ADMIN = 0x1f4, DOMAIN_USER_RID_GUEST = 0x1f5, DOMAIN_USER_RID_KRBTGT = 0x1f6,
  DOMAIN_GROUP_RID_ADMINS = 0x200, DOMAIN_GROUP_RID_USERS = 0x201, DOMAIN_GROUP_RID_GUESTS = 0x202, DOMAIN_GROUP_RID_COMPUTERS = 0x203,
  DOMAIN_GROUP_RID_CONTROLLERS = 0x204, DOMAIN_GROUP_RID_CERT_ADMINS = 0x205, DOMAIN_GROUP_RID_SCHEMA_ADMINS = 0x206, DOMAIN_GROUP_RID_ENTERPRISE_ADMINS = 0x207,
  DOMAIN_GROUP_RID_POLICY_ADMINS = 0x208, DOMAIN_ALIAS_RID_ADMINS = 0x220, DOMAIN_ALIAS_RID_USERS = 0x221, DOMAIN_ALIAS_RID_GUESTS = 0x222,
  DOMAIN_ALIAS_RID_POWER_USERS = 0x223, DOMAIN_ALIAS_RID_ACCOUNT_OPS = 0x224, DOMAIN_ALIAS_RID_SYSTEM_OPS = 0x225, DOMAIN_ALIAS_RID_PRINT_OPS = 0x226,
  DOMAIN_ALIAS_RID_BACKUP_OPS = 0x227, DOMAIN_ALIAS_RID_REPLICATOR = 0x228, DOMAIN_ALIAS_RID_RAS_SERVERS = 0x229, DOMAIN_ALIAS_RID_PREW2KCOMPACCESS = 0x22a
}
 
enum  SID_CONSTANTS { SID_REVISION = 1, SID_MAX_SUB_AUTHORITIES = 15, SID_RECOMMENDED_SUB_AUTHORITIES = 1 }
 
enum  
 
enum  
 
enum  {
  FILE_READ_DATA = cpu_to_le32(0x00000001), FILE_LIST_DIRECTORY = cpu_to_le32(0x00000001), FILE_WRITE_DATA = cpu_to_le32(0x00000002), FILE_ADD_FILE = cpu_to_le32(0x00000002),
  FILE_APPEND_DATA = cpu_to_le32(0x00000004), FILE_ADD_SUBDIRECTORY = cpu_to_le32(0x00000004), FILE_READ_EA = cpu_to_le32(0x00000008), FILE_WRITE_EA = cpu_to_le32(0x00000010),
  FILE_EXECUTE = cpu_to_le32(0x00000020), FILE_TRAVERSE = cpu_to_le32(0x00000020), FILE_DELETE_CHILD = cpu_to_le32(0x00000040), FILE_READ_ATTRIBUTES = cpu_to_le32(0x00000080),
  FILE_WRITE_ATTRIBUTES = cpu_to_le32(0x00000100), DELETE = cpu_to_le32(0x00010000), READ_CONTROL = cpu_to_le32(0x00020000), WRITE_DAC = cpu_to_le32(0x00040000),
  WRITE_OWNER = cpu_to_le32(0x00080000), SYNCHRONIZE = cpu_to_le32(0x00100000), STANDARD_RIGHTS_READ = cpu_to_le32(0x00020000), STANDARD_RIGHTS_WRITE = cpu_to_le32(0x00020000),
  STANDARD_RIGHTS_EXECUTE = cpu_to_le32(0x00020000), STANDARD_RIGHTS_REQUIRED = cpu_to_le32(0x000f0000), STANDARD_RIGHTS_ALL = cpu_to_le32(0x001f0000), ACCESS_SYSTEM_SECURITY = cpu_to_le32(0x01000000),
  MAXIMUM_ALLOWED = cpu_to_le32(0x02000000), GENERIC_ALL = cpu_to_le32(0x10000000), GENERIC_EXECUTE = cpu_to_le32(0x20000000), GENERIC_WRITE = cpu_to_le32(0x40000000),
  GENERIC_READ = cpu_to_le32(0x80000000)
}
 
enum  { ACE_OBJECT_TYPE_PRESENT = cpu_to_le32(1), ACE_INHERITED_OBJECT_TYPE_PRESENT = cpu_to_le32(2) }
 
enum  ACL_CONSTANTS {
  ACL_REVISION = 2, ACL_REVISION_DS = 4, ACL_REVISION1 = 1, MIN_ACL_REVISION = 2,
  ACL_REVISION2 = 2, ACL_REVISION3 = 3, ACL_REVISION4 = 4, MAX_ACL_REVISION = 4
}
 
enum  
 
enum  SECURITY_DESCRIPTOR_CONSTANTS { SECURITY_DESCRIPTOR_REVISION = 1, SECURITY_DESCRIPTOR_REVISION1 = 1, SECURITY_DESCRIPTOR_MIN_LENGTH = sizeof(SECURITY_DESCRIPTOR) }
 
enum  
 
enum  
 
enum  {
  QUOTA_FLAG_DEFAULT_LIMITS = cpu_to_le32(0x00000001), QUOTA_FLAG_LIMIT_REACHED = cpu_to_le32(0x00000002), QUOTA_FLAG_ID_DELETED = cpu_to_le32(0x00000004), QUOTA_FLAG_USER_MASK = cpu_to_le32(0x00000007),
  QUOTA_FLAG_TRACKING_ENABLED = cpu_to_le32(0x00000010), QUOTA_FLAG_ENFORCEMENT_ENABLED = cpu_to_le32(0x00000020), QUOTA_FLAG_TRACKING_REQUESTED = cpu_to_le32(0x00000040), QUOTA_FLAG_LOG_THRESHOLD = cpu_to_le32(0x00000080),
  QUOTA_FLAG_LOG_LIMIT = cpu_to_le32(0x00000100), QUOTA_FLAG_OUT_OF_DATE = cpu_to_le32(0x00000200), QUOTA_FLAG_CORRUPT = cpu_to_le32(0x00000400), QUOTA_FLAG_PENDING_DELETES = cpu_to_le32(0x00000800)
}
 
enum  { QUOTA_INVALID_ID = cpu_to_le32(0x00000000), QUOTA_DEFAULTS_ID = cpu_to_le32(0x00000001), QUOTA_FIRST_USER_ID = cpu_to_le32(0x00000100) }
 
enum  QUOTA_CONTROL_ENTRY_CONSTANTS { QUOTA_VERSION = 2 }
 
enum  
 
enum  {
  IO_REPARSE_TAG_IS_ALIAS = cpu_to_le32(0x20000000), IO_REPARSE_TAG_IS_HIGH_LATENCY = cpu_to_le32(0x40000000), IO_REPARSE_TAG_IS_MICROSOFT = cpu_to_le32(0x80000000), IO_REPARSE_TAG_RESERVED_ZERO = cpu_to_le32(0x00000000),
  IO_REPARSE_TAG_RESERVED_ONE = cpu_to_le32(0x00000001), IO_REPARSE_TAG_RESERVED_RANGE = cpu_to_le32(0x00000001), IO_REPARSE_TAG_NSS = cpu_to_le32(0x68000005), IO_REPARSE_TAG_NSS_RECOVER = cpu_to_le32(0x68000006),
  IO_REPARSE_TAG_SIS = cpu_to_le32(0x68000007), IO_REPARSE_TAG_DFS = cpu_to_le32(0x68000008), IO_REPARSE_TAG_MOUNT_POINT = cpu_to_le32(0x88000003), IO_REPARSE_TAG_HSM = cpu_to_le32(0xa8000004),
  IO_REPARSE_TAG_SYMBOLIC_LINK = cpu_to_le32(0xe8000000), IO_REPARSE_TAG_VALID_VALUES = cpu_to_le32(0xe000ffff)
}
 
enum  
 

Functions

enum { ... }  __attribute__ ((__packed__))
 

Variables

typedef __attribute__
 
 MFT_RECORD_IN_USE = cpu_to_le16(0x0001)
 
 MFT_RECORD_IS_DIRECTORY = cpu_to_le16(0x0002)
 
 ATTR_IS_COMPRESSED = cpu_to_le16(0x0001)
 
 ATTR_COMPRESSION_MASK = cpu_to_le16(0x00ff)
 
 ATTR_IS_ENCRYPTED = cpu_to_le16(0x4000)
 
 ATTR_IS_SPARSE = cpu_to_le16(0x8000)
 
 RESIDENT_ATTR_IS_INDEXED = 0x01
 
le32 value_length
 
le16 value_offset
 
RESIDENT_ATTR_FLAGS flags
 
s8 reserved
 
leVCN lowest_vcn
 
leVCN highest_vcn
 
le16 mapping_pairs_offset
 
u8 compression_unit
 
sle64 allocated_size
 
sle64 data_size
 
sle64 initialized_size
 
sle64 compressed_size
 
u8 reserved12 [12]
 
le32 maximum_versions
 
le32 version_number
 
le32 class_id
 
le32 owner_id
 
le32 security_id
 
le64 quota_charged
 
leUSN usn
 
 FILE_NAME_POSIX = 0x00
 
 FILE_NAME_WIN32 = 0x01
 
 FILE_NAME_DOS = 0x02
 
 FILE_NAME_WIN32_AND_DOS = 0x03
 
le16 packed_ea_size
 
le32 reparse_point_tag
 
GUID birth_volume_id
 
GUID birth_object_id
 
GUID domain_id
 
u8 extended_info [48]
 
u16 high_part
 
u32 low_part
 
 ACCESS_MIN_MS_ACE_TYPE = 0
 
 ACCESS_ALLOWED_ACE_TYPE = 0
 
 ACCESS_DENIED_ACE_TYPE = 1
 
 SYSTEM_AUDIT_ACE_TYPE = 2
 
 SYSTEM_ALARM_ACE_TYPE = 3
 
 ACCESS_MAX_MS_V2_ACE_TYPE = 3
 
 ACCESS_ALLOWED_COMPOUND_ACE_TYPE = 4
 
 ACCESS_MAX_MS_V3_ACE_TYPE = 4
 
 ACCESS_MIN_MS_OBJECT_ACE_TYPE = 5
 
 ACCESS_ALLOWED_OBJECT_ACE_TYPE = 5
 
 ACCESS_DENIED_OBJECT_ACE_TYPE = 6
 
 SYSTEM_AUDIT_OBJECT_ACE_TYPE = 7
 
 SYSTEM_ALARM_OBJECT_ACE_TYPE = 8
 
 ACCESS_MAX_MS_OBJECT_ACE_TYPE = 8
 
 ACCESS_MAX_MS_V4_ACE_TYPE = 8
 
 ACCESS_MAX_MS_ACE_TYPE = 8
 
 OBJECT_INHERIT_ACE = 0x01
 
 CONTAINER_INHERIT_ACE = 0x02
 
 NO_PROPAGATE_INHERIT_ACE = 0x04
 
 INHERIT_ONLY_ACE = 0x08
 
 INHERITED_ACE = 0x10
 
 VALID_INHERIT_FLAGS = 0x1f
 
 SUCCESSFUL_ACCESS_ACE_FLAG = 0x40
 
 FAILED_ACCESS_ACE_FLAG = 0x80
 
 SE_OWNER_DEFAULTED = cpu_to_le16(0x0001)
 
 SE_GROUP_DEFAULTED = cpu_to_le16(0x0002)
 
 SE_DACL_PRESENT = cpu_to_le16(0x0004)
 
 SE_DACL_DEFAULTED = cpu_to_le16(0x0008)
 
 SE_SACL_PRESENT = cpu_to_le16(0x0010)
 
 SE_SACL_DEFAULTED = cpu_to_le16(0x0020)
 
 SE_DACL_AUTO_INHERIT_REQ = cpu_to_le16(0x0100)
 
 SE_SACL_AUTO_INHERIT_REQ = cpu_to_le16(0x0200)
 
 SE_DACL_AUTO_INHERITED = cpu_to_le16(0x0400)
 
 SE_SACL_AUTO_INHERITED = cpu_to_le16(0x0800)
 
 SE_DACL_PROTECTED = cpu_to_le16(0x1000)
 
 SE_SACL_PROTECTED = cpu_to_le16(0x2000)
 
 SE_RM_CONTROL_VALID = cpu_to_le16(0x4000)
 
 SE_SELF_RELATIVE = cpu_to_le16(0x8000)
 
 VOLUME_IS_DIRTY = cpu_to_le16(0x0001)
 
 VOLUME_RESIZE_LOG_FILE = cpu_to_le16(0x0002)
 
 VOLUME_UPGRADE_ON_MOUNT = cpu_to_le16(0x0004)
 
 VOLUME_MOUNTED_ON_NT4 = cpu_to_le16(0x0008)
 
 VOLUME_DELETE_USN_UNDERWAY = cpu_to_le16(0x0010)
 
 VOLUME_REPAIR_OBJECT_ID = cpu_to_le16(0x0020)
 
 VOLUME_CHKDSK_UNDERWAY = cpu_to_le16(0x4000)
 
 VOLUME_MODIFIED_BY_CHKDSK = cpu_to_le16(0x8000)
 
 VOLUME_FLAGS_MASK = cpu_to_le16(0xc03f)
 
 VOLUME_MUST_MOUNT_RO_MASK = cpu_to_le16(0xc027)
 
 SMALL_INDEX = 0
 
 LARGE_INDEX = 1
 
 LEAF_NODE = 0
 
 INDEX_NODE = 1
 
 NODE_MASK = 1
 
 INDEX_ENTRY_NODE = cpu_to_le16(1)
 
 INDEX_ENTRY_END = cpu_to_le16(2)
 
 INDEX_ENTRY_SPACE_FILLER = cpu_to_le16(0xffff)
 
leMFT_REF indexed_file
 
le16 data_offset
 
le16 data_length
 
le32 reservedV
 
FILE_NAME_ATTR file_name
 
SII_INDEX_KEY sii
 
SDH_INDEX_KEY sdh
 
GUID object_id
 
REPARSE_INDEX_KEY reparse
 
SID sid
 
 NEED_EA = 0x80
 

Macro Definition Documentation

#define ERR_MREF (   x)    ((u64)((s64)(x)))

Definition at line 316 of file layout.h.

#define IS_ERR_MREF (   x)    (((x) & 0x0000800000000000ULL) ? true : false)

Definition at line 315 of file layout.h.

#define magicNTFS   cpu_to_le64(0x202020205346544eULL)

Definition at line 35 of file layout.h.

#define MAXIMUM_FILE_NAME_LENGTH   255

Definition at line 1007 of file layout.h.

#define MFT_REF_MASK_CPU   0x0000ffffffffffffULL

Definition at line 300 of file layout.h.

#define MFT_REF_MASK_LE   cpu_to_le64(MFT_REF_MASK_CPU)

Definition at line 301 of file layout.h.

#define MK_LE_MREF (   m,
  s 
)    cpu_to_le64(MK_MREF(m, s))

Definition at line 308 of file layout.h.

#define MK_MREF (   m,
  s 
)
Value:
((MFT_REF)(((MFT_REF)(s) << 48) | \

Definition at line 306 of file layout.h.

#define MREF (   x)    ((unsigned long)((x) & MFT_REF_MASK_CPU))

Definition at line 310 of file layout.h.

#define MREF_ERR (   x)    ((int)((s64)(x)))

Definition at line 317 of file layout.h.

#define MREF_LE (   x)    ((unsigned long)(le64_to_cpu(x) & MFT_REF_MASK_CPU))

Definition at line 312 of file layout.h.

#define MSEQNO (   x)    ((u16)(((x) >> 48) & 0xffff))

Definition at line 311 of file layout.h.

#define MSEQNO_LE (   x)    ((u16)((le64_to_cpu(x) >> 48) & 0xffff))

Definition at line 313 of file layout.h.

#define ntfs_is_baad_record (   x)    ( ntfs_is_magic (x, BAAD) )

Definition at line 166 of file layout.h.

#define ntfs_is_baad_recordp (   p)    ( ntfs_is_magicp(p, BAAD) )

Definition at line 167 of file layout.h.

#define ntfs_is_chkd_record (   x)    ( ntfs_is_magic (x, CHKD) )

Definition at line 163 of file layout.h.

#define ntfs_is_chkd_recordp (   p)    ( ntfs_is_magicp(p, CHKD) )

Definition at line 164 of file layout.h.

#define ntfs_is_empty_record (   x)    ( ntfs_is_magic (x, empty) )

Definition at line 169 of file layout.h.

#define ntfs_is_empty_recordp (   p)    ( ntfs_is_magicp(p, empty) )

Definition at line 170 of file layout.h.

#define ntfs_is_file_record (   x)    ( ntfs_is_magic (x, FILE) )

Definition at line 149 of file layout.h.

#define ntfs_is_file_recordp (   p)    ( ntfs_is_magicp(p, FILE) )

Definition at line 150 of file layout.h.

#define ntfs_is_hole_record (   x)    ( ntfs_is_magic (x, HOLE) )

Definition at line 155 of file layout.h.

#define ntfs_is_hole_recordp (   p)    ( ntfs_is_magicp(p, HOLE) )

Definition at line 156 of file layout.h.

#define ntfs_is_indx_record (   x)    ( ntfs_is_magic (x, INDX) )

Definition at line 153 of file layout.h.

#define ntfs_is_indx_recordp (   p)    ( ntfs_is_magicp(p, INDX) )

Definition at line 154 of file layout.h.

#define ntfs_is_magic (   x,
  m 
)    __ntfs_is_magic(x, magic_##m)

Definition at line 138 of file layout.h.

#define ntfs_is_magicp (   p,
  m 
)    __ntfs_is_magicp(p, magic_##m)

Definition at line 144 of file layout.h.

#define ntfs_is_mft_record (   x)    ( ntfs_is_file_record (x) )

Definition at line 151 of file layout.h.

#define ntfs_is_mft_recordp (   p)    ( ntfs_is_file_recordp(p) )

Definition at line 152 of file layout.h.

#define ntfs_is_rcrd_record (   x)    ( ntfs_is_magic (x, RCRD) )

Definition at line 160 of file layout.h.

#define ntfs_is_rcrd_recordp (   p)    ( ntfs_is_magicp(p, RCRD) )

Definition at line 161 of file layout.h.

#define ntfs_is_rstr_record (   x)    ( ntfs_is_magic (x, RSTR) )

Definition at line 158 of file layout.h.

#define ntfs_is_rstr_recordp (   p)    ( ntfs_is_magicp(p, RSTR) )

Definition at line 159 of file layout.h.

Typedef Documentation

typedef le32 ACCESS_MASK

Definition at line 1559 of file layout.h.

typedef u8 ACE_FLAGS

Definition at line 1408 of file layout.h.

typedef u8 ACE_TYPES

Definition at line 1382 of file layout.h.

Definition at line 577 of file layout.h.

typedef le16 ATTR_FLAGS

Definition at line 614 of file layout.h.

typedef ATTR_RECORD ATTR_REC

Definition at line 790 of file layout.h.

typedef le32 ATTR_TYPE

Definition at line 490 of file layout.h.

Definition at line 540 of file layout.h.

typedef u8 EA_FLAGS

Definition at line 2386 of file layout.h.

Definition at line 849 of file layout.h.

Definition at line 1040 of file layout.h.

typedef INDEX_BLOCK INDEX_ALLOCATION

Definition at line 2078 of file layout.h.

Definition at line 2192 of file layout.h.

Definition at line 1971 of file layout.h.

typedef le64 leMFT_REF

Definition at line 304 of file layout.h.

Definition at line 254 of file layout.h.

typedef u64 MFT_REF

Definition at line 303 of file layout.h.

Definition at line 127 of file layout.h.

Definition at line 1600 of file layout.h.

typedef le32 QUOTA_FLAGS

Definition at line 2123 of file layout.h.

Definition at line 692 of file layout.h.

typedef SECURITY_DESCRIPTOR_RELATIVE SECURITY_DESCRIPTOR_ATTR

Definition at line 1795 of file layout.h.

Definition at line 1717 of file layout.h.

typedef le16 VOLUME_FLAGS

Definition at line 1919 of file layout.h.

Enumeration Type Documentation

anonymous enum
Enumerator:
magic_FILE 
magic_INDX 
magic_HOLE 
magic_RSTR 
magic_RCRD 
magic_CHKD 
magic_BAAD 
magic_empty 

Definition at line 104 of file layout.h.

anonymous enum

Definition at line 249 of file layout.h.

anonymous enum
Enumerator:
AT_UNUSED 
AT_STANDARD_INFORMATION 
AT_ATTRIBUTE_LIST 
AT_FILE_NAME 
AT_OBJECT_ID 
AT_SECURITY_DESCRIPTOR 
AT_VOLUME_NAME 
AT_VOLUME_INFORMATION 
AT_DATA 
AT_INDEX_ROOT 
AT_INDEX_ALLOCATION 
AT_BITMAP 
AT_REPARSE_POINT 
AT_EA_INFORMATION 
AT_EA 
AT_PROPERTY_SET 
AT_LOGGED_UTILITY_STREAM 
AT_FIRST_USER_DEFINED_ATTRIBUTE 
AT_END 

Definition at line 468 of file layout.h.

anonymous enum
Enumerator:
COLLATION_BINARY 
COLLATION_FILE_NAME 
COLLATION_UNICODE_STRING 
COLLATION_NTOFS_ULONG 
COLLATION_NTOFS_SID 
COLLATION_NTOFS_SECURITY_HASH 
COLLATION_NTOFS_ULONGS 

Definition at line 530 of file layout.h.

anonymous enum
Enumerator:
ATTR_DEF_INDEXABLE 
ATTR_DEF_MULTIPLE 
ATTR_DEF_NOT_ZERO 
ATTR_DEF_INDEXED_UNIQUE 
ATTR_DEF_NAMED_UNIQUE 
ATTR_DEF_RESIDENT 
ATTR_DEF_ALWAYS_LOG 

Definition at line 550 of file layout.h.

anonymous enum

Definition at line 605 of file layout.h.

anonymous enum

Definition at line 686 of file layout.h.

anonymous enum
Enumerator:
FILE_ATTR_READONLY 
FILE_ATTR_HIDDEN 
FILE_ATTR_SYSTEM 
FILE_ATTR_DIRECTORY 
FILE_ATTR_ARCHIVE 
FILE_ATTR_DEVICE 
FILE_ATTR_NORMAL 
FILE_ATTR_TEMPORARY 
FILE_ATTR_SPARSE_FILE 
FILE_ATTR_REPARSE_POINT 
FILE_ATTR_COMPRESSED 
FILE_ATTR_OFFLINE 
FILE_ATTR_NOT_CONTENT_INDEXED 
FILE_ATTR_ENCRYPTED 
FILE_ATTR_VALID_FLAGS 
FILE_ATTR_VALID_SET_FLAGS 
FILE_ATTR_DUP_FILE_NAME_INDEX_PRESENT 
FILE_ATTR_DUP_VIEW_INDEX_PRESENT 

Definition at line 802 of file layout.h.

anonymous enum

Definition at line 1012 of file layout.h.

anonymous enum

Definition at line 1357 of file layout.h.

anonymous enum

Definition at line 1394 of file layout.h.

anonymous enum
Enumerator:
FILE_READ_DATA 
FILE_LIST_DIRECTORY 
FILE_WRITE_DATA 
FILE_ADD_FILE 
FILE_APPEND_DATA 
FILE_ADD_SUBDIRECTORY 
FILE_READ_EA 
FILE_WRITE_EA 
FILE_EXECUTE 
FILE_TRAVERSE 
FILE_DELETE_CHILD 
FILE_READ_ATTRIBUTES 
FILE_WRITE_ATTRIBUTES 
DELETE 
READ_CONTROL 
WRITE_DAC 
WRITE_OWNER 
SYNCHRONIZE 
STANDARD_RIGHTS_READ 
STANDARD_RIGHTS_WRITE 
STANDARD_RIGHTS_EXECUTE 
STANDARD_RIGHTS_REQUIRED 
STANDARD_RIGHTS_ALL 
ACCESS_SYSTEM_SECURITY 
MAXIMUM_ALLOWED 
GENERIC_ALL 
GENERIC_EXECUTE 
GENERIC_WRITE 
GENERIC_READ 

Definition at line 1434 of file layout.h.

anonymous enum
Enumerator:
ACE_OBJECT_TYPE_PRESENT 
ACE_INHERITED_OBJECT_TYPE_PRESENT 

Definition at line 1595 of file layout.h.

anonymous enum

Definition at line 1697 of file layout.h.

anonymous enum

Definition at line 1901 of file layout.h.

anonymous enum

Definition at line 1950 of file layout.h.

anonymous enum
Enumerator:
QUOTA_FLAG_DEFAULT_LIMITS 
QUOTA_FLAG_LIMIT_REACHED 
QUOTA_FLAG_ID_DELETED 
QUOTA_FLAG_USER_MASK 
QUOTA_FLAG_TRACKING_ENABLED 
QUOTA_FLAG_ENFORCEMENT_ENABLED 
QUOTA_FLAG_TRACKING_REQUESTED 
QUOTA_FLAG_LOG_THRESHOLD 
QUOTA_FLAG_LOG_LIMIT 
QUOTA_FLAG_OUT_OF_DATE 
QUOTA_FLAG_CORRUPT 
QUOTA_FLAG_PENDING_DELETES 

Definition at line 2100 of file layout.h.

anonymous enum
Enumerator:
QUOTA_INVALID_ID 
QUOTA_DEFAULTS_ID 
QUOTA_FIRST_USER_ID 

Definition at line 2163 of file layout.h.

anonymous enum

Definition at line 2180 of file layout.h.

anonymous enum
Enumerator:
IO_REPARSE_TAG_IS_ALIAS 
IO_REPARSE_TAG_IS_HIGH_LATENCY 
IO_REPARSE_TAG_IS_MICROSOFT 
IO_REPARSE_TAG_RESERVED_ZERO 
IO_REPARSE_TAG_RESERVED_ONE 
IO_REPARSE_TAG_RESERVED_RANGE 
IO_REPARSE_TAG_NSS 
IO_REPARSE_TAG_NSS_RECOVER 
IO_REPARSE_TAG_SIS 
IO_REPARSE_TAG_DFS 
IO_REPARSE_TAG_MOUNT_POINT 
IO_REPARSE_TAG_HSM 
IO_REPARSE_TAG_SYMBOLIC_LINK 
IO_REPARSE_TAG_VALID_VALUES 

Definition at line 2325 of file layout.h.

anonymous enum

Definition at line 2380 of file layout.h.

Enumerator:
ACL_REVISION 
ACL_REVISION_DS 
ACL_REVISION1 
MIN_ACL_REVISION 
ACL_REVISION2 
ACL_REVISION3 
ACL_REVISION4 
MAX_ACL_REVISION 

Definition at line 1639 of file layout.h.

Enumerator:
FILE_MFT 
FILE_MFTMirr 
FILE_LogFile 
FILE_Volume 
FILE_AttrDef 
FILE_root 
FILE_Bitmap 
FILE_Boot 
FILE_BadClus 
FILE_Secure 
FILE_UpCase 
FILE_Extend 
FILE_reserved12 
FILE_reserved13 
FILE_reserved14 
FILE_reserved15 
FILE_first_user 

Definition at line 206 of file layout.h.

Enumerator:
QUOTA_VERSION 

Definition at line 2172 of file layout.h.

Enumerator:
SECURITY_NULL_RID 
SECURITY_WORLD_RID 
SECURITY_LOCAL_RID 
SECURITY_CREATOR_OWNER_RID 
SECURITY_CREATOR_GROUP_RID 
SECURITY_CREATOR_OWNER_SERVER_RID 
SECURITY_CREATOR_GROUP_SERVER_RID 
SECURITY_DIALUP_RID 
SECURITY_NETWORK_RID 
SECURITY_BATCH_RID 
SECURITY_INTERACTIVE_RID 
SECURITY_SERVICE_RID 
SECURITY_ANONYMOUS_LOGON_RID 
SECURITY_PROXY_RID 
SECURITY_ENTERPRISE_CONTROLLERS_RID 
SECURITY_SERVER_LOGON_RID 
SECURITY_PRINCIPAL_SELF_RID 
SECURITY_AUTHENTICATED_USER_RID 
SECURITY_RESTRICTED_CODE_RID 
SECURITY_TERMINAL_SERVER_RID 
SECURITY_LOGON_IDS_RID 
SECURITY_LOGON_IDS_RID_COUNT 
SECURITY_LOCAL_SYSTEM_RID 
SECURITY_NT_NON_UNIQUE 
SECURITY_BUILTIN_DOMAIN_RID 
DOMAIN_USER_RID_ADMIN 
DOMAIN_USER_RID_GUEST 
DOMAIN_USER_RID_KRBTGT 
DOMAIN_GROUP_RID_ADMINS 
DOMAIN_GROUP_RID_USERS 
DOMAIN_GROUP_RID_GUESTS 
DOMAIN_GROUP_RID_COMPUTERS 
DOMAIN_GROUP_RID_CONTROLLERS 
DOMAIN_GROUP_RID_CERT_ADMINS 
DOMAIN_GROUP_RID_SCHEMA_ADMINS 
DOMAIN_GROUP_RID_ENTERPRISE_ADMINS 
DOMAIN_GROUP_RID_POLICY_ADMINS 
DOMAIN_ALIAS_RID_ADMINS 
DOMAIN_ALIAS_RID_USERS 
DOMAIN_ALIAS_RID_GUESTS 
DOMAIN_ALIAS_RID_POWER_USERS 
DOMAIN_ALIAS_RID_ACCOUNT_OPS 
DOMAIN_ALIAS_RID_SYSTEM_OPS 
DOMAIN_ALIAS_RID_PRINT_OPS 
DOMAIN_ALIAS_RID_BACKUP_OPS 
DOMAIN_ALIAS_RID_REPLICATOR 
DOMAIN_ALIAS_RID_RAS_SERVERS 
DOMAIN_ALIAS_RID_PREW2KCOMPACCESS 

Definition at line 1192 of file layout.h.

Enumerator:
SECURITY_DESCRIPTOR_REVISION 
SECURITY_DESCRIPTOR_REVISION1 
SECURITY_DESCRIPTOR_MIN_LENGTH 

Definition at line 1776 of file layout.h.

Enumerator:
SID_REVISION 
SID_MAX_SUB_AUTHORITIES 
SID_RECOMMENDED_SUB_AUTHORITIES 

Definition at line 1347 of file layout.h.

Function Documentation

enum @7071 __attribute__ ( (__packed__)  )
read

Definition at line 85 of file mpc512x_dma.c.

Variable Documentation

typedef __attribute__
ACCESS_ALLOWED_ACE_TYPE = 0

Definition at line 1382 of file layout.h.

ACCESS_ALLOWED_COMPOUND_ACE_TYPE = 4

Definition at line 1388 of file layout.h.

ACCESS_ALLOWED_OBJECT_ACE_TYPE = 5

Definition at line 1393 of file layout.h.

ACCESS_DENIED_ACE_TYPE = 1

Definition at line 1383 of file layout.h.

ACCESS_DENIED_OBJECT_ACE_TYPE = 6

Definition at line 1394 of file layout.h.

ACCESS_MAX_MS_ACE_TYPE = 8

Definition at line 1402 of file layout.h.

ACCESS_MAX_MS_OBJECT_ACE_TYPE = 8

Definition at line 1397 of file layout.h.

ACCESS_MAX_MS_V2_ACE_TYPE = 3

Definition at line 1386 of file layout.h.

ACCESS_MAX_MS_V3_ACE_TYPE = 4

Definition at line 1389 of file layout.h.

ACCESS_MAX_MS_V4_ACE_TYPE = 8

Definition at line 1399 of file layout.h.

ACCESS_MIN_MS_ACE_TYPE = 0

Definition at line 1381 of file layout.h.

ACCESS_MIN_MS_OBJECT_ACE_TYPE = 5

Definition at line 1392 of file layout.h.

sle64 allocated_size

Definition at line 814 of file layout.h.

ATTR_COMPRESSION_MASK = cpu_to_le16(0x00ff)

Definition at line 614 of file layout.h.

ATTR_IS_COMPRESSED = cpu_to_le16(0x0001)

Definition at line 613 of file layout.h.

ATTR_IS_ENCRYPTED = cpu_to_le16(0x4000)

Definition at line 617 of file layout.h.

ATTR_IS_SPARSE = cpu_to_le16(0x8000)

Definition at line 618 of file layout.h.

GUID birth_object_id

Definition at line 1142 of file layout.h.

GUID birth_volume_id

Definition at line 1141 of file layout.h.

le32 class_id

Definition at line 959 of file layout.h.

sle64 compressed_size

Definition at line 829 of file layout.h.

u8 compression_unit

Definition at line 804 of file layout.h.

CONTAINER_INHERIT_ACE = 0x02

Definition at line 1409 of file layout.h.

le16 data_length

Definition at line 2215 of file layout.h.

le16 data_offset

Definition at line 2212 of file layout.h.

Definition at line 822 of file layout.h.

GUID domain_id

Definition at line 1143 of file layout.h.

u8 extended_info

Definition at line 1148 of file layout.h.

FAILED_ACCESS_ACE_FLAG = 0x80

Definition at line 1417 of file layout.h.

FILE_NAME_ATTR file_name

Definition at line 2280 of file layout.h.

FILE_NAME_DOS = 0x02

Definition at line 1057 of file layout.h.

FILE_NAME_POSIX = 0x00

Definition at line 1039 of file layout.h.

FILE_NAME_WIN32 = 0x01

Definition at line 1053 of file layout.h.

FILE_NAME_WIN32_AND_DOS = 0x03

Definition at line 1061 of file layout.h.

Definition at line 744 of file layout.h.

u16 high_part

Definition at line 1310 of file layout.h.

leVCN highest_vcn

Definition at line 792 of file layout.h.

INDEX_ENTRY_END = cpu_to_le16(2)

Definition at line 2194 of file layout.h.

INDEX_ENTRY_NODE = cpu_to_le16(1)

Definition at line 2191 of file layout.h.

INDEX_ENTRY_SPACE_FILLER = cpu_to_le16(0xffff)

Definition at line 2198 of file layout.h.

INDEX_NODE = 1

Definition at line 1985 of file layout.h.

leMFT_REF indexed_file

Definition at line 2205 of file layout.h.

INHERIT_ONLY_ACE = 0x08

Definition at line 1411 of file layout.h.

INHERITED_ACE = 0x10

Definition at line 1412 of file layout.h.

sle64 initialized_size

Definition at line 825 of file layout.h.

LARGE_INDEX = 1

Definition at line 1976 of file layout.h.

@ LEAF_NODE = 0

Definition at line 1983 of file layout.h.

u32 low_part

Definition at line 1311 of file layout.h.

leVCN lowest_vcn

Definition at line 787 of file layout.h.

le16 mapping_pairs_offset

Definition at line 798 of file layout.h.

le32 maximum_versions

Definition at line 955 of file layout.h.

MFT_RECORD_IN_USE = cpu_to_le16(0x0001)

Definition at line 253 of file layout.h.

MFT_RECORD_IS_DIRECTORY = cpu_to_le16(0x0002)

Definition at line 254 of file layout.h.

NEED_EA = 0x80

Definition at line 2385 of file layout.h.

NO_PROPAGATE_INHERIT_ACE = 0x04

Definition at line 1410 of file layout.h.

NODE_MASK = 1

Definition at line 1987 of file layout.h.

Definition at line 2283 of file layout.h.

OBJECT_INHERIT_ACE = 0x01

Definition at line 1408 of file layout.h.

le32 owner_id

Definition at line 961 of file layout.h.

le16 packed_ea_size

Definition at line 1090 of file layout.h.

le64 quota_charged

Definition at line 968 of file layout.h.

REPARSE_INDEX_KEY reparse

Definition at line 2286 of file layout.h.

le32 reparse_point_tag

Definition at line 1096 of file layout.h.

le16 reserved

Definition at line 745 of file layout.h.

u8 reserved12[12]

Definition at line 891 of file layout.h.

le32 reservedV

Definition at line 2216 of file layout.h.

RESIDENT_ATTR_IS_INDEXED = 0x01

Definition at line 691 of file layout.h.

SDH_INDEX_KEY sdh

Definition at line 2282 of file layout.h.

SE_DACL_AUTO_INHERIT_REQ = cpu_to_le16(0x0100)

Definition at line 1724 of file layout.h.

SE_DACL_AUTO_INHERITED = cpu_to_le16(0x0400)

Definition at line 1726 of file layout.h.

SE_DACL_DEFAULTED = cpu_to_le16(0x0008)

Definition at line 1719 of file layout.h.

SE_DACL_PRESENT = cpu_to_le16(0x0004)

Definition at line 1718 of file layout.h.

SE_DACL_PROTECTED = cpu_to_le16(0x1000)

Definition at line 1729 of file layout.h.

SE_GROUP_DEFAULTED = cpu_to_le16(0x0002)

Definition at line 1717 of file layout.h.

SE_OWNER_DEFAULTED = cpu_to_le16(0x0001)

Definition at line 1716 of file layout.h.

SE_RM_CONTROL_VALID = cpu_to_le16(0x4000)

Definition at line 1731 of file layout.h.

SE_SACL_AUTO_INHERIT_REQ = cpu_to_le16(0x0200)

Definition at line 1725 of file layout.h.

SE_SACL_AUTO_INHERITED = cpu_to_le16(0x0800)

Definition at line 1727 of file layout.h.

SE_SACL_DEFAULTED = cpu_to_le16(0x0020)

Definition at line 1722 of file layout.h.

SE_SACL_PRESENT = cpu_to_le16(0x0010)

Definition at line 1721 of file layout.h.

SE_SACL_PROTECTED = cpu_to_le16(0x2000)

Definition at line 1730 of file layout.h.

SE_SELF_RELATIVE = cpu_to_le16(0x8000)

Definition at line 1732 of file layout.h.

le32 security_id

Definition at line 965 of file layout.h.

SID sid

Definition at line 2288 of file layout.h.

SII_INDEX_KEY sii

Definition at line 2281 of file layout.h.

SMALL_INDEX = 0

Definition at line 1973 of file layout.h.

SUCCESSFUL_ACCESS_ACE_FLAG = 0x40

Definition at line 1416 of file layout.h.

SYSTEM_ALARM_ACE_TYPE = 3

Definition at line 1385 of file layout.h.

SYSTEM_ALARM_OBJECT_ACE_TYPE = 8

Definition at line 1396 of file layout.h.

SYSTEM_AUDIT_ACE_TYPE = 2

Definition at line 1384 of file layout.h.

SYSTEM_AUDIT_OBJECT_ACE_TYPE = 7

Definition at line 1395 of file layout.h.

leUSN usn

Definition at line 971 of file layout.h.

VALID_INHERIT_FLAGS = 0x1f

Definition at line 1413 of file layout.h.

le32 value_length

Definition at line 736 of file layout.h.

le16 value_offset

Definition at line 737 of file layout.h.

le32 version_number

Definition at line 957 of file layout.h.

VOLUME_CHKDSK_UNDERWAY = cpu_to_le16(0x4000)

Definition at line 1926 of file layout.h.

VOLUME_DELETE_USN_UNDERWAY = cpu_to_le16(0x0010)

Definition at line 1923 of file layout.h.

VOLUME_FLAGS_MASK = cpu_to_le16(0xc03f)

Definition at line 1929 of file layout.h.

VOLUME_IS_DIRTY = cpu_to_le16(0x0001)

Definition at line 1918 of file layout.h.

VOLUME_MODIFIED_BY_CHKDSK = cpu_to_le16(0x8000)

Definition at line 1927 of file layout.h.

VOLUME_MOUNTED_ON_NT4 = cpu_to_le16(0x0008)

Definition at line 1921 of file layout.h.

VOLUME_MUST_MOUNT_RO_MASK = cpu_to_le16(0xc027)

Definition at line 1932 of file layout.h.

VOLUME_REPAIR_OBJECT_ID = cpu_to_le16(0x0020)

Definition at line 1924 of file layout.h.

VOLUME_RESIZE_LOG_FILE = cpu_to_le16(0x0002)

Definition at line 1919 of file layout.h.

VOLUME_UPGRADE_ON_MOUNT = cpu_to_le16(0x0004)

Definition at line 1920 of file layout.h.