Home
last modified time | relevance | path

Searched refs:mftmirr_size (Results 1 – 7 of 7) sorted by relevance

/third_party/ntfs-3g/libntfs-3g/
Dvolume.c961 m = ntfs_malloc(vol->mftmirr_size << vol->mft_record_size_bits); in ntfs_device_mount()
962 m2 = ntfs_malloc(vol->mftmirr_size << vol->mft_record_size_bits); in ntfs_device_mount()
966 l = ntfs_attr_mst_pread(vol->mft_na, 0, vol->mftmirr_size, in ntfs_device_mount()
968 if (l != vol->mftmirr_size) { in ntfs_device_mount()
974 vol->mftmirr_size); in ntfs_device_mount()
983 l = ntfs_attr_mst_pread(vol->mftmirr_na, 0, vol->mftmirr_size, in ntfs_device_mount()
985 if (l != vol->mftmirr_size) { in ntfs_device_mount()
990 vol->mftmirr_size = l; in ntfs_device_mount()
998 for (i = 0; (i < vol->mftmirr_size) && (i < FILE_first_user); ++i) { in ntfs_device_mount()
Dbootsect.c305 vol->mftmirr_size = 4; in ntfs_boot_sector_parse()
307 vol->mftmirr_size = vol->cluster_size / vol->mft_record_size; in ntfs_boot_sector_parse()
Dmft.c152 if (!vol || !vol->mft_na || vol->mftmirr_size <= 0 || !b || count < 0) { in ntfs_mft_records_write()
167 if (m < vol->mftmirr_size) { in ntfs_mft_records_write()
172 cnt = vol->mftmirr_size - m; in ntfs_mft_records_write()
/third_party/ntfs-3g/ntfsprogs/
Dntfsfix.c459 m = (u8*)malloc(vol->mftmirr_size << vol->mft_record_size_bits); in fix_mftmirr()
464 m2 = (u8*)malloc(vol->mftmirr_size << vol->mft_record_size_bits); in fix_mftmirr()
472 l = ntfs_attr_mst_pread(vol->mft_na, 0, vol->mftmirr_size, in fix_mftmirr()
474 if (l != vol->mftmirr_size) { in fix_mftmirr()
484 l = ntfs_attr_mst_pread(vol->mftmirr_na, 0, vol->mftmirr_size, in fix_mftmirr()
486 if (l != vol->mftmirr_size) { in fix_mftmirr()
514 for (i = 0; i < vol->mftmirr_size; ++i) { in fix_mftmirr()
Dntfsinfo.c507 printf("\tFILE_MFTMirr Size: %d\n", vol->mftmirr_size); in ntfs_dump_volume()
Dplaylog.c666 <= (((u64)vol->mftmirr_size) << mftrecbits); in write_protected()
/third_party/ntfs-3g/include/ntfs-3g/
Dvolume.h243 int mftmirr_size; /* Size of the FILE_MFTMirr in mft records. */ member