| /linux/fs/jfs/ |
| H A 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() 476 sb->s_blocksize_bits; in ea_get() 506 sb->s_blocksize_bits; in ea_get() 529 blocks_needed << sb->s_blocksize_bits, in ea_get() 550 lengthDXD(&ji->ea) << sb->s_blocksize_bits, in ea_get()
|
| H A 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/fs/ocfs2/ |
| H A D | ocfs2.h | 779 sb->s_blocksize_bits; in ocfs2_clusters_to_blocks() 788 sb->s_blocksize_bits; in ocfs2_clusters_for_blocks() 798 sb->s_blocksize_bits; in ocfs2_blocks_to_clusters() 830 return bytes >> sb->s_blocksize_bits; in ocfs2_blocks_for_bytes() 842 int bits = OCFS2_SB(sb)->s_clustersize_bits - sb->s_blocksize_bits; in ocfs2_block_to_cluster_start() 865 return blocks << sb->s_blocksize_bits; in ocfs2_align_bytes_to_blocks()
|
| /linux/fs/ntfs3/ |
| H A D | bitmap.c | 571 bh = ntfs_bread(sb, lbo >> sb->s_blocksize_bits); in wnd_rescan() 707 vbo = (u64)iw << sb->s_blocksize_bits; in wnd_map() 716 bh = ntfs_bread(wnd->sb, lbo >> sb->s_blocksize_bits); in wnd_map() 731 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() 853 size_t iw = bit >> (sb->s_blocksize_bits + 3); in wnd_is_free_hlp() 923 size_t iw = bit >> (sb->s_blocksize_bits + 3); in wnd_is_used() 1131 log2_bits = sb->s_blocksize_bits + 3; in wnd_find() 1360 for (iw = old_bits >> (sb->s_blocksize_bits + 3); bits; iw += 1) { in wnd_extend() 1376 bh = ntfs_bread(sb, lbo >> sb->s_blocksize_bits); in wnd_extend() [all …]
|
| /linux/fs/ext4/ |
| H A D | extents-test.c | 192 off_bytes = off_blk << inode->i_sb->s_blocksize_bits; in ext4_ext_zeroout_stub() 194 ee_len << inode->i_sb->s_blocksize_bits); in ext4_ext_zeroout_stub() 213 off_bytes = off_blk << inode->i_sb->s_blocksize_bits; in ext4_issue_zeroout_stub() 215 len << inode->i_sb->s_blocksize_bits); in ext4_issue_zeroout_stub() 245 sb->s_blocksize_bits = 12; in extents_kunit_init() 271 << sb->s_blocksize_bits; in extents_kunit_init() 390 int blkbits = inode->i_sb->s_blocksize_bits; in test_split_convert()
|
| H A D | truncate.h | 34 needed = inode->i_blocks >> (inode->i_sb->s_blocksize_bits - 9); in ext4_blocks_for_truncate()
|
| H A 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()
|
| H A D | mballoc.h | 98 #define MB_NUM_ORDERS(sb) ((sb)->s_blocksize_bits + 2)
|
| H A D | mballoc.c | 819 border = 2 << sb->s_blocksize_bits; in ext4_mb_mark_free_simple() 1348 (e4b->bd_sb->s_blocksize_bits + 2)); in mb_regenerate_buddy() 1693 e4b->bd_blkbits = sb->s_blocksize_bits; in ext4_mb_load_buddy_gfp() 3152 sb->s_blocksize_bits, in ext4_mb_seq_groups_show() 3435 struct kmem_cache *cachep = get_groupinfo_cache(sb->s_blocksize_bits); in ext4_mb_add_groupinfo() 3552 BLK_MAX_SEGMENT_SIZE >> (sb->s_blocksize_bits - 9)); in ext4_mb_init_backend() 3574 cachep = get_groupinfo_cache(sb->s_blocksize_bits); in ext4_mb_init_backend() 3749 offset_incr = 1 << (sb->s_blocksize_bits - 1); in ext4_mb_init() 3893 struct kmem_cache *cachep = get_groupinfo_cache(sb->s_blocksize_bits); in ext4_mb_release() 4547 bsbits = ac->ac_sb->s_blocksize_bits; in ext4_mb_normalize_request() [all …]
|
| /linux/fs/udf/ |
| H A D | inode.c | 655 sector_t first_block = newsize >> sb->s_blocksize_bits, offset; in udf_extend_file() 745 b_off = (loff_t)map->lblk << inode->i_sb->s_blocksize_bits; in inode_getblk() 786 inode->i_sb->s_blocksize_bits); in inode_getblk() 792 offset = b_off >> inode->i_sb->s_blocksize_bits; in inode_getblk() 956 unsigned char blocksize_bits = inode->i_sb->s_blocksize_bits; in udf_split_extents() 1034 inode->i_sb->s_blocksize_bits); in udf_prealloc_extents() 1048 inode->i_sb->s_blocksize_bits); in udf_prealloc_extents() 1057 inode->i_sb->s_blocksize_bits); in udf_prealloc_extents() 1067 inode->i_sb->s_blocksize_bits); in udf_prealloc_extents() 1079 inode->i_sb->s_blocksize_bits); in udf_prealloc_extents() [all …]
|
| /linux/fs/adfs/ |
| H A 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()
|
| H A D | super.c | 276 bh = sb_bread(sb, offset >> sb->s_blocksize_bits); in adfs_probe() 280 offset >> sb->s_blocksize_bits, try); in adfs_probe()
|
| /linux/fs/minix/ |
| H A 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()
|
| H A D | itree_v2.c | 25 #define INDIRCOUNT(sb) (1 << ((sb)->s_blocksize_bits - 2))
|
| /linux/fs/9p/ |
| H A D | vfs_super.c | 40 sb->s_blocksize_bits = fls(v9ses->maxdata - 1); in v9fs_fill_super() 41 sb->s_blocksize = 1 << sb->s_blocksize_bits; in v9fs_fill_super()
|
| /linux/fs/configfs/ |
| H A D | mount.c | 69 sb->s_blocksize_bits = PAGE_SHIFT; in configfs_fill_super()
|
| /linux/fs/erofs/ |
| H A D | inode.c | 195 (sb->s_blocksize_bits - 9); in erofs_read_inode() 207 vi->chunkbits = sb->s_blocksize_bits + in erofs_read_inode()
|
| H A D | internal.h | 213 #define erofs_blknr(sb, pos) ((erofs_blk_t)((pos) >> (sb)->s_blocksize_bits)) 215 #define erofs_pos(sb, blk) ((erofs_off_t)(blk) << (sb)->s_blocksize_bits)
|
| H A D | super.c | 681 sb->s_blocksize_bits = PAGE_SHIFT; in erofs_fc_fill_super() 705 if (sb->s_blocksize_bits != sbi->blkszbits) { in erofs_fc_fill_super() 713 sb->s_blocksize_bits = sbi->blkszbits; in erofs_fc_fill_super()
|
| /linux/include/uapi/linux/ |
| H A D | iso_fs.h | 164 #define ISOFS_BUFFER_BITS(INODE) ((INODE)->i_sb->s_blocksize_bits)
|
| /linux/fs/nfs/ |
| H A D | super.c | 288 blockbits = dentry->d_sb->s_blocksize_bits; in nfs_statfs() 1072 sb->s_blocksize_bits = 0; in nfs_fill_super() 1078 nfs_block_size(server->bsize, &sb->s_blocksize_bits); in nfs_fill_super() 1115 &sb->s_blocksize_bits); in nfs_fill_super()
|
| /linux/include/linux/fs/ |
| H A D | super_types.h | 135 unsigned char s_blocksize_bits; member
|
| /linux/fs/ntfs/ |
| H A D | aops.c | 150 blocksize_bits = vol->sb->s_blocksize_bits; in ntfs_bmap()
|
| /linux/fs/ramfs/ |
| H A D | inode.c | 267 sb->s_blocksize_bits = PAGE_SHIFT; in ramfs_fill_super()
|
| /linux/fs/nilfs2/ |
| H A D | the_nilfs.c | 762 nilfs->ns_blocksize_bits = sb->s_blocksize_bits; in init_nilfs() 769 sb->s_maxbytes = nilfs_max_size(sb->s_blocksize_bits); in init_nilfs()
|