Home
last modified time | relevance | path

Searched refs:cluster_size (Results 1 – 15 of 15) sorted by relevance

/linux-4.19.296/fs/ntfs/
Dsuper.c791 vol->cluster_size = vol->sector_size << sectors_per_cluster_bits; in parse_ntfs_boot_sector()
792 vol->cluster_size_mask = vol->cluster_size - 1; in parse_ntfs_boot_sector()
793 vol->cluster_size_bits = ffs(vol->cluster_size) - 1; in parse_ntfs_boot_sector()
794 ntfs_debug("vol->cluster_size = %i (0x%x)", vol->cluster_size, in parse_ntfs_boot_sector()
795 vol->cluster_size); in parse_ntfs_boot_sector()
798 if (vol->cluster_size < vol->sector_size) { in parse_ntfs_boot_sector()
801 "Sorry.", vol->cluster_size, vol->sector_size); in parse_ntfs_boot_sector()
808 vol->mft_record_size = vol->cluster_size << in parse_ntfs_boot_sector()
848 vol->index_record_size = vol->cluster_size << in parse_ntfs_boot_sector()
929 if (vol->cluster_size <= (4 << vol->mft_record_size_bits)) in parse_ntfs_boot_sector()
[all …]
Dvolume.h60 u32 cluster_size; /* in bytes */ member
Dfile.c648 cend = (end + vol->cluster_size - 1) >> vol->cluster_size_bits; in ntfs_prepare_pages_for_non_resident_write()
944 if (unlikely(vol->cluster_size < PAGE_SIZE)) { in ntfs_prepare_pages_for_non_resident_write()
945 bh_cend = (bh_end + vol->cluster_size - 1) >> in ntfs_prepare_pages_for_non_resident_write()
1157 ni->itype.compressed.size += vol->cluster_size; in ntfs_prepare_pages_for_non_resident_write()
1250 ni->itype.compressed.size += vol->cluster_size; in ntfs_prepare_pages_for_non_resident_write()
1789 if (vol->cluster_size > PAGE_SIZE && NInoNonResident(ni)) in ntfs_perform_write()
1790 nr_pages = vol->cluster_size >> PAGE_SHIFT; in ntfs_perform_write()
1835 bytes = vol->cluster_size - (pos & in ntfs_perform_write()
Dinode.c891 if (vol->cluster_size <= ni->itype.index.block_size) { in ntfs_read_locked_inode()
892 ni->itype.index.vcn_size = vol->cluster_size; in ntfs_read_locked_inode()
1060 if (vol->cluster_size > 4096) { in ntfs_read_locked_inode()
1067 vol->cluster_size); in ntfs_read_locked_inode()
1282 if (vol->cluster_size > 4096) { in ntfs_read_locked_attr_inode()
1287 vol->cluster_size); in ntfs_read_locked_attr_inode()
1601 if (vol->cluster_size <= ni->itype.index.block_size) { in ntfs_read_locked_index_inode()
1602 ni->itype.index.vcn_size = vol->cluster_size; in ntfs_read_locked_index_inode()
2447 new_alloc_size = (new_size + vol->cluster_size - 1) & in ntfs_truncate()
Dmft.c1494 mftbmp_ni->allocated_size += vol->cluster_size; in ntfs_mft_bitmap_extend_allocation_nolock()
1514 mftbmp_ni->allocated_size += vol->cluster_size; in ntfs_mft_bitmap_extend_allocation_nolock()
2676 if (vol->cluster_size <= ni->itype.index.block_size) { in ntfs_mft_record_alloc()
2677 ni->itype.index.vcn_size = vol->cluster_size; in ntfs_mft_record_alloc()
Dattrib.c1597 new_size = (data_size + vol->cluster_size - 1) & in ntfs_attr_make_non_resident()
1598 ~(vol->cluster_size - 1); in ntfs_attr_make_non_resident()
1967 new_alloc_size = (new_alloc_size + vol->cluster_size - 1) & in ntfs_attr_extend_allocation()
Dcompress.c650 max_block = block + (vol->cluster_size >> block_size_bits); in ntfs_read_compressed_block()
Drunlist.c918 vol->cluster_size - 1) >> in ntfs_mapping_pairs_decompress()
/linux-4.19.296/fs/fat/
Dfile.c295 nr_cluster = (mm_bytes + (sbi->cluster_size - 1)) >> in fat_fallocate()
390 const unsigned int cluster_size = sbi->cluster_size; in fat_truncate_blocks() local
400 nr_clusters = (offset + (cluster_size - 1)) >> sbi->cluster_bits; in fat_truncate_blocks()
411 stat->blksize = MSDOS_SB(inode->i_sb)->cluster_size; in fat_getattr()
Dinode.c558 inode->i_blocks = ((inode->i_size + (sbi->cluster_size - 1)) in fat_fill_inode()
559 & ~((loff_t)sbi->cluster_size - 1)) >> 9; in fat_fill_inode()
623 MSDOS_SB(inode->i_sb)->cluster_size)) { in fat_free_eofblocks()
835 buf->f_bsize = sbi->cluster_size; in fat_statfs()
1405 inode->i_blocks = ((inode->i_size + (sbi->cluster_size - 1)) in fat_read_root()
1406 & ~((loff_t)sbi->cluster_size - 1)) >> 9; in fat_read_root()
1693 sbi->cluster_size = sb->s_blocksize * sbi->sec_per_clus; in fat_fill_super()
1694 sbi->cluster_bits = ffs(sbi->cluster_size) - 1; in fat_fill_super()
Ddir.c1218 *nr_cluster = (size + (sbi->cluster_size - 1)) >> sbi->cluster_bits; in fat_add_new_entries()
1390 if (dir->i_size & (sbi->cluster_size - 1)) { in fat_add_entries()
1392 dir->i_size = (dir->i_size + sbi->cluster_size - 1) in fat_add_entries()
1393 & ~((loff_t)sbi->cluster_size - 1); in fat_add_entries()
Dfat.h66 unsigned int cluster_size; /* cluster size */ member
Dfatent.c728 if (ent_start >= sbi->max_cluster || range->len < sbi->cluster_size) in fat_trim_fs()
/linux-4.19.296/fs/ocfs2/
Docfs1_fs_compat.h61 /*160*/ __u64 cluster_size; member
/linux-4.19.296/fs/ext4/
Dxattr.c886 size_t cluster_size = 1 << (EXT4_SB(sb)->s_cluster_bits + in round_up_cluster() local
888 size_t mask = ~(cluster_size - 1); in round_up_cluster()
890 return (length + cluster_size - 1) & mask; in round_up_cluster()