Home
last modified time | relevance | path

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

/fs/ntfs/
Dsuper.c781 vol->mft_record_size = vol->cluster_size << in parse_ntfs_boot_sector()
789 vol->mft_record_size = 1 << -clusters_per_mft_record; in parse_ntfs_boot_sector()
790 vol->mft_record_size_mask = vol->mft_record_size - 1; in parse_ntfs_boot_sector()
791 vol->mft_record_size_bits = ffs(vol->mft_record_size) - 1; in parse_ntfs_boot_sector()
792 ntfs_debug("vol->mft_record_size = %i (0x%x)", vol->mft_record_size, in parse_ntfs_boot_sector()
793 vol->mft_record_size); in parse_ntfs_boot_sector()
802 if (vol->mft_record_size > PAGE_CACHE_SIZE) { in parse_ntfs_boot_sector()
806 vol->mft_record_size, PAGE_CACHE_SIZE); in parse_ntfs_boot_sector()
810 if (vol->mft_record_size < vol->sector_size) { in parse_ntfs_boot_sector()
813 "Sorry.", vol->mft_record_size, in parse_ntfs_boot_sector()
[all …]
Dmft.c74 vol->mft_record_size) { in map_mft_record_page()
470 int max_bhs = vol->mft_record_size / blocksize; in ntfs_sync_mft_mirror()
504 memcpy(kmirr, m, vol->mft_record_size); in ntfs_sync_mft_mirror()
524 m_end = m_start + vol->mft_record_size; in ntfs_sync_mft_mirror()
675 int max_bhs = vol->mft_record_size / blocksize; in write_mft_record_nolock()
700 m_end = m_start + vol->mft_record_size; in write_mft_record_nolock()
772 err = pre_write_mst_fixup((NTFS_RECORD*)m, vol->mft_record_size); in write_mft_record_nolock()
1755 min_nr = vol->mft_record_size >> vol->cluster_size_bits; in ntfs_mft_data_extend_allocation_nolock()
1759 nr = vol->mft_record_size << 4 >> vol->cluster_size_bits; in ntfs_mft_data_extend_allocation_nolock()
2024 memset(m, 0, vol->mft_record_size); in ntfs_mft_record_layout()
[all …]
Ddir.c1125 if (fpos >= i_size + vol->mft_record_size) in ntfs_readdir()
1158 if (fpos >= vol->mft_record_size) in ntfs_readdir()
1245 fpos = vol->mft_record_size; in ntfs_readdir()
1250 ia_pos = (s64)fpos - vol->mft_record_size; in ntfs_readdir()
1415 vol->mft_record_size; in ntfs_readdir()
1442 fpos = i_size + vol->mft_record_size; in ntfs_readdir()
Dinode.c769 (u8*)ctx->mrec + vol->mft_record_size) { in ntfs_read_locked_inode()
841 if (ir_end > (u8*)ctx->mrec + vol->mft_record_size) { in ntfs_read_locked_inode()
1562 if (ir_end > (u8*)ctx->mrec + vol->mft_record_size) { in ntfs_read_locked_index_inode()
1806 ni->itype.index.block_size = vol->mft_record_size; in ntfs_read_inode_mount()
1813 if (vol->mft_record_size > 64 * 1024) { in ntfs_read_inode_mount()
1815 vol->mft_record_size); in ntfs_read_inode_mount()
1818 i = vol->mft_record_size; in ntfs_read_inode_mount()
1830 nr_blocks = vol->mft_record_size >> sb->s_blocksize_bits; in ntfs_read_inode_mount()
1847 if (post_read_mst_fixup((NTFS_RECORD*)m, vol->mft_record_size)) { in ntfs_read_inode_mount()
1945 (u8*)ctx->mrec + vol->mft_record_size) { in ntfs_read_inode_mount()
[all …]
Dvolume.h62 u32 mft_record_size; /* in bytes */ member
Dattrib.c2051 if (new_alloc_size < vol->mft_record_size && in ntfs_attr_extend_allocation()