Searched refs:cluster_bits (Results 1 – 14 of 14) sorted by relevance
| /linux/fs/ntfs3/ |
| H A D | fsntfs.c | 1130 u8 cluster_bits = sbi->cluster_bits; in ntfs_sb_write_run() local 1132 CLST lcn, clen, vcn = vbo >> cluster_bits, vcn_next; in ntfs_sb_write_run() 1142 lbo = ((u64)lcn << cluster_bits) + off; in ntfs_sb_write_run() 1143 len = ((u64)clen << cluster_bits) - off; in ntfs_sb_write_run() 1167 lbo = ((u64)lcn << cluster_bits); in ntfs_sb_write_run() 1168 len = ((u64)clen << cluster_bits); in ntfs_sb_write_run() 1178 u8 cluster_bits = sbi->cluster_bits; in ntfs_bread_run() local 1182 if (!run_lookup_entry(run, vbo >> cluster_bits, &lcn, NULL, NULL)) in ntfs_bread_run() 1185 lbo = ((u64)lcn << cluster_bits) + (vbo & sbi->cluster_mask); in ntfs_bread_run() 1198 u8 cluster_bits = sbi->cluster_bits; in ntfs_read_run_nb_ra() local [all …]
|
| H A D | attrib.c | 216 u8 shift = sbi->cluster_bits - SECTOR_SHIFT; in attr_allocate_clusters() 285 u8 shift = sbi->cluster_bits + NTFS_LZNT_CUNIT; in attr_make_nonresident() 438 u8 cluster_bits = sbi->cluster_bits; in attr_set_size_ex() local 495 old_alen = old_alloc >> cluster_bits; in attr_set_size_ex() 498 new_alen = new_alloc >> cluster_bits; in attr_set_size_ex() 668 new_alloc_tmp = (u64)next_svcn << cluster_bits; in attr_set_size_ex() 680 ((u64)done << sbi->cluster_bits) >= 2 * sbi->record_size) { in attr_set_size_ex() 754 old_valid = old_size = old_alloc = (u64)vcn << cluster_bits; in attr_set_size_ex() 773 new_alloc_tmp = (u64)vcn << cluster_bits; in attr_set_size_ex() 829 (u64)dlen << cluster_bits); in attr_set_size_ex() [all …]
|
| H A D | super.c | 979 u8 cluster_bits; in ntfs_init_from_boot() local 1035 sbi->cluster_bits = cluster_bits = blksize_bits(sbi->cluster_size); in ntfs_init_from_boot() 1060 record_size = (u32)boot->record_size << cluster_bits; in ntfs_init_from_boot() 1087 sbi->index_size = (u32)boot->index_size << cluster_bits; in ntfs_init_from_boot() 1127 sbi->mft.lbo = mlcn << cluster_bits; in ntfs_init_from_boot() 1128 sbi->mft.lbo2 = mlcn2 << cluster_bits; in ntfs_init_from_boot() 1166 clusters = sbi->volume.size >> cluster_bits; in ntfs_init_from_boot() 1209 sbi->maxbytes = (clusters << cluster_bits) - 1; in ntfs_init_from_boot() 1212 if (clusters >= (1ull << (64 - cluster_bits))) in ntfs_init_from_boot() 1218 sbi->maxbytes_sparse = (1ull << (cluster_bits + 32)) - 1; in ntfs_init_from_boot() [all …]
|
| H A D | bitmap.c | 505 u8 cluster_bits = sbi->cluster_bits; in wnd_rescan() local 554 if (!run_lookup_entry(&wnd->run, vbo >> cluster_bits, in wnd_rescan() 560 lbo = ((u64)lcn << cluster_bits) + off; in wnd_rescan() 561 len = ((u64)clen << cluster_bits) - off; in wnd_rescan() 709 if (!run_lookup_entry(&wnd->run, vbo >> sbi->cluster_bits, &lcn, &clen, in wnd_map() 714 lbo = ((u64)lcn << sbi->cluster_bits) + (vbo & sbi->cluster_mask); in wnd_map() 1492 range->len = (u64)done << sbi->cluster_bits; in ntfs_trim_fs()
|
| H A D | file.c | 425 CLST vcn = from >> sbi->cluster_bits; in ntfs_file_mmap_prepare() 624 u8 cluster_bits = sbi->cluster_bits; in ntfs_fallocate() local 640 (to_alloc >> cluster_bits) > in ntfs_fallocate() 661 CLST vcn = vbo >> cluster_bits; in ntfs_fallocate() 999 u8 frame_bits = NTFS_LZNT_CUNIT + sbi->cluster_bits; in ntfs_compress_write() 1044 frame_vbo + ((u64)clen << sbi->cluster_bits); in ntfs_compress_write()
|
| H A D | frecord.c | 499 u8 cluster_bits = sbi->cluster_bits; in ni_repack() 518 cluster_bits; in ni_repack() 963 vbo = is_mft_data ? ((u64)svcn << sbi->cluster_bits) : 0; in ni_ins_attr_ext() 1486 svcn ? 0 : cpu_to_le64((u64)len << ni->mi.sbi->cluster_bits); in ni_insert_nonresident() 1956 frame_bits = NTFS_LZNT_CUNIT + sbi->cluster_bits; in ni_read_folio_cmpr() 2064 for (vcn = vbo >> sbi->cluster_bits; vcn < end; vcn += clen) { in ni_decompress_file() 2281 u8 cluster_bits = sbi->cluster_bits; in ni_read_frame() local 2430 frame = frame_vbo >> (cluster_bits + NTFS_LZNT_CUNIT); in ni_read_frame() 2443 ondisk_size = clst_data << cluster_bits; in ni_read_frame() 2541 u8 frame_bits = NTFS_LZNT_CUNIT + sbi->cluster_bits; in ni_write_frame() [all …]
|
| H A D | inode.c | 65 t64 = sbi->mft.lbo >> sbi->cluster_bits; in ntfs_read_mft() 939 u8 cluster_bits = sbi->cluster_bits; in ntfs_iomap_begin() local 940 CLST vcn = offset >> cluster_bits; in ntfs_iomap_begin() 1026 iomap->length = ((loff_t)clen << cluster_bits) - off; in ntfs_iomap_begin() 1038 iomap->addr = ((loff_t)lcn << cluster_bits) + off; in ntfs_iomap_begin()
|
| H A D | index.c | 210 CLST vcn = off >> sbi->cluster_bits; in bmp_buf_get() 388 vcn = vbo >> sbi->cluster_bits; in scan_nres_bitmap() 947 if (t32 != root->index_block_clst << sbi->cluster_bits) in indx_init() 950 indx->vbn2vbo_bits = sbi->cluster_bits; in indx_init() 1483 CLST len = alloc_size >> sbi->cluster_bits; in indx_create_allocate()
|
| H A D | fslog.c | 1356 log->clst_per_page = log->page_size >> log->ni->mi.sbi->cluster_bits; in log_init_pg_hdr() 2724 sbi->cluster_bits : in check_index_root() 3148 u64 tvo = le64_to_cpu(lrh->target_vcn) << sbi->cluster_bits; in do_action() 3257 lco = (u64)le16_to_cpu(lrh->lcns_follow) << sbi->cluster_bits; in do_action() 4670 dp->transfer_len = cpu_to_le32(t32 << sbi->cluster_bits); in log_replay() 5006 size = (vcn + 1) << sbi->cluster_bits; in log_replay() 5150 alen = (i - 1) << sbi->cluster_bits; in log_replay() 5257 size = (vcn + 1) << sbi->cluster_bits; in log_replay()
|
| H A D | record.c | 152 vbo >> sbi->cluster_bits); in mi_read()
|
| H A D | ntfs_fs.h | 228 u8 cluster_bits; member 1144 return (size + sbi->cluster_mask) >> sbi->cluster_bits; in bytes_to_cluster()
|
| /linux/fs/fat/ |
| H A D | dir.c | 1255 *nr_cluster = (size + (sbi->cluster_size - 1)) >> sbi->cluster_bits; in fat_add_new_entries() 1445 dir->i_size += nr_cluster << sbi->cluster_bits; in fat_add_entries() 1446 MSDOS_I(dir)->mmu_private += nr_cluster << sbi->cluster_bits; in fat_add_entries()
|
| H A D | fat.h | 70 unsigned short cluster_bits; /* log2(cluster_size) */ member
|
| /linux/fs/ext4/ |
| H A D | resize.c | 1023 int cluster_bits = EXT4_SB(sb)->s_cluster_bits; in reserve_backup_gdb() local 1100 inode->i_blocks += reserved_gdb * sb->s_blocksize >> (9 - cluster_bits); in reserve_backup_gdb()
|