ntfs.h (e8b8e97f91b80f08a2f1b7ea4f81e7af61b2cc2f) | ntfs.h (d3624466b56dd5b1886c1dff500525b544c19c83) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0 */ 2/* 3 * 4 * Copyright (C) 2019-2021 Paragon Software GmbH, All rights reserved. 5 * 6 * on-disk ntfs structs 7 */ 8 --- 248 unchanged lines hidden (view full) --- 257/* Possible bits in struct MFT_REC.flags. */ 258enum RECORD_FLAG { 259 RECORD_FLAG_IN_USE = cpu_to_le16(0x0001), 260 RECORD_FLAG_DIR = cpu_to_le16(0x0002), 261 RECORD_FLAG_SYSTEM = cpu_to_le16(0x0004), 262 RECORD_FLAG_UNKNOWN = cpu_to_le16(0x0008), 263}; 264 | 1/* SPDX-License-Identifier: GPL-2.0 */ 2/* 3 * 4 * Copyright (C) 2019-2021 Paragon Software GmbH, All rights reserved. 5 * 6 * on-disk ntfs structs 7 */ 8 --- 248 unchanged lines hidden (view full) --- 257/* Possible bits in struct MFT_REC.flags. */ 258enum RECORD_FLAG { 259 RECORD_FLAG_IN_USE = cpu_to_le16(0x0001), 260 RECORD_FLAG_DIR = cpu_to_le16(0x0002), 261 RECORD_FLAG_SYSTEM = cpu_to_le16(0x0004), 262 RECORD_FLAG_UNKNOWN = cpu_to_le16(0x0008), 263}; 264 |
265/* MFT Record structure, */ | 265/* MFT Record structure. */ |
266struct MFT_REC { 267 struct NTFS_RECORD_HEADER rhdr; // 'FILE' 268 269 __le16 seq; // 0x10: Sequence number for this record. 270 __le16 hard_links; // 0x12: The number of hard links to record. 271 __le16 attr_off; // 0x14: Offset to attributes. 272 __le16 flags; // 0x16: See RECORD_FLAG. 273 __le32 used; // 0x18: The size of used part. --- 943 unchanged lines hidden --- | 266struct MFT_REC { 267 struct NTFS_RECORD_HEADER rhdr; // 'FILE' 268 269 __le16 seq; // 0x10: Sequence number for this record. 270 __le16 hard_links; // 0x12: The number of hard links to record. 271 __le16 attr_off; // 0x14: Offset to attributes. 272 __le16 flags; // 0x16: See RECORD_FLAG. 273 __le32 used; // 0x18: The size of used part. --- 943 unchanged lines hidden --- |