/fs/ntfs3/ |
D | fsntfs.c | 1100 u8 cluster_bits = sbi->cluster_bits; in ntfs_sb_write_run() local 1102 CLST lcn, clen, vcn = vbo >> cluster_bits, vcn_next; in ntfs_sb_write_run() 1112 lbo = ((u64)lcn << cluster_bits) + off; in ntfs_sb_write_run() 1113 len = ((u64)clen << cluster_bits) - off; in ntfs_sb_write_run() 1137 lbo = ((u64)lcn << cluster_bits); in ntfs_sb_write_run() 1138 len = ((u64)clen << cluster_bits); in ntfs_sb_write_run() 1148 u8 cluster_bits = sbi->cluster_bits; in ntfs_bread_run() local 1152 if (!run_lookup_entry(run, vbo >> cluster_bits, &lcn, NULL, NULL)) in ntfs_bread_run() 1155 lbo = ((u64)lcn << cluster_bits) + (vbo & sbi->cluster_mask); in ntfs_bread_run() 1166 u8 cluster_bits = sbi->cluster_bits; in ntfs_read_run_nb() local [all …]
|
D | attrib.c | 269 len = (rsize + align - 1) >> sbi->cluster_bits; in attr_make_nonresident() 417 u8 cluster_bits = sbi->cluster_bits; in attr_set_size() local 464 old_alen = old_alloc >> cluster_bits; in attr_set_size() 467 new_alen = new_alloc >> cluster_bits; in attr_set_size() 606 new_alloc_tmp = (u64)next_svcn << cluster_bits; in attr_set_size() 618 ((u64)done << sbi->cluster_bits) >= 2 * sbi->record_size) { in attr_set_size() 691 old_valid = old_size = old_alloc = (u64)vcn << cluster_bits; in attr_set_size() 710 new_alloc_tmp = (u64)vcn << cluster_bits; in attr_set_size() 766 ((u64)dlen << cluster_bits)); in attr_set_size() 891 u8 cluster_bits; in attr_data_get_block() local [all …]
|
D | super.c | 766 sbi->cluster_bits = blksize_bits(sbi->cluster_size); in ntfs_init_from_boot() 768 sbi->mft.lbo = mlcn << sbi->cluster_bits; in ntfs_init_from_boot() 769 sbi->mft.lbo2 = mlcn2 << sbi->cluster_bits; in ntfs_init_from_boot() 790 << sbi->cluster_bits; in ntfs_init_from_boot() 805 : (u32)boot->index_size << sbi->cluster_bits; in ntfs_init_from_boot() 821 clusters = sbi->volume.size >> sbi->cluster_bits; in ntfs_init_from_boot() 861 sbi->maxbytes = (clusters << sbi->cluster_bits) - 1; in ntfs_init_from_boot() 864 if (clusters >= (1ull << (64 - sbi->cluster_bits))) in ntfs_init_from_boot() 870 sbi->maxbytes_sparse = (1ull << (sbi->cluster_bits + 32)) - 1; in ntfs_init_from_boot() 871 sb->s_maxbytes = 0xFFFFFFFFull << sbi->cluster_bits; in ntfs_init_from_boot() [all …]
|
D | file.c | 122 bits = sbi->cluster_bits; in ntfs_extend_initialized_size() 282 u64 vbo = (u64)vcn << sbi->cluster_bits; in ntfs_sparse_cluster() 283 u64 bytes = (u64)len << sbi->cluster_bits; in ntfs_sparse_cluster() 382 CLST vcn = from >> sbi->cluster_bits; in ntfs_file_mmap() 677 (to_alloc >> sbi->cluster_bits) > in ntfs_fallocate() 696 CLST vcn_v = ni->i_valid >> sbi->cluster_bits; in ntfs_fallocate() 697 CLST vcn = vbo >> sbi->cluster_bits; in ntfs_fallocate() 910 u8 frame_bits = NTFS_LZNT_CUNIT + sbi->cluster_bits; in ntfs_compress_write() 956 frame_vbo + ((u64)clen << sbi->cluster_bits); in ntfs_compress_write()
|
D | frecord.c | 526 u8 cluster_bits = sbi->cluster_bits; in ni_repack() local 545 cluster_bits; in ni_repack() 979 vbo = is_mft_data ? ((u64)svcn << sbi->cluster_bits) : 0; in ni_ins_attr_ext() 1498 svcn ? 0 : cpu_to_le64((u64)len << ni->mi.sbi->cluster_bits); in ni_insert_nonresident() 1911 u8 cluster_bits = sbi->cluster_bits; in ni_fiemap() local 1915 CLST vcn = vbo >> cluster_bits; in ni_fiemap() 2005 vbo = (u64)vcn << cluster_bits; in ni_fiemap() 2025 vbo = (u64)vcn << cluster_bits; in ni_fiemap() 2026 bytes = (u64)clen << cluster_bits; in ni_fiemap() 2027 lbo = (u64)lcn << cluster_bits; in ni_fiemap() [all …]
|
D | bitmap.c | 504 u8 cluster_bits = sbi->cluster_bits; in wnd_rescan() local 545 if (!run_lookup_entry(&wnd->run, vbo >> cluster_bits, in wnd_rescan() 551 lbo = ((u64)lcn << cluster_bits) + off; in wnd_rescan() 552 len = ((u64)clen << cluster_bits) - off; in wnd_rescan() 694 if (!run_lookup_entry(&wnd->run, vbo >> sbi->cluster_bits, &lcn, &clen, in wnd_map() 699 lbo = ((u64)lcn << sbi->cluster_bits) + (vbo & sbi->cluster_mask); in wnd_map() 1480 range->len = (u64)done << sbi->cluster_bits; in ntfs_trim_fs()
|
D | inode.c | 58 t64 = sbi->mft.lbo >> sbi->cluster_bits; in ntfs_read_mft() 552 u8 cluster_bits = sbi->cluster_bits; in ntfs_get_block_vbo() local 586 vcn = vbo >> cluster_bits; in ntfs_get_block_vbo() 597 bytes = ((u64)len << cluster_bits) - off; in ntfs_get_block_vbo() 610 if ((len << cluster_bits) > block_size) in ntfs_get_block_vbo() 614 lbo = ((u64)lcn << cluster_bits) + off; in ntfs_get_block_vbo()
|
D | index.c | 210 CLST vcn = off >> sbi->cluster_bits; in bmp_buf_get() 390 vcn = vbo >> sbi->cluster_bits; in scan_nres_bitmap() 913 if (t32 != root->index_block_clst << sbi->cluster_bits) in indx_init() 916 indx->vbn2vbo_bits = sbi->cluster_bits; in indx_init() 1429 CLST len = alloc_size >> sbi->cluster_bits; in indx_create_allocate()
|
D | fslog.c | 1299 log->clst_per_page = log->page_size >> log->ni->mi.sbi->cluster_bits; in log_init_pg_hdr() 2650 ? sbi->cluster_bits in check_index_root() 3044 u64 tvo = le64_to_cpu(lrh->target_vcn) << sbi->cluster_bits; in do_action() 3156 lco = (u64)le16_to_cpu(lrh->lcns_follow) << sbi->cluster_bits; in do_action() 4501 dp->transfer_len = cpu_to_le32(t32 << sbi->cluster_bits); in log_replay() 4816 size = (vcn + 1) << sbi->cluster_bits; in log_replay() 4954 alen = (i - 1) << sbi->cluster_bits; in log_replay() 5061 size = (vcn + 1) << sbi->cluster_bits; in log_replay()
|
D | ntfs_fs.h | 218 u8 cluster_bits; member 1009 return (size + sbi->cluster_mask) >> sbi->cluster_bits; in bytes_to_cluster()
|
D | record.c | 152 vbo >> sbi->cluster_bits); in mi_read()
|
/fs/fat/ |
D | misc.c | 160 if (new_fclus != (inode->i_blocks >> (sbi->cluster_bits - 9))) { in fat_chain_add() 163 (llu)(inode->i_blocks >> (sbi->cluster_bits - 9))); in fat_chain_add() 166 inode->i_blocks += nr_cluster << (sbi->cluster_bits - 9); in fat_chain_add()
|
D | file.c | 288 sbi->cluster_bits; in fat_fallocate() 373 inode->i_blocks = skip << (MSDOS_SB(sb)->cluster_bits - 9); in fat_free() 392 nr_clusters = (offset + (cluster_size - 1)) >> sbi->cluster_bits; in fat_truncate_blocks()
|
D | cache.c | 229 const int limit = sb->s_maxbytes >> sbi->cluster_bits; in fat_get_cluster() 318 cluster = sector >> (sbi->cluster_bits - sb->s_blocksize_bits); in fat_get_mapped_cluster()
|
D | fatent.c | 779 ent_start = max_t(u64, range->start>>sbi->cluster_bits, FAT_START_ENT); in fat_trim_fs() 780 ent_end = ent_start + (range->len >> sbi->cluster_bits) - 1; in fat_trim_fs() 781 minlen = range->minlen >> sbi->cluster_bits; in fat_trim_fs() 845 range->len = trimmed << sbi->cluster_bits; in fat_trim_fs()
|
D | dir.c | 1215 *nr_cluster = (size + (sbi->cluster_size - 1)) >> sbi->cluster_bits; in fat_add_new_entries() 1392 dir->i_size += nr_cluster << sbi->cluster_bits; in fat_add_entries() 1393 MSDOS_I(dir)->mmu_private += nr_cluster << sbi->cluster_bits; in fat_add_entries()
|
D | fat.h | 65 unsigned short cluster_bits; /* log2(cluster_size) */ member
|
D | inode.c | 493 inode->i_size = (fclus + 1) << sbi->cluster_bits; in fat_calc_dir_size() 1701 sbi->cluster_bits = ffs(sbi->cluster_size) - 1; in fat_fill_super()
|
/fs/ocfs2/ |
D | ocfs2_trace.h | 1712 unsigned long long system_dir, int cluster_bits), 1713 TP_ARGS(label, uuid_str, root_dir, system_dir, cluster_bits), 1719 __field(int, cluster_bits) 1726 __entry->cluster_bits = cluster_bits; 1729 __entry->root_dir, __entry->system_dir, __entry->cluster_bits)
|
/fs/ext4/ |
D | resize.c | 1022 int cluster_bits = EXT4_SB(sb)->s_cluster_bits; in reserve_backup_gdb() local 1102 inode->i_blocks += reserved_gdb * sb->s_blocksize >> (9 - cluster_bits); in reserve_backup_gdb()
|