|
#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 |
|
|
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 | |
|