Home
last modified time | relevance | path

Searched refs:s_blocksize_bits (Results 1 – 25 of 146) sorted by relevance

123456

/Linux-v6.6/fs/udf/
Dballoc.c58 (bitmap->s_nr_groups >> (sb->s_blocksize_bits + 3)) + 2) in read_block_bitmap()
156 block_group = block >> (sb->s_blocksize_bits + 3); in udf_bitmap_free_blocks()
212 block_group = block >> (sb->s_blocksize_bits + 3); in udf_bitmap_prealloc_blocks()
260 block_group = block >> (sb->s_blocksize_bits + 3); in udf_bitmap_new_block()
344 newblock = bit + (block_group << (sb->s_blocksize_bits + 3)) - in udf_bitmap_new_block()
416 (elen >> sb->s_blocksize_bits)) == start)) { in udf_table_free_blocks()
418 (count << sb->s_blocksize_bits)) { in udf_table_free_blocks()
420 sb->s_blocksize_bits); in udf_table_free_blocks()
428 (count << sb->s_blocksize_bits)); in udf_table_free_blocks()
435 (count << sb->s_blocksize_bits)) { in udf_table_free_blocks()
[all …]
Dtruncate.c31 inode->i_sb->s_blocksize_bits; in extent_trunc()
33 inode->i_sb->s_blocksize_bits; in extent_trunc()
187 sector_t first_block = inode->i_size >> sb->s_blocksize_bits, offset; in udf_truncate_extents()
200 byte_offset = (offset << sb->s_blocksize_bits) + in udf_truncate_extents()
247 sb->s_blocksize_bits; in udf_truncate_extents()
Dinode.c641 sector_t first_block = newsize >> sb->s_blocksize_bits, offset; in udf_extend_file()
727 b_off = (loff_t)map->lblk << inode->i_sb->s_blocksize_bits; in inode_getblk()
764 inode->i_sb->s_blocksize_bits); in inode_getblk()
770 offset = b_off >> inode->i_sb->s_blocksize_bits; in inode_getblk()
930 unsigned char blocksize_bits = inode->i_sb->s_blocksize_bits; in udf_split_extents()
1008 inode->i_sb->s_blocksize_bits); in udf_prealloc_extents()
1022 inode->i_sb->s_blocksize_bits); in udf_prealloc_extents()
1031 inode->i_sb->s_blocksize_bits); in udf_prealloc_extents()
1041 inode->i_sb->s_blocksize_bits); in udf_prealloc_extents()
1053 inode->i_sb->s_blocksize_bits); in udf_prealloc_extents()
[all …]
/Linux-v6.6/fs/jfs/
Djfs_discard.c80 start = range->start >> sb->s_blocksize_bits; in jfs_ioc_trim()
81 end = start + (range->len >> sb->s_blocksize_bits) - 1; in jfs_ioc_trim()
82 minlen = range->minlen >> sb->s_blocksize_bits; in jfs_ioc_trim()
103 range->len = trimmed << sb->s_blocksize_bits; in jfs_ioc_trim()
Dxattr.c225 nblocks = (size + (sb->s_blocksize - 1)) >> sb->s_blocksize_bits; in ea_write()
253 ((((nb + sb->s_blocksize - 1)) >> sb->s_blocksize_bits)) in ea_write()
254 << sb->s_blocksize_bits; in ea_write()
393 ((((nb + sb->s_blocksize - 1)) >> sb->s_blocksize_bits)) in ea_read()
394 << sb->s_blocksize_bits; in ea_read()
474 sb->s_blocksize_bits; in ea_get()
504 sb->s_blocksize_bits; in ea_get()
527 blocks_needed << sb->s_blocksize_bits, in ea_get()
548 lengthDXD(&ji->ea) << sb->s_blocksize_bits, in ea_get()
Djfs_filsys.h141 #define LBLK2PBLK(sb,b) ((b) << (sb->s_blocksize_bits - L2PBSIZE))
142 #define PBLK2LBLK(sb,b) ((b) >> (sb->s_blocksize_bits - L2PBSIZE))
Dresize.c255 log->size = newLogSize >> (L2LOGPSIZE - sb->s_blocksize_bits); in jfs_extendfs()
508 bh2 = sb_bread(sb, SUPER2_OFF >> sb->s_blocksize_bits); in jfs_extendfs()
Djfs_mount.c460 *bpp = sb_bread(sb, SUPER1_OFF >> sb->s_blocksize_bits); in readSuper()
465 *bpp = sb_bread(sb, SUPER2_OFF >> sb->s_blocksize_bits); in readSuper()
/Linux-v6.6/fs/ocfs2/
Docfs2.h719 sb->s_blocksize_bits; in ocfs2_clusters_to_blocks()
728 sb->s_blocksize_bits; in ocfs2_clusters_for_blocks()
738 sb->s_blocksize_bits; in ocfs2_blocks_to_clusters()
770 return bytes >> sb->s_blocksize_bits; in ocfs2_blocks_for_bytes()
782 int bits = OCFS2_SB(sb)->s_clustersize_bits - sb->s_blocksize_bits; in ocfs2_block_to_cluster_start()
805 return blocks << sb->s_blocksize_bits; in ocfs2_align_bytes_to_blocks()
/Linux-v6.6/fs/hfs/
Dmdb.c143 HFS_SB(sb)->fs_div = HFS_SB(sb)->alloc_blksz >> sb->s_blocksize_bits; in hfs_mdb_get()
149 (sb->s_blocksize_bits - HFS_SECTOR_SIZE_BITS); in hfs_mdb_get()
185 bh = sb_bread(sb, off >> sb->s_blocksize_bits); in hfs_mdb_get()
314 block >>= sb->s_blocksize_bits - HFS_SECTOR_SIZE_BITS; in hfs_mdb_commit()
/Linux-v6.6/fs/exfat/
Dexfat_fs.h96 #define EXFAT_BLK_TO_B(b, sb) ((b) << (sb)->s_blocksize_bits)
97 #define EXFAT_B_TO_BLK(b, sb) ((b) >> (sb)->s_blocksize_bits)
99 (((b - 1) >> (sb)->s_blocksize_bits) + 1)
122 (((u64)loc << FAT_ENT_SIZE_BITS) >> sb->s_blocksize_bits))
134 ((ent / BITS_PER_BYTE) >> (sb)->s_blocksize_bits)
/Linux-v6.6/fs/qnx6/
Dinode.c367 bh1 = sb_bread(s, bootblock_offset >> s->s_blocksize_bits); in qnx6_fill_super()
374 (bootblock_offset >> s->s_blocksize_bits) + in qnx6_fill_super()
375 (QNX6_SUPERBLOCK_AREA >> s->s_blocksize_bits); in qnx6_fill_super()
378 sbi->s_blks_off = (bootblock_offset >> s->s_blocksize_bits) + in qnx6_fill_super()
379 (QNX6_SUPERBLOCK_AREA >> s->s_blocksize_bits); in qnx6_fill_super()
Ddir.c51 u32 n = s >> (PAGE_SHIFT - sb->s_blocksize_bits); /* in pages */ in qnx6_longname()
53 u32 offs = (s << sb->s_blocksize_bits) & ~PAGE_MASK; in qnx6_longname()
/Linux-v6.6/fs/ntfs3/
Dbitmap.c555 bh = ntfs_bread(sb, lbo >> sb->s_blocksize_bits); in wnd_rescan()
690 vbo = (u64)iw << sb->s_blocksize_bits; in wnd_map()
699 bh = ntfs_bread(wnd->sb, lbo >> sb->s_blocksize_bits); in wnd_map()
715 size_t iw = bit >> (sb->s_blocksize_bits + 3); in wnd_set_free()
764 size_t iw = bit >> (sb->s_blocksize_bits + 3); in wnd_set_used()
852 size_t iw = bit >> (sb->s_blocksize_bits + 3); in wnd_is_free_hlp()
928 size_t iw = bit >> (sb->s_blocksize_bits + 3); in wnd_is_used()
1142 log2_bits = sb->s_blocksize_bits + 3; in wnd_find()
1371 for (iw = old_bits >> (sb->s_blocksize_bits + 3); bits; iw += 1) { in wnd_extend()
1387 bh = ntfs_bread(sb, lbo >> sb->s_blocksize_bits); in wnd_extend()
[all …]
/Linux-v6.6/fs/ext4/
Dtruncate.h34 needed = inode->i_blocks >> (inode->i_sb->s_blocksize_bits - 9); in ext4_blocks_for_truncate()
Dfsmap.c21 dest->fmr_physical = src->fmr_physical << sb->s_blocksize_bits; in ext4_fsmap_from_internal()
24 dest->fmr_length = src->fmr_length << sb->s_blocksize_bits; in ext4_fsmap_from_internal()
36 dest->fmr_physical = src->fmr_physical >> sb->s_blocksize_bits; in ext4_fsmap_to_internal()
38 dest->fmr_length = src->fmr_length >> sb->s_blocksize_bits; in ext4_fsmap_to_internal()
/Linux-v6.6/fs/fat/
Dcache.c318 cluster = sector >> (sbi->cluster_bits - sb->s_blocksize_bits); in fat_get_mapped_cluster()
338 const unsigned char blocksize_bits = sb->s_blocksize_bits; in is_exceed_eof()
379 (inode->i_sb->s_blocksize_bits - 9); in fat_bmap()
/Linux-v6.6/fs/hfsplus/
Dwrapper.c253 part_start >> (sb->s_blocksize_bits - HFSPLUS_SECTOR_SHIFT); in hfsplus_read_wrapper()
256 sbi->fs_shift = sbi->alloc_blksz_shift - sb->s_blocksize_bits; in hfsplus_read_wrapper()
/Linux-v6.6/fs/adfs/
Ddir.c23 index = offset >> sb->s_blocksize_bits; in adfs_dir_copyfrom()
48 index = offset >> sb->s_blocksize_bits; in adfs_dir_copyto()
104 num = ALIGN(size, sb->s_blocksize) >> sb->s_blocksize_bits; in adfs_dir_read_buffers()
Ddir_f.c73 const int blocksize_bits = dir->sb->s_blocksize_bits; in adfs_dir_checkbyte()
144 const unsigned int blocksize_bits = sb->s_blocksize_bits; in adfs_f_read()
/Linux-v6.6/fs/erofs/
Dinode.c175 vi->chunkbits = sb->s_blocksize_bits + in erofs_read_inode()
190 inode->i_blocks = nblks << (sb->s_blocksize_bits - 9); in erofs_read_inode()
290 inode->i_sb->s_blocksize_bits == PAGE_SHIFT) { in erofs_fill_inode()
/Linux-v6.6/fs/minix/
Dbitmap.c47 int k = sb->s_blocksize_bits + 3; in minix_free_block()
188 int k = sb->s_blocksize_bits + 3; in minix_free_inode()
Ditree_v2.c25 #define INDIRCOUNT(sb) (1 << ((sb)->s_blocksize_bits - 2))
/Linux-v6.6/fs/9p/
Dvfs_super.c61 sb->s_blocksize_bits = fls(v9ses->maxdata - 1); in v9fs_fill_super()
62 sb->s_blocksize = 1 << sb->s_blocksize_bits; in v9fs_fill_super()
/Linux-v6.6/fs/reiserfs/
Dxattr.h56 ret >>= inode->i_sb->s_blocksize_bits; in reiserfs_xattr_nblocks()

123456