/linux-5.19.10/fs/udf/ |
D | balloc.c | 137 block_group = block >> (sb->s_blocksize_bits + 3); in udf_bitmap_free_blocks() 193 block_group = block >> (sb->s_blocksize_bits + 3); in udf_bitmap_prealloc_blocks() 241 block_group = block >> (sb->s_blocksize_bits + 3); in udf_bitmap_new_block() 325 newblock = bit + (block_group << (sb->s_blocksize_bits + 3)) - in udf_bitmap_new_block() 397 (elen >> sb->s_blocksize_bits)) == start)) { in udf_table_free_blocks() 399 (count << sb->s_blocksize_bits)) { in udf_table_free_blocks() 401 sb->s_blocksize_bits); in udf_table_free_blocks() 409 (count << sb->s_blocksize_bits)); in udf_table_free_blocks() 416 (count << sb->s_blocksize_bits)) { in udf_table_free_blocks() 418 sb->s_blocksize_bits); in udf_table_free_blocks() [all …]
|
D | dir.c | 98 if (inode_bmap(dir, nf_pos >> sb->s_blocksize_bits, in udf_readdir() 105 if ((++offset << sb->s_blocksize_bits) < elen) { in udf_readdir() 120 if (!(offset & ((16 >> (sb->s_blocksize_bits - 9)) - 1))) { in udf_readdir() 121 i = 16 >> (sb->s_blocksize_bits - 9); in udf_readdir() 122 if (i + offset > (elen >> sb->s_blocksize_bits)) in udf_readdir() 123 i = (elen >> sb->s_blocksize_bits) - offset; in udf_readdir()
|
D | truncate.c | 35 inode->i_sb->s_blocksize_bits; in extent_trunc() 37 inode->i_sb->s_blocksize_bits; in extent_trunc() 209 sector_t first_block = inode->i_size >> sb->s_blocksize_bits, offset; in udf_truncate_extents() 222 byte_offset = (offset << sb->s_blocksize_bits) + in udf_truncate_extents() 269 sb->s_blocksize_bits; in udf_truncate_extents()
|
D | inode.c | 635 sector_t first_block = newsize >> sb->s_blocksize_bits, offset; in udf_extend_file() 677 loff_t add = ((loff_t)offset << sb->s_blocksize_bits) | in udf_extend_file() 715 b_off = (loff_t)block << inode->i_sb->s_blocksize_bits; in inode_getblk() 752 inode->i_sb->s_blocksize_bits); in inode_getblk() 758 offset = b_off >> inode->i_sb->s_blocksize_bits; in inode_getblk() 923 unsigned char blocksize_bits = inode->i_sb->s_blocksize_bits; in udf_split_extents() 1001 inode->i_sb->s_blocksize_bits); in udf_prealloc_extents() 1015 inode->i_sb->s_blocksize_bits); in udf_prealloc_extents() 1024 inode->i_sb->s_blocksize_bits); in udf_prealloc_extents() 1034 inode->i_sb->s_blocksize_bits); in udf_prealloc_extents() [all …]
|
D | namei.c | 191 if (inode_bmap(dir, f_pos >> sb->s_blocksize_bits, &epos, in udf_find_entry() 198 if ((++offset << sb->s_blocksize_bits) < elen) { in udf_find_entry() 378 if (inode_bmap(dir, f_pos >> dir->i_sb->s_blocksize_bits, &epos, in udf_add_entry() 386 if ((++offset << dir->i_sb->s_blocksize_bits) < elen) { in udf_add_entry() 471 dir->i_sb->s_blocksize_bits); in udf_add_entry() 494 dir->i_sb->s_blocksize_bits); in udf_add_entry() 496 f_pos >> dir->i_sb->s_blocksize_bits, 1, err); in udf_add_entry() 511 dir->i_sb->s_blocksize_bits); in udf_add_entry() 742 else if (inode_bmap(dir, f_pos >> dir->i_sb->s_blocksize_bits, in empty_dir() 746 if ((++offset << dir->i_sb->s_blocksize_bits) < elen) { in empty_dir()
|
D | directory.c | 56 unsigned char blocksize_bits = dir->i_sb->s_blocksize_bits; in udf_fileident_read() 124 if ((*offset << dir->i_sb->s_blocksize_bits) >= *elen) in udf_fileident_read()
|
/linux-5.19.10/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 | 139 #define LBLK2PBLK(sb,b) ((b) << (sb->s_blocksize_bits - L2PBSIZE)) 140 #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()
|
/linux-5.19.10/fs/ocfs2/ |
D | ocfs2.h | 720 sb->s_blocksize_bits; in ocfs2_clusters_to_blocks() 729 sb->s_blocksize_bits; in ocfs2_clusters_for_blocks() 739 sb->s_blocksize_bits; in ocfs2_blocks_to_clusters() 771 return bytes >> sb->s_blocksize_bits; in ocfs2_blocks_for_bytes() 783 int bits = OCFS2_SB(sb)->s_clustersize_bits - sb->s_blocksize_bits; in ocfs2_block_to_cluster_start() 806 return blocks << sb->s_blocksize_bits; in ocfs2_align_bytes_to_blocks()
|
/linux-5.19.10/fs/exfat/ |
D | exfat_fs.h | 89 #define EXFAT_BLK_TO_B(b, sb) ((b) << (sb)->s_blocksize_bits) 90 #define EXFAT_B_TO_BLK(b, sb) ((b) >> (sb)->s_blocksize_bits) 92 (((b - 1) >> (sb)->s_blocksize_bits) + 1) 109 (((u64)loc << FAT_ENT_SIZE_BITS) >> sb->s_blocksize_bits)) 121 ((ent / BITS_PER_BYTE) >> (sb)->s_blocksize_bits)
|
/linux-5.19.10/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-5.19.10/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-5.19.10/fs/ntfs3/ |
D | bitmap.c | 560 bh = ntfs_bread(sb, lbo >> sb->s_blocksize_bits); in wnd_rescan() 695 vbo = (u64)iw << sb->s_blocksize_bits; in wnd_map() 704 bh = ntfs_bread(wnd->sb, lbo >> sb->s_blocksize_bits); in wnd_map() 720 size_t iw = bit >> (sb->s_blocksize_bits + 3); in wnd_set_free() 772 size_t iw = bit >> (sb->s_blocksize_bits + 3); in wnd_set_used() 824 size_t iw = bit >> (sb->s_blocksize_bits + 3); in wnd_is_free_hlp() 900 size_t iw = bit >> (sb->s_blocksize_bits + 3); in wnd_is_used() 1115 log2_bits = sb->s_blocksize_bits + 3; in wnd_find() 1349 for (iw = old_bits >> (sb->s_blocksize_bits + 3); bits; iw += 1) { in wnd_extend() 1366 bh = ntfs_bread(sb, lbo >> sb->s_blocksize_bits); in wnd_extend() [all …]
|
/linux-5.19.10/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-5.19.10/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-5.19.10/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-5.19.10/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-5.19.10/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-5.19.10/fs/9p/ |
D | vfs_super.c | 63 sb->s_blocksize_bits = fls(v9ses->maxdata - 1); in v9fs_fill_super() 64 sb->s_blocksize = 1 << sb->s_blocksize_bits; in v9fs_fill_super()
|