Searched refs:mft_lcn (Results 1 – 11 of 11) sorted by relevance
/third_party/ntfs-3g/libntfs-3g/ |
D | bootsect.c | 158 if (((s64)sle64_to_cpu(b->mft_lcn) <= 0) in ntfs_boot_sector_is_ntfs() 160 || (b->mft_lcn == b->mftmirr_lcn)) { in ntfs_boot_sector_is_ntfs() 239 vol->mft_lcn = sle64_to_cpu(bs->mft_lcn); in ntfs_boot_sector_parse() 241 ntfs_log_debug("MFT LCN = %lld\n", (long long)vol->mft_lcn); in ntfs_boot_sector_parse() 243 if ((vol->mft_lcn < 0 || vol->mft_lcn > vol->nr_clusters) || in ntfs_boot_sector_parse() 247 (long long)vol->mft_lcn, (long long)vol->mftmirr_lcn, in ntfs_boot_sector_parse()
|
D | volume.c | 273 l = ntfs_mst_pread(vol->dev, vol->mft_lcn << vol->cluster_size_bits, 1, in ntfs_mft_load() 371 if (nrl->lcn != vol->mft_lcn) { in ntfs_mft_load() 504 LCN mft_zone_size, mft_lcn; in ntfs_volume_startup() local 599 vol->mft_zone_start = vol->mft_zone_pos = vol->mft_lcn; in ntfs_volume_startup() 611 mft_lcn = (8192 + 2 * vol->cluster_size - 1) / vol->cluster_size; in ntfs_volume_startup() 612 if (mft_lcn * vol->cluster_size < 16 * 1024) in ntfs_volume_startup() 613 mft_lcn = (16 * 1024 + vol->cluster_size - 1) / in ntfs_volume_startup() 615 if (vol->mft_zone_start <= mft_lcn) in ntfs_volume_startup() 624 vol->mft_zone_end = vol->mft_lcn + mft_zone_size; in ntfs_volume_startup() 631 vol->mft_zone_end = vol->mft_lcn + mft_zone_size; in ntfs_volume_startup()
|
D | lcnalloc.c | 79 ntfs_cluster_set_zone_pos(vol->mft_lcn, vol->mft_zone_end, in ntfs_cluster_update_zone_pos()
|
/third_party/ntfs-3g/ntfsprogs/ |
D | ntfsfix.c | 827 vol->mft_lcn << vol->cluster_size_bits, in short_mft_selfloc_condition() 965 offs = (vol->mft_lcn << vol->cluster_size_bits) in self_mapped_selfloc_condition() 1023 offs = (vol->mft_lcn << vol->cluster_size_bits) in spare_record_selfloc_condition() 1104 offs2 = (vol->mft_lcn << vol->cluster_size_bits) in fix_selfloc_conditions() 1107 offs1 = (vol->mft_lcn << vol->cluster_size_bits) in fix_selfloc_conditions() 1113 offs = vol->mft_lcn << vol->cluster_size_bits; in fix_selfloc_conditions()
|
D | ntfsresize.c | 2799 bs->mft_lcn = cpu_to_sle64(r->new_mft_start->lcn); in update_bootsector() 3102 LCN mft_lcn; member 3169 pos = (vol->mft_lcn << vol->cluster_size_bits) in get_unnamed_attr() 3204 pos = (vol->mft_lcn << vol->cluster_size_bits) in read_and_get_attr() 3523 expand->mft_lcn = (expand->boot_size in can_expand() 3727 pos = (expand->mft_lcn << vol->cluster_size_bits) in copy_mftmirr() 3785 bs->mft_lcn = cpu_to_sle64(expand->mft_lcn); in copy_boot() 4252 pos = (expand->mft_lcn << vol->cluster_size_bits) in rebase_inode() 4294 pos = (vol->mft_lcn + expand->cluster_increment) in rebase_all_inodes() 4299 pos = expand->mft_lcn << vol->cluster_size_bits; in rebase_all_inodes()
|
D | ntfsck.c | 731 mft_offset = rawvol->mft_lcn * rawvol->cluster_size; in verify_mft_preliminary()
|
D | ntfsinfo.c | 506 (long long)vol->mft_lcn); in ntfs_dump_volume()
|
D | ntfsrecover.c | 3228 mftlcn = ctx->vol->mft_lcn; in getvolumedata()
|
D | mkntfs.c | 4664 bs->mft_lcn = cpu_to_sle64(g_mft_lcn); in mkntfs_create_root_structures()
|
/third_party/ntfs-3g/include/ntfs-3g/ |
D | volume.h | 225 LCN mft_lcn; /* Logical cluster number of the data attribute member
|
D | layout.h | 83 sle64 mft_lcn; /* Cluster location of mft data. */ member
|