Home
last modified time | relevance | path

Searched refs:mft_record_size (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.10/fs/ntfs/
Dsuper.c794 vol->mft_record_size = vol->cluster_size << in parse_ntfs_boot_sector()
802 vol->mft_record_size = 1 << -clusters_per_mft_record; in parse_ntfs_boot_sector()
803 vol->mft_record_size_mask = vol->mft_record_size - 1; in parse_ntfs_boot_sector()
804 vol->mft_record_size_bits = ffs(vol->mft_record_size) - 1; in parse_ntfs_boot_sector()
805 ntfs_debug("vol->mft_record_size = %i (0x%x)", vol->mft_record_size, in parse_ntfs_boot_sector()
806 vol->mft_record_size); in parse_ntfs_boot_sector()
815 if (vol->mft_record_size > PAGE_SIZE) { in parse_ntfs_boot_sector()
819 vol->mft_record_size, PAGE_SIZE); in parse_ntfs_boot_sector()
823 if (vol->mft_record_size < vol->sector_size) { in parse_ntfs_boot_sector()
826 "Sorry.", vol->mft_record_size, in parse_ntfs_boot_sector()
[all …]
Dmft.c63 vol->mft_record_size) { in map_mft_record_page()
459 int max_bhs = vol->mft_record_size / blocksize; in ntfs_sync_mft_mirror()
495 memcpy(kmirr, m, vol->mft_record_size); in ntfs_sync_mft_mirror()
515 m_end = m_start + vol->mft_record_size; in ntfs_sync_mft_mirror()
666 int max_bhs = vol->mft_record_size / blocksize; in write_mft_record_nolock()
695 m_end = m_start + vol->mft_record_size; in write_mft_record_nolock()
767 err = pre_write_mst_fixup((NTFS_RECORD*)m, vol->mft_record_size); in write_mft_record_nolock()
1750 min_nr = vol->mft_record_size >> vol->cluster_size_bits; in ntfs_mft_data_extend_allocation_nolock()
1754 nr = vol->mft_record_size << 4 >> vol->cluster_size_bits; in ntfs_mft_data_extend_allocation_nolock()
2019 memset(m, 0, vol->mft_record_size); in ntfs_mft_record_layout()
[all …]
Dinode.c737 (u8*)ctx->mrec + vol->mft_record_size) { in ntfs_read_locked_inode()
809 if (ir_end > (u8*)ctx->mrec + vol->mft_record_size) { in ntfs_read_locked_inode()
1531 if (ir_end > (u8*)ctx->mrec + vol->mft_record_size) { in ntfs_read_locked_index_inode()
1773 ni->itype.index.block_size = vol->mft_record_size; in ntfs_read_inode_mount()
1780 if (vol->mft_record_size > 64 * 1024) { in ntfs_read_inode_mount()
1782 vol->mft_record_size); in ntfs_read_inode_mount()
1785 i = vol->mft_record_size; in ntfs_read_inode_mount()
1797 nr_blocks = vol->mft_record_size >> sb->s_blocksize_bits; in ntfs_read_inode_mount()
1813 if (le32_to_cpu(m->bytes_allocated) != vol->mft_record_size) { in ntfs_read_inode_mount()
1815 le32_to_cpu(m->bytes_allocated), vol->mft_record_size); in ntfs_read_inode_mount()
[all …]
Dvolume.h49 u32 mft_record_size; /* in bytes */ member
Ddir.c1110 if (actor->pos >= i_size + vol->mft_record_size) in ntfs_readdir()
1127 if (actor->pos >= vol->mft_record_size) in ntfs_readdir()
1213 actor->pos = vol->mft_record_size; in ntfs_readdir()
1218 ia_pos = (s64)actor->pos - vol->mft_record_size; in ntfs_readdir()
1383 vol->mft_record_size; in ntfs_readdir()
1409 actor->pos = i_size + vol->mft_record_size; in ntfs_readdir()
Dattrib.c2036 if (new_alloc_size < vol->mft_record_size && in ntfs_attr_extend_allocation()