Searched refs:cluster_bits (Results 1 – 10 of 10) sorted by relevance
| /linux/fs/fat/ |
| H A 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()
|
| H A 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()
|
| H A D | cache.c | 224 const int limit = sb->s_maxbytes >> sbi->cluster_bits; in fat_get_cluster() 313 cluster = sector >> (sbi->cluster_bits - sb->s_blocksize_bits); in fat_get_mapped_cluster()
|
| H A 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()
|
| H A D | dir.c | 1227 *nr_cluster = (size + (sbi->cluster_size - 1)) >> sbi->cluster_bits; in fat_add_new_entries() 1403 dir->i_size += nr_cluster << sbi->cluster_bits; in fat_add_entries() 1404 MSDOS_I(dir)->mmu_private += nr_cluster << sbi->cluster_bits; in fat_add_entries()
|
| H A D | fat.h | 68 unsigned short cluster_bits; /* log2(cluster_size) */ member
|
| H A D | inode.c | 489 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/ntfs3/ |
| H A D | file.c | 214 bits = sbi->cluster_bits; in ntfs_extend_initialized_size() 388 CLST vcn = from >> sbi->cluster_bits; in ntfs_file_mmap_prepare() 453 CLST vcn = pos >> sbi->cluster_bits; in ntfs_extend() 714 u8 cluster_bits = sbi->cluster_bits; in ntfs_fallocate() local 730 (to_alloc >> cluster_bits) > in ntfs_fallocate() 751 CLST vcn = vbo >> cluster_bits; in ntfs_fallocate() 1036 u8 frame_bits = NTFS_LZNT_CUNIT + sbi->cluster_bits; in ntfs_compress_write() 1081 frame_vbo + ((u64)clen << sbi->cluster_bits); in ntfs_compress_write()
|
| H A D | bitmap.c | 505 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() 692 if (!run_lookup_entry(&wnd->run, vbo >> sbi->cluster_bits, &lcn, &clen, in wnd_map() 697 lbo = ((u64)lcn << sbi->cluster_bits) + (vbo & sbi->cluster_mask); in wnd_map() 1475 range->len = (u64)done << sbi->cluster_bits; in ntfs_trim_fs()
|
| /linux/fs/ocfs2/ |
| H A D | ocfs2_trace.h | 1709 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)
|