/third_party/ntfs-3g/include/ntfs-3g/ |
D | mft.h | 33 const s64 count, MFT_RECORD *b); 51 const MFT_REF mref, MFT_RECORD *b) in ntfs_mft_record_read() 62 MFT_RECORD *m); 65 MFT_RECORD **mrec, ATTR_RECORD **attr); 68 const s64 count, MFT_RECORD *b); 86 const MFT_REF mref, MFT_RECORD *b) in ntfs_mft_record_write() 112 static __inline__ u32 ntfs_mft_record_get_data_size(const MFT_RECORD *m) in ntfs_mft_record_get_data_size() 121 MFT_RECORD *mrec); 131 extern int ntfs_mft_usn_dec(MFT_RECORD *mrec);
|
D | attrib.h | 87 MFT_RECORD *mrec; 93 MFT_RECORD *base_mrec; 99 MFT_RECORD *mrec); 326 extern int ntfs_make_room_for_attr(MFT_RECORD *m, u8 *pos, u32 size); 343 extern int ntfs_attr_record_resize(MFT_RECORD *m, ATTR_RECORD *a, u32 new_size); 345 extern int ntfs_resident_attr_value_resize(MFT_RECORD *m, ATTR_RECORD *a,
|
D | inode.h | 108 MFT_RECORD *mrec; /* The actual mft record of the inode. */
|
D | layout.h | 413 } __attribute__((__packed__)) MFT_RECORD; typedef
|
/third_party/ntfs-3g/ntfsprogs/ |
D | mkntfs.c | 1000 static int make_room_for_attribute(MFT_RECORD *m, char *pos, const u32 size) in make_room_for_attribute() 1429 static int insert_positioned_attr_in_mft_record(MFT_RECORD *m, in insert_positioned_attr_in_mft_record() 1619 static int insert_non_resident_attr_in_mft_record(MFT_RECORD *m, in insert_non_resident_attr_in_mft_record() 1809 static int insert_resident_attr_in_mft_record(MFT_RECORD *m, in insert_resident_attr_in_mft_record() 1917 static int add_attr_std_info(MFT_RECORD *m, const FILE_ATTR_FLAGS flags, in add_attr_std_info() 1954 static BOOL non_resident_unnamed_data(MFT_RECORD *m) in non_resident_unnamed_data() 1979 static ntfs_time stdinfo_time(MFT_RECORD *m) in stdinfo_time() 2006 static int add_attr_file_name(MFT_RECORD *m, const leMFT_REF parent_dir, in add_attr_file_name() 2095 static int add_attr_object_id(MFT_RECORD *m, const GUID *object_id) in add_attr_object_id() 2119 static int add_attr_sd(MFT_RECORD *m, const u8 *sd, const s64 sd_len) in add_attr_sd() [all …]
|
D | ntfsfix.c | 111 MFT_RECORD *mft0; 112 MFT_RECORD *mft1; 113 MFT_RECORD *mft2; 224 MFT_RECORD *m = NULL; in OLD_ntfs_volume_set_flags() 515 MFT_RECORD *mrec, *mrec2; in fix_mftmirr() 530 mrec = (MFT_RECORD*)(m + i * vol->mft_record_size); in fix_mftmirr() 548 mrec2 = (MFT_RECORD*)(m2 + i * vol->mft_record_size); in fix_mftmirr() 779 static ATTR_RECORD *find_unnamed_attr(MFT_RECORD *mrec, ATTR_TYPES type) in find_unnamed_attr() 818 MFT_RECORD *mft0; in short_mft_selfloc_condition() 956 MFT_RECORD *mft1; in self_mapped_selfloc_condition() [all …]
|
D | playlog.c | 306 const MFT_RECORD *record; in sanity_mft() 317 record = (const MFT_RECORD*)buffer; in sanity_mft() 632 MFT_RECORD *record; in write_protected() 644 record = (MFT_RECORD*)buffer; in write_protected() 729 static int resize_attribute(MFT_RECORD *entry, ATTR_RECORD *attr, INDEX_ROOT *index, in resize_attribute() 770 static void adjust_instance(const ATTR_RECORD *attr, MFT_RECORD *entry, int increment) in adjust_instance() 1019 MFT_RECORD *entry; in add_resident() 1031 entry = (MFT_RECORD*)buffer; in add_resident() 1100 MFT_RECORD *entry; in expand_resident() 1113 entry = (MFT_RECORD*)buffer; in expand_resident() [all …]
|
D | ntfsck.c | 272 attrs_offset = le16_to_cpu(((MFT_RECORD*)buf)->attrs_offset); in load_runlist() 420 static ATTR_REC *check_attr_record(ATTR_REC *attr_rec, MFT_RECORD *mft_rec, in check_attr_record() 583 MFT_RECORD *mft_rec = (MFT_RECORD *)buffer; in check_file_record()
|
D | ntfsundelete.h | 108 MFT_RECORD *mft; /* Raw MFT record */
|
D | utils.c | 489 ATTR_RECORD * find_first_attribute(const ATTR_TYPES type, MFT_RECORD *mft) in find_first_attribute() 861 MFT_RECORD *file; in utils_is_metadata() 1037 MFT_RECORD *mrec; in mft_next_record() 1041 mrec = (MFT_RECORD*)NULL; in mft_next_record()
|
D | ntfsclone.c | 1181 if (ntfs_mft_usn_dec((MFT_RECORD *)tmp_indexa)) 1330 MFT_RECORD *m = ni->mrec; 1344 MFT_RECORD *m = ni->mrec; 1350 unused = le32_to_cpu(m->bytes_in_use) - sizeof(MFT_RECORD); 1351 wiped_unused_mft += wipe_data((char *)m, sizeof(MFT_RECORD), unused); 1399 ni.mrec = (MFT_RECORD*)mrec; 1404 if (!(((MFT_RECORD*)mrec)->flags & MFT_RECORD_IN_USE)) { 1408 if (!(ctx = ntfs_attr_get_search_ctx((ntfs_inode*)NULL, (MFT_RECORD*)mrec))) 1425 ntfs_mft_usn_dec((MFT_RECORD*)mrec); 1458 if (ntfs_mft_usn_dec((MFT_RECORD *)mrec))
|
D | utils.h | 55 ATTR_RECORD * find_first_attribute(const ATTR_TYPES type, MFT_RECORD *mft);
|
D | ntfsresize.c | 210 MFT_RECORD *mrec; /* mft record */ 896 static ntfs_attr_search_ctx *attr_get_search_ctx(ntfs_inode *ni, MFT_RECORD *mrec) in attr_get_search_ctx() 1871 static int write_mft_record(ntfs_volume *v, const MFT_REF mref, MFT_RECORD *buf) in write_mft_record() 3109 MFT_RECORD *mrec; 3120 static ATTR_RECORD *find_attr(MFT_RECORD *mrec, ATTR_TYPES type, in find_attr() 3160 MFT_RECORD *mrec; in get_unnamed_attr() 3197 MFT_RECORD *mrec; in read_and_get_attr() 3907 MFT_RECORD *mrec; in update_runlist() 4002 static int minimal_record(expand_t *expand, MFT_RECORD *mrec) in minimal_record() 4009 mrec->usa_ofs = const_cpu_to_le16(sizeof(MFT_RECORD)); in minimal_record() [all …]
|
D | ntfswipe.c | 125 MFT_RECORD *mft; /* Raw MFT record */ 907 ctx = ntfs_attr_get_search_ctx(ni, (MFT_RECORD*)NULL); in wipe_tails() 964 MFT_RECORD *rec = NULL; in wipe_mft() 969 rec = (MFT_RECORD*)malloc(vol->mft_record_size); in wipe_mft() 1736 file->mft = (MFT_RECORD*)malloc(nv->mft_record_size); in destroy_record()
|
D | ntfstruncate.c | 530 static void dump_attr_record(MFT_RECORD *m, ATTR_RECORD *a) in dump_attr_record() 629 static void dump_mft_record(MFT_RECORD *m) in dump_mft_record()
|
D | ntfsmftalloc.c | 218 static void dump_mft_record(MFT_RECORD *m) in dump_mft_record()
|
D | ntfsundelete.c | 953 static FILE_NAME_ATTR* verify_parent(struct filename* name, MFT_RECORD* rec) in verify_parent() 1013 MFT_RECORD* rec; in get_parent_name() 1074 static struct filename *rescue_name(MFT_RECORD *mft, ntfs_attr_search_ctx *ctx) in rescue_name()
|
D | ntfsinfo.c | 1874 static void ntfs_dump_usa_lsn(const char *indent, MFT_RECORD *mrec) in ntfs_dump_usa_lsn() 1903 ntfs_dump_usa_lsn("\t\t", (MFT_RECORD*)ib); in ntfs_dump_index_block() 2275 MFT_RECORD *mrec = inode->mrec; in ntfs_dump_inode_general_info()
|
D | ntfsmove.c | 316 static int resize_nonres_attr(MFT_RECORD *m, ATTR_RECORD *a, const u32 new_size) in resize_nonres_attr()
|
/third_party/ntfs-3g/libntfs-3g/ |
D | mft.c | 83 const s64 count, MFT_RECORD *b) in ntfs_mft_records_read() 145 const s64 count, MFT_RECORD *b) in ntfs_mft_records_write() 235 MFT_RECORD *m) in ntfs_mft_record_check() 349 MFT_RECORD **mrec, ATTR_RECORD **attr) in ntfs_file_record_read() 351 MFT_RECORD *m; in ntfs_file_record_read() 402 MFT_RECORD *mrec) in ntfs_mft_record_layout() 421 mrec->usa_ofs = cpu_to_le16((sizeof(MFT_RECORD) + 1) & ~1); in ntfs_mft_record_layout() 480 MFT_RECORD *m; in ntfs_mft_record_format() 722 MFT_RECORD *m = NULL; /* silence compiler warning */ in ntfs_mft_bitmap_extend_allocation_i() 1044 MFT_RECORD *m = NULL; /* silence compiler warning */ in ntfs_mft_data_extend_allocation() [all …]
|
D | volume.c | 258 MFT_RECORD *mb = NULL; in ntfs_mft_load() 981 (MFT_RECORD*)(m + i*vol->mft_record_size))) in ntfs_device_mount() 994 (MFT_RECORD*)(m2 + i*vol->mft_record_size))) in ntfs_device_mount() 999 MFT_RECORD *mrec, *mrec2; in ntfs_device_mount() 1012 mrec = (MFT_RECORD*)(m + i * vol->mft_record_size); in ntfs_device_mount() 1026 mrec2 = (MFT_RECORD*)(m2 + i * vol->mft_record_size); in ntfs_device_mount() 1041 if ((record_size <= sizeof(MFT_RECORD)) in ntfs_device_mount()
|
D | attrib.c | 3747 ntfs_inode *ni, MFT_RECORD *mrec) 3804 ntfs_attr_search_ctx *ntfs_attr_get_search_ctx(ntfs_inode *ni, MFT_RECORD *mrec) 4040 int ntfs_make_room_for_attr(MFT_RECORD *m, u8 *pos, u32 size) 4104 MFT_RECORD *m; 4236 MFT_RECORD *m; 4806 int ntfs_attr_record_resize(MFT_RECORD *m, ATTR_RECORD *a, u32 new_size) 4877 int ntfs_resident_attr_value_resize(MFT_RECORD *m, ATTR_RECORD *a, 5016 MFT_RECORD *m; 5772 static int ntfs_attr_update_meta(ATTR_RECORD *a, ntfs_attr *na, MFT_RECORD *m, 5905 MFT_RECORD *m;
|