Home
last modified time | relevance | path

Searched refs:cluster_bits (Results 1 – 13 of 13) sorted by relevance

/linux/fs/ntfs3/
H A Dsuper.c972 u8 cluster_bits; in ntfs_init_from_boot() local
1028 sbi->cluster_bits = cluster_bits = blksize_bits(sbi->cluster_size); in ntfs_init_from_boot()
1045 record_size = (u32)boot->record_size << cluster_bits; in ntfs_init_from_boot()
1072 sbi->index_size = (u32)boot->index_size << cluster_bits; in ntfs_init_from_boot()
1112 sbi->mft.lbo = mlcn << cluster_bits; in ntfs_init_from_boot()
1113 sbi->mft.lbo2 = mlcn2 << cluster_bits; in ntfs_init_from_boot()
1151 clusters = sbi->volume.size >> cluster_bits; in ntfs_init_from_boot()
1191 sbi->maxbytes = (clusters << cluster_bits) - 1; in ntfs_init_from_boot()
1194 if (clusters >= (1ull << (64 - cluster_bits))) in ntfs_init_from_boot()
1200 sbi->maxbytes_sparse = (1ull << (cluster_bits + 32)) - 1; in ntfs_init_from_boot()
[all …]
H A Dfrecord.c484 u8 cluster_bits = sbi->cluster_bits; in ni_repack()
503 cluster_bits; in ni_repack()
933 vbo = is_mft_data ? ((u64)svcn << sbi->cluster_bits) : 0; in ni_ins_attr_ext()
1452 svcn ? 0 : cpu_to_le64((u64)len << ni->mi.sbi->cluster_bits); in ni_insert_nonresident()
1910 frame_bits = NTFS_LZNT_CUNIT + sbi->cluster_bits; in ni_read_folio_cmpr()
2017 for (vcn = vbo >> sbi->cluster_bits; vcn < end; vcn += clen) { in ni_decompress_file()
2234 u8 cluster_bits = sbi->cluster_bits; in ni_read_frame() local
2382 frame = frame_vbo >> (cluster_bits + NTFS_LZNT_CUNIT); in ni_read_frame()
2395 ondisk_size = clst_data << cluster_bits; in ni_read_frame()
2484 u8 frame_bits = NTFS_LZNT_CUNIT + sbi->cluster_bits; in ni_write_frame()
[all …]
H A Dfile.c318 CLST vcn = from >> sbi->cluster_bits; in ntfs_file_mmap_prepare()
607 u8 cluster_bits = sbi->cluster_bits; in ntfs_fallocate() local
623 (to_alloc >> cluster_bits) > in ntfs_fallocate()
644 CLST vcn = vbo >> cluster_bits; in ntfs_fallocate()
669 file, ni, (u64)cend_v << cluster_bits); in ntfs_fallocate()
991 u8 frame_bits = NTFS_LZNT_CUNIT + sbi->cluster_bits; in ntfs_compress_write()
1036 frame_vbo + ((u64)clen << sbi->cluster_bits); in ntfs_compress_write()
H A Dbitmap.c505 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 Dindex.c210 CLST vcn = off >> sbi->cluster_bits; in bmp_buf_get()
388 vcn = vbo >> sbi->cluster_bits; in scan_nres_bitmap()
910 if (t32 != root->index_block_clst << sbi->cluster_bits) in indx_init()
913 indx->vbn2vbo_bits = sbi->cluster_bits; in indx_init()
1442 CLST len = alloc_size >> sbi->cluster_bits; in indx_create_allocate()
H A Dfslog.c1320 log->clst_per_page = log->page_size >> log->ni->mi.sbi->cluster_bits; in log_init_pg_hdr()
2669 sbi->cluster_bits : in check_index_root()
3083 u64 tvo = le64_to_cpu(lrh->target_vcn) << sbi->cluster_bits; in do_action()
3192 lco = (u64)le16_to_cpu(lrh->lcns_follow) << sbi->cluster_bits; in do_action()
4528 dp->transfer_len = cpu_to_le32(t32 << sbi->cluster_bits); in log_replay()
4842 size = (vcn + 1) << sbi->cluster_bits; in log_replay()
4979 alen = (i - 1) << sbi->cluster_bits; in log_replay()
5086 size = (vcn + 1) << sbi->cluster_bits; in log_replay()
H A Drecord.c152 vbo >> sbi->cluster_bits); in mi_read()
H A Dntfs_fs.h230 u8 cluster_bits; member
1114 return (size + sbi->cluster_mask) >> sbi->cluster_bits; in bytes_to_cluster()
/linux/fs/ext4/
H A Dmballoc-test.c183 unsigned int cluster_bits; member
200 sbi->s_cluster_bits = layout->cluster_bits; in mbt_init_sb_layout()
201 sbi->s_cluster_ratio = 1U << layout->cluster_bits; in mbt_init_sb_layout()
203 layout->cluster_bits; in mbt_init_sb_layout()
945 .cluster_bits = 3,
952 .cluster_bits = 3,
959 .cluster_bits = 3,
971 layout->blocksize_bits, layout->cluster_bits, in mbt_show_layout()
H A Dresize.c1023 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()
/linux/fs/fat/
H A Dfatent.c779 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()
H A Dinode.c489 inode->i_size = (fclus + 1) << sbi->cluster_bits; in fat_calc_dir_size()
1655 sbi->cluster_bits = ffs(sbi->cluster_size) - 1; in fat_fill_super()
/linux/fs/ocfs2/
H A Docfs2_trace.h1709 unsigned long long system_dir, int cluster_bits),
1710 TP_ARGS(label, uuid_str, root_dir, system_dir, cluster_bits),
1716 __field(int, cluster_bits)
1723 __entry->cluster_bits = cluster_bits;
1726 __entry->root_dir, __entry->system_dir, __entry->cluster_bits)