Home
last modified time | relevance | path

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

/fs/fat/
Dmisc.c154 if (new_fclus != (inode->i_blocks >> (sbi->cluster_bits - 9))) { in fat_chain_add()
157 (llu)(inode->i_blocks >> (sbi->cluster_bits - 9))); in fat_chain_add()
160 inode->i_blocks += nr_cluster << (sbi->cluster_bits - 9); in fat_chain_add()
Dfile.c287 sbi->cluster_bits; in fat_fallocate()
372 inode->i_blocks = skip << (MSDOS_SB(sb)->cluster_bits - 9); in fat_free()
391 nr_clusters = (offset + (cluster_size - 1)) >> sbi->cluster_bits; in fat_truncate_blocks()
Dcache.c229 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()
Dfatent.c778 ent_start = max_t(u64, range->start>>sbi->cluster_bits, FAT_START_ENT); in fat_trim_fs()
779 ent_end = ent_start + (range->len >> sbi->cluster_bits) - 1; in fat_trim_fs()
780 minlen = range->minlen >> sbi->cluster_bits; in fat_trim_fs()
844 range->len = trimmed << sbi->cluster_bits; in fat_trim_fs()
Ddir.c1215 *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()
Dfat.h65 unsigned short cluster_bits; /* log2(cluster_size) */ member
Dinode.c491 inode->i_size = (fclus + 1) << sbi->cluster_bits; in fat_calc_dir_size()
1699 sbi->cluster_bits = ffs(sbi->cluster_size) - 1; in fat_fill_super()
/fs/ocfs2/
Docfs2_trace.h1712 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/
Dresize.c1000 int cluster_bits = EXT4_SB(sb)->s_cluster_bits; in reserve_backup_gdb() local
1079 inode->i_blocks += reserved_gdb * sb->s_blocksize >> (9 - cluster_bits); in reserve_backup_gdb()