Home
last modified time | relevance | path

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

/linux-6.6.21/fs/exfat/
Dballoc.c280 clu_start = max_t(u64, range->start >> sbi->cluster_size_bits, in exfat_trim_fs()
282 clu_end = clu_start + (range->len >> sbi->cluster_size_bits) - 1; in exfat_trim_fs()
283 trim_minlen = range->minlen >> sbi->cluster_size_bits; in exfat_trim_fs()
347 range->len = trimmed_total << sbi->cluster_size_bits; in exfat_trim_fs()
Dexfat_fs.h87 #define EXFAT_CLU_TO_B(b, sbi) ((b) << (sbi)->cluster_size_bits)
88 #define EXFAT_B_TO_CLU(b, sbi) ((b) >> (sbi)->cluster_size_bits)
90 (((b - 1) >> (sbi)->cluster_size_bits) + 1)
112 ((clu) << ((sbi)->cluster_size_bits - DENTRY_SIZE_BITS))
114 ((dentry) >> ((sbi)->cluster_size_bits - DENTRY_SIZE_BITS))
246 unsigned int cluster_size_bits; member
Dsuper.c352 i_size_write(inode, num_clu << sbi->cluster_size_bits); in exfat_read_root()
472 sbi->cluster_size_bits = p_boot->sect_per_clus_bits + in exfat_read_boot_sector()
474 sbi->cluster_size = 1 << sbi->cluster_size_bits; in exfat_read_boot_sector()
488 (sbi->cluster_size_bits - DENTRY_SIZE_BITS); in exfat_read_boot_sector()
516 sbi->cluster_size_bits; in exfat_read_boot_sector()
/linux-6.6.21/fs/ntfs/
Dcompress.c482 vol->cluster_size_bits; in ntfs_read_compressed_block()
488 & ~cb_size_mask) >> vol->cluster_size_bits; in ntfs_read_compressed_block()
490 unsigned int nr_cbs = (end_vcn - start_vcn) << vol->cluster_size_bits in ntfs_read_compressed_block()
498 vol->cluster_size_bits >> PAGE_SHIFT; in ntfs_read_compressed_block()
535 offset = start_vcn << vol->cluster_size_bits >> PAGE_SHIFT; in ntfs_read_compressed_block()
634 block = lcn << vol->cluster_size_bits >> block_size_bits; in ntfs_read_compressed_block()
Dattrib.c109 ni->vol->cluster_size_bits; in ntfs_map_runlist_nolock()
764 block = lcn << vol->cluster_size_bits >> block_size_bits; in load_attribute_list()
766 max_block = block + (rl->length << vol->cluster_size_bits >> in load_attribute_list()
1596 vol->cluster_size_bits, -1, DATA_ZONE, true); in ntfs_attr_make_non_resident()
1601 vol->cluster_size_bits) > 1 ? "s" : "", in ntfs_attr_make_non_resident()
1697 vol->cluster_size_bits); in ntfs_attr_make_non_resident()
1730 vol->cluster_size_bits); in ntfs_attr_make_non_resident()
2021 vcn = NInoNonResident(ni) ? allocated_size >> vol->cluster_size_bits : in ntfs_attr_extend_allocation()
2229 rl2 = ntfs_cluster_alloc(vol, allocated_size >> vol->cluster_size_bits, in ntfs_attr_extend_allocation()
2231 vol->cluster_size_bits, (rl && (rl->lcn >= 0)) ? in ntfs_attr_extend_allocation()
[all …]
Dfile.c625 cpos = pos >> vol->cluster_size_bits; in ntfs_prepare_pages_for_non_resident_write()
627 cend = (end + vol->cluster_size - 1) >> vol->cluster_size_bits; in ntfs_prepare_pages_for_non_resident_write()
646 bh_cpos = bh_pos >> vol->cluster_size_bits; in ntfs_prepare_pages_for_non_resident_write()
704 (cdelta << (vol->cluster_size_bits - in ntfs_prepare_pages_for_non_resident_write()
840 lcn_block = lcn << (vol->cluster_size_bits - in ntfs_prepare_pages_for_non_resident_write()
925 vol->cluster_size_bits; in ntfs_prepare_pages_for_non_resident_write()
1048 vol->cluster_size_bits) - 1; in ntfs_prepare_pages_for_non_resident_write()
1154 lcn_block = lcn << (vol->cluster_size_bits - blocksize_bits); in ntfs_prepare_pages_for_non_resident_write()
1325 end = bh_cpos << vol->cluster_size_bits; in ntfs_prepare_pages_for_non_resident_write()
1779 vcn = pos >> vol->cluster_size_bits; in ntfs_perform_write()
[all …]
Daops.c243 vol->cluster_size_bits; in ntfs_read_block()
261 bh->b_blocknr = ((lcn << vol->cluster_size_bits) in ntfs_read_block()
703 vcn >>= vol->cluster_size_bits; in ntfs_write_block()
719 bh->b_blocknr = ((lcn << vol->cluster_size_bits) + in ntfs_write_block()
1012 vcn >>= vol->cluster_size_bits; in ntfs_write_mst_block()
1029 vol->cluster_size_bits) + in ntfs_write_mst_block()
1587 cluster_size_shift = vol->cluster_size_bits; in ntfs_bmap()
Dmft.c534 vcn >>= vol->cluster_size_bits; in ntfs_sync_mft_mirror()
553 vol->cluster_size_bits) + in ntfs_sync_mft_mirror()
727 vcn >>= vol->cluster_size_bits; in write_mft_record_nolock()
741 vol->cluster_size_bits) + in write_mft_record_nolock()
1305 (ll - 1) >> vol->cluster_size_bits, NULL); in ntfs_mft_bitmap_extend_allocation_nolock()
1736 (ll - 1) >> vol->cluster_size_bits, NULL); in ntfs_mft_data_extend_allocation_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()
1761 if (unlikely((ll + (nr << vol->cluster_size_bits)) >> in ntfs_mft_data_extend_allocation_nolock()
1764 if (unlikely((ll + (nr << vol->cluster_size_bits)) >> in ntfs_mft_data_extend_allocation_nolock()
[all …]
Dvolume.h48 u8 cluster_size_bits; /* log2(cluster_size) */ member
Dlogfile.c741 vol->cluster_size_bits; in ntfs_empty_logfile()
780 block = lcn << vol->cluster_size_bits >> block_size_bits; in ntfs_empty_logfile()
784 end_block = (lcn + len) << vol->cluster_size_bits >> in ntfs_empty_logfile()
Dinode.c868 ni->itype.index.vcn_size_bits = vol->cluster_size_bits; in ntfs_read_locked_inode()
1083 vol->cluster_size_bits); in ntfs_read_locked_inode()
1365 vol->cluster_size_bits); in ntfs_read_locked_attr_inode()
1578 ni->itype.index.vcn_size_bits = vol->cluster_size_bits; in ntfs_read_locked_index_inode()
1801 block = vol->mft_lcn << vol->cluster_size_bits >> in ntfs_read_inode_mount()
2062 >> vol->cluster_size_bits; in ntfs_read_inode_mount()
2615 old_alloc_size >> vol->cluster_size_bits > in ntfs_truncate()
2696 vol->cluster_size_bits, -1, ctx); in ntfs_truncate()
2708 new_alloc_size >> vol->cluster_size_bits); in ntfs_truncate()
2760 vol->cluster_size_bits) - 1); in ntfs_truncate()
[all …]
Dindex.c415 if (old_vcn << vol->cluster_size_bits >> in ntfs_index_lookup()
417 vol->cluster_size_bits >> in ntfs_index_lookup()
Ddir.c548 if (old_vcn << vol->cluster_size_bits >> in ntfs_lookup_inode_by_name()
550 vol->cluster_size_bits >> in ntfs_lookup_inode_by_name()
957 if (old_vcn << vol->cluster_size_bits >>
959 vol->cluster_size_bits >>
Dsuper.c787 vol->cluster_size_bits = ffs(vol->cluster_size) - 1; in parse_ntfs_boot_sector()
791 ntfs_debug("vol->cluster_size_bits = %i", vol->cluster_size_bits); in parse_ntfs_boot_sector()
887 if ((ll << vol->cluster_size_bits) >= (1ULL << 41)) { in parse_ntfs_boot_sector()
892 vol->cluster_size_bits)); in parse_ntfs_boot_sector()
2619 sfs->f_blocks = vol->nr_clusters << vol->cluster_size_bits >> in ntfs_statfs()
2622 size = get_nr_free_clusters(vol) << vol->cluster_size_bits >> in ntfs_statfs()
Drunlist.c905 vol->cluster_size_bits) - 1; in ntfs_mapping_pairs_decompress()