Searched refs:blksize_bits (Results 1 – 18 of 18) sorted by relevance
135 bdev->bd_inode->i_blkbits = blksize_bits(bsize); in set_init_blocksize()149 if (bdev->bd_inode->i_blkbits != blksize_bits(size)) { in set_blocksize()151 bdev->bd_inode->i_blkbits = blksize_bits(size); in set_blocksize()166 sb->s_blocksize_bits = blksize_bits(size); in sb_set_blocksize()
753 unsigned char blksize_bits = sb->s_blocksize_bits; in exfat_create_upcase_table() local783 num_sectors = ((tbl_size - 1) >> blksize_bits) + 1; in exfat_create_upcase_table()
103 unsigned int blksize_bits; member112 return 1u << config->blksize_bits; in nbd_blksize()332 nbd->config->blksize_bits = __ffs(blksize); in nbd_set_size()1496 if (check_shl_overflow(arg, config->blksize_bits, &bytesize)) in __nbd_ioctl()1573 config->blksize_bits = NBD_DEF_BLKSIZE_BITS; in nbd_alloc_and_init_config()1719 debugfs_create_u32("blocksize_bits", 0444, dir, &config->blksize_bits); in nbd_dev_dbg_init()
237 blkbits = blksize_bits(blksize); in fsg_lun_open()
99 ns->blksize_shift = blksize_bits(bdev_logical_block_size(ns->bdev)); in nvmet_bdev_ns_enable()
68 ns->blksize_shift = blksize_bits(bdev_logical_block_size(ns->bdev)); in nvmet_bdev_zns_enable()
929 sbi->cluster_bits = cluster_bits = blksize_bits(sbi->cluster_size); in ntfs_init_from_boot()956 sbi->record_bits = blksize_bits(record_size); in ntfs_init_from_boot()1129 boot_block = lbo >> blksize_bits(block_size); in ntfs_init_from_boot()
382 << (2 + blksize_bits(used)); in run_add_entry()
1315 log->file_data_bits = blksize_bits(log->l_size) - 3; in log_create()3781 log->page_bits = blksize_bits(log->page_size); in log_replay()
895 indx->index_bits = blksize_bits(t32); in indx_init()
473 sb->s_blocksize_bits = blksize_bits(ROMBSIZE); in romfs_fill_super()
225 blksize_bits(fdata->blksize); in dasd_format()
1157 blkbits = blksize_bits(bdev_logical_block_size(bdev)); in __blockdev_direct_IO()
994 unsigned int sizebits = blksize_bits(size); in blkdev_max_block()
1335 static inline unsigned int blksize_bits(unsigned int size) in blksize_bits() function
2191 unsigned char blksize_bits = inode->i_sb->s_blocksize_bits; in ext4_fill_es_cache_info() local2215 (__u64)es.es_lblk << blksize_bits, in ext4_fill_es_cache_info()2216 (__u64)es.es_pblk << blksize_bits, in ext4_fill_es_cache_info()2217 (__u64)es.es_len << blksize_bits, in ext4_fill_es_cache_info()
2804 sb->s_blocksize_bits = blksize_bits(BTRFS_BDEV_BLOCKSIZE); in init_mount_fs_info()3343 sb->s_blocksize_bits = blksize_bits(sectorsize); in open_ctree()
2040 osb->s_sectsize_bits = blksize_bits(sector_size); in ocfs2_initialize_super()