23 #ifndef _LINUX_NTFS_USNJRNL_H
24 #define _LINUX_NTFS_USNJRNL_H
93 #define UsnJrnlMajorVer 2
94 #define UsnJrnlMinorVer 0
104 sle64 allocation_delta;
107 leUSN lowest_valid_usn;
119 USN_REASON_DATA_OVERWRITE =
cpu_to_le32(0x00000001),
121 USN_REASON_DATA_TRUNCATION =
cpu_to_le32(0x00000004),
122 USN_REASON_NAMED_DATA_OVERWRITE =
cpu_to_le32(0x00000010),
123 USN_REASON_NAMED_DATA_EXTEND =
cpu_to_le32(0x00000020),
124 USN_REASON_NAMED_DATA_TRUNCATION=
cpu_to_le32(0x00000040),
128 USN_REASON_SECURITY_CHANGE =
cpu_to_le32(0x00000800),
129 USN_REASON_RENAME_OLD_NAME =
cpu_to_le32(0x00001000),
130 USN_REASON_RENAME_NEW_NAME =
cpu_to_le32(0x00002000),
131 USN_REASON_INDEXABLE_CHANGE =
cpu_to_le32(0x00004000),
132 USN_REASON_BASIC_INFO_CHANGE =
cpu_to_le32(0x00008000),
133 USN_REASON_HARD_LINK_CHANGE =
cpu_to_le32(0x00010000),
134 USN_REASON_COMPRESSION_CHANGE =
cpu_to_le32(0x00020000),
135 USN_REASON_ENCRYPTION_CHANGE =
cpu_to_le32(0x00040000),
136 USN_REASON_OBJECT_ID_CHANGE =
cpu_to_le32(0x00080000),
137 USN_REASON_REPARSE_POINT_CHANGE =
cpu_to_le32(0x00100000),
138 USN_REASON_STREAM_CHANGE =
cpu_to_le32(0x00200000),
142 typedef le32 USN_REASON_FLAGS;
151 USN_SOURCE_DATA_MANAGEMENT =
cpu_to_le32(0x00000001),
152 USN_SOURCE_AUXILIARY_DATA =
cpu_to_le32(0x00000002),
153 USN_SOURCE_REPLICATION_MANAGEMENT =
cpu_to_le32(0x00000004),
156 typedef le32 USN_SOURCE_INFO_FLAGS;
186 USN_SOURCE_INFO_FLAGS source_info;
193 le16 file_name_offset;