Home
last modified time | relevance | path

Searched refs:blksize_bits (Results 1 – 18 of 18) sorted by relevance

/linux-6.6.21/block/
Dbdev.c135 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()
/linux-6.6.21/fs/exfat/
Dnls.c753 unsigned char blksize_bits = sb->s_blocksize_bits; in exfat_create_upcase_table() local
783 num_sectors = ((tbl_size - 1) >> blksize_bits) + 1; in exfat_create_upcase_table()
/linux-6.6.21/drivers/block/
Dnbd.c103 unsigned int blksize_bits; member
112 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()
/linux-6.6.21/drivers/usb/gadget/function/
Dstorage_common.c237 blkbits = blksize_bits(blksize); in fsg_lun_open()
/linux-6.6.21/drivers/nvme/target/
Dio-cmd-bdev.c99 ns->blksize_shift = blksize_bits(bdev_logical_block_size(ns->bdev)); in nvmet_bdev_ns_enable()
Dzns.c68 ns->blksize_shift = blksize_bits(bdev_logical_block_size(ns->bdev)); in nvmet_bdev_zns_enable()
/linux-6.6.21/fs/ntfs3/
Dsuper.c929 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()
Drun.c382 << (2 + blksize_bits(used)); in run_add_entry()
Dfslog.c1315 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()
Dindex.c895 indx->index_bits = blksize_bits(t32); in indx_init()
/linux-6.6.21/fs/romfs/
Dsuper.c473 sb->s_blocksize_bits = blksize_bits(ROMBSIZE); in romfs_fill_super()
/linux-6.6.21/drivers/s390/block/
Ddasd_ioctl.c225 blksize_bits(fdata->blksize); in dasd_format()
/linux-6.6.21/fs/
Ddirect-io.c1157 blkbits = blksize_bits(bdev_logical_block_size(bdev)); in __blockdev_direct_IO()
Dbuffer.c994 unsigned int sizebits = blksize_bits(size); in blkdev_max_block()
/linux-6.6.21/include/linux/
Dblkdev.h1335 static inline unsigned int blksize_bits(unsigned int size) in blksize_bits() function
/linux-6.6.21/fs/ext4/
Dextents.c2191 unsigned char blksize_bits = inode->i_sb->s_blocksize_bits; in ext4_fill_es_cache_info() local
2215 (__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()
/linux-6.6.21/fs/btrfs/
Ddisk-io.c2804 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()
/linux-6.6.21/fs/ocfs2/
Dsuper.c2040 osb->s_sectsize_bits = blksize_bits(sector_size); in ocfs2_initialize_super()