Searched refs:mft_record_size (Results 1 – 6 of 6) sorted by relevance
/linux-4.19.296/fs/ntfs/ |
D | super.c | 808 vol->mft_record_size = vol->cluster_size << in parse_ntfs_boot_sector() 816 vol->mft_record_size = 1 << -clusters_per_mft_record; in parse_ntfs_boot_sector() 817 vol->mft_record_size_mask = vol->mft_record_size - 1; in parse_ntfs_boot_sector() 818 vol->mft_record_size_bits = ffs(vol->mft_record_size) - 1; in parse_ntfs_boot_sector() 819 ntfs_debug("vol->mft_record_size = %i (0x%x)", vol->mft_record_size, in parse_ntfs_boot_sector() 820 vol->mft_record_size); in parse_ntfs_boot_sector() 829 if (vol->mft_record_size > PAGE_SIZE) { in parse_ntfs_boot_sector() 833 vol->mft_record_size, PAGE_SIZE); in parse_ntfs_boot_sector() 837 if (vol->mft_record_size < vol->sector_size) { in parse_ntfs_boot_sector() 840 "Sorry.", vol->mft_record_size, in parse_ntfs_boot_sector() [all …]
|
D | mft.c | 77 vol->mft_record_size) { in map_mft_record_page() 473 int max_bhs = vol->mft_record_size / blocksize; in ntfs_sync_mft_mirror() 509 memcpy(kmirr, m, vol->mft_record_size); in ntfs_sync_mft_mirror() 529 m_end = m_start + vol->mft_record_size; in ntfs_sync_mft_mirror() 680 int max_bhs = vol->mft_record_size / blocksize; in write_mft_record_nolock() 709 m_end = m_start + vol->mft_record_size; in write_mft_record_nolock() 781 err = pre_write_mst_fixup((NTFS_RECORD*)m, vol->mft_record_size); in write_mft_record_nolock() 1764 min_nr = vol->mft_record_size >> vol->cluster_size_bits; in ntfs_mft_data_extend_allocation_nolock() 1768 nr = vol->mft_record_size << 4 >> vol->cluster_size_bits; in ntfs_mft_data_extend_allocation_nolock() 2033 memset(m, 0, vol->mft_record_size); in ntfs_mft_record_layout() [all …]
|
D | inode.c | 659 (u8 *)ctx->mrec + vol->mft_record_size) { in ntfs_read_locked_inode() 768 (u8*)ctx->mrec + vol->mft_record_size) { in ntfs_read_locked_inode() 840 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() 1804 ni->itype.index.block_size = vol->mft_record_size; in ntfs_read_inode_mount() 1811 if (vol->mft_record_size > 64 * 1024) { in ntfs_read_inode_mount() 1813 vol->mft_record_size); in ntfs_read_inode_mount() 1816 i = vol->mft_record_size; in ntfs_read_inode_mount() 1828 nr_blocks = vol->mft_record_size >> sb->s_blocksize_bits; in ntfs_read_inode_mount() 1844 if (le32_to_cpu(m->bytes_allocated) != vol->mft_record_size) { in ntfs_read_inode_mount() [all …]
|
D | volume.h | 63 u32 mft_record_size; /* in bytes */ member
|
D | dir.c | 1123 if (actor->pos >= i_size + vol->mft_record_size) in ntfs_readdir() 1140 if (actor->pos >= vol->mft_record_size) in ntfs_readdir() 1226 actor->pos = vol->mft_record_size; in ntfs_readdir() 1231 ia_pos = (s64)actor->pos - vol->mft_record_size; in ntfs_readdir() 1396 vol->mft_record_size; in ntfs_readdir() 1422 actor->pos = i_size + vol->mft_record_size; in ntfs_readdir()
|
D | attrib.c | 2074 if (new_alloc_size < vol->mft_record_size && in ntfs_attr_extend_allocation()
|