Searched refs:cluster_size (Results 1 – 19 of 19) sorted by relevance
791 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 …]
60 u32 cluster_size; /* in bytes */ member
648 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()
885 if (vol->cluster_size <= ni->itype.index.block_size) { in ntfs_read_locked_inode()886 ni->itype.index.vcn_size = vol->cluster_size; in ntfs_read_locked_inode()1054 if (vol->cluster_size > 4096) { in ntfs_read_locked_inode()1061 vol->cluster_size); in ntfs_read_locked_inode()1276 if (vol->cluster_size > 4096) { in ntfs_read_locked_attr_inode()1281 vol->cluster_size); in ntfs_read_locked_attr_inode()1595 if (vol->cluster_size <= ni->itype.index.block_size) { in ntfs_read_locked_index_inode()1596 ni->itype.index.vcn_size = vol->cluster_size; in ntfs_read_locked_index_inode()2424 new_alloc_size = (new_size + vol->cluster_size - 1) & in ntfs_truncate()
1494 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()
1573 new_size = (data_size + vol->cluster_size - 1) & in ntfs_attr_make_non_resident()1574 ~(vol->cluster_size - 1); in ntfs_attr_make_non_resident()1943 new_alloc_size = (new_alloc_size + vol->cluster_size - 1) & in ntfs_attr_extend_allocation()
650 max_block = block + (vol->cluster_size >> block_size_bits); in ntfs_read_compressed_block()
918 vol->cluster_size - 1) >> in ntfs_mapping_pairs_decompress()
290 nr_cluster = (mm_bytes + (sbi->cluster_size - 1)) >> in fat_fallocate()385 const unsigned int cluster_size = sbi->cluster_size; in fat_truncate_blocks() local395 nr_clusters = (offset + (cluster_size - 1)) >> sbi->cluster_bits; in fat_truncate_blocks()406 stat->blksize = MSDOS_SB(inode->i_sb)->cluster_size; in fat_getattr()
558 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()828 buf->f_bsize = sbi->cluster_size; in fat_statfs()1408 inode->i_blocks = ((inode->i_size + (sbi->cluster_size - 1)) in fat_read_root()1409 & ~((loff_t)sbi->cluster_size - 1)) >> 9; in fat_read_root()1690 sbi->cluster_size = sb->s_blocksize * sbi->sec_per_clus; in fat_fill_super()1691 sbi->cluster_bits = ffs(sbi->cluster_size) - 1; in fat_fill_super()
1212 *nr_cluster = (size + (sbi->cluster_size - 1)) >> sbi->cluster_bits; in fat_add_new_entries()1381 if (dir->i_size & (sbi->cluster_size - 1)) { in fat_add_entries()1383 dir->i_size = (dir->i_size + sbi->cluster_size - 1) in fat_add_entries()1384 & ~((loff_t)sbi->cluster_size - 1); in fat_add_entries()
66 unsigned int cluster_size; /* cluster size */ member
724 if (ent_start >= sbi->max_cluster || range->len < sbi->cluster_size) in fat_trim_fs()
74 int tipc_nl_monitor_set_threshold(struct net *net, u32 cluster_size);
94 int cluster_size = tipc_link_bc_peers(tipc_bc_sndlink(net)); in tipc_bcbase_calc_bc_threshold() local96 bb->bc_threshold = 1 + (cluster_size * bb->rc_ratio / 100); in tipc_bcbase_calc_bc_threshold()
668 int tipc_nl_monitor_set_threshold(struct net *net, u32 cluster_size) in tipc_nl_monitor_set_threshold() argument672 if (cluster_size > TIPC_CLUSTER_SIZE) in tipc_nl_monitor_set_threshold()675 tn->mon_threshold = cluster_size; in tipc_nl_monitor_set_threshold()
61 /*160*/ __u64 cluster_size; member
134 u8 cluster_size = min(max_apic_id - offset + 1, 16U); in kvm_apic_map_get_logical_dest() local137 *mask = dest_id & (0xffff >> (16 - cluster_size)); in kvm_apic_map_get_logical_dest()558 int cluster_size = op_64_bit ? 64 : 32; in kvm_pv_send_ipi() local585 min += cluster_size; in kvm_pv_send_ipi()
859 size_t cluster_size = 1 << (EXT4_SB(sb)->s_cluster_bits + in round_up_cluster() local861 size_t mask = ~(cluster_size - 1); in round_up_cluster()863 return (length + cluster_size - 1) & mask; in round_up_cluster()