/Linux-v6.6/fs/udf/ |
D | balloc.c | 58 (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 …]
|
D | truncate.c | 31 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()
|
D | inode.c | 641 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/ |
D | jfs_discard.c | 80 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()
|
D | xattr.c | 225 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()
|
D | jfs_filsys.h | 141 #define LBLK2PBLK(sb,b) ((b) << (sb->s_blocksize_bits - L2PBSIZE)) 142 #define PBLK2LBLK(sb,b) ((b) >> (sb->s_blocksize_bits - L2PBSIZE))
|
D | resize.c | 255 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()
|
D | jfs_mount.c | 460 *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/ |
D | ocfs2.h | 719 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/ |
D | mdb.c | 143 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/ |
D | exfat_fs.h | 96 #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/ |
D | inode.c | 367 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()
|
D | dir.c | 51 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/ |
D | bitmap.c | 555 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/ |
D | truncate.h | 34 needed = inode->i_blocks >> (inode->i_sb->s_blocksize_bits - 9); in ext4_blocks_for_truncate()
|
D | fsmap.c | 21 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/ |
D | cache.c | 318 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/ |
D | wrapper.c | 253 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/ |
D | dir.c | 23 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()
|
D | dir_f.c | 73 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/ |
D | inode.c | 175 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/ |
D | bitmap.c | 47 int k = sb->s_blocksize_bits + 3; in minix_free_block() 188 int k = sb->s_blocksize_bits + 3; in minix_free_inode()
|
D | itree_v2.c | 25 #define INDIRCOUNT(sb) (1 << ((sb)->s_blocksize_bits - 2))
|
/Linux-v6.6/fs/9p/ |
D | vfs_super.c | 61 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/ |
D | xattr.h | 56 ret >>= inode->i_sb->s_blocksize_bits; in reiserfs_xattr_nblocks()
|