Home
last modified time | relevance | path

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

/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A 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()
H A 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()
H A Dvolume.h243 int mftmirr_size; /* Size of the FILE_MFTMirr in mft records. */ member
H A 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()