Home
last modified time | relevance | path

Searched refs:queue_logical_block_size (Results 1 – 16 of 16) sorted by relevance

/linux-6.6.21/include/linux/
Dt10-pi.h42 unsigned int shift = ilog2(queue_logical_block_size(rq->q)); in t10_pi_ref_tag()
73 unsigned int shift = ilog2(queue_logical_block_size(rq->q)); in ext_pi_ref_tag()
Dblkdev.h1144 static inline unsigned queue_logical_block_size(const struct request_queue *q) in queue_logical_block_size() function
1156 return queue_logical_block_size(bdev_get_queue(bdev)); in bdev_logical_block_size()
/linux-6.6.21/block/partitions/
Defi.c137 queue_logical_block_size(disk->queue)) - 1ULL; in last_lba()
240 (queue_logical_block_size(state->disk->queue) / 512); in read_lba()
310 unsigned ssz = queue_logical_block_size(state->disk->queue); in alloc_read_gpt_header()
357 queue_logical_block_size(state->disk->queue)) { in is_gpt_valid()
360 queue_logical_block_size(state->disk->queue)); in is_gpt_valid()
718 unsigned ssz = queue_logical_block_size(state->disk->queue) / 512; in efi_partition()
Datari.c50 if (queue_logical_block_size(state->disk->queue) != 512) in atari_partition()
Dmsdos.c143 sector_size = queue_logical_block_size(state->disk->queue) / 512; in parse_extended()
591 sector_size = queue_logical_block_size(state->disk->queue) / 512; in msdos_partition()
/linux-6.6.21/block/
Dbounce.c226 sectors = ALIGN_DOWN(bytes, queue_logical_block_size(q)) >> in __blk_queue_bounce()
Dblk-integrity.c369 ilog2(queue_logical_block_size(disk->queue)); in blk_integrity_register()
Dblk-sysfs.c133 return queue_var_show(queue_logical_block_size(q), page); in queue_logical_block_size_show()
498 QUEUE_RO_ENTRY(queue_logical_block_size, "logical_block_size");
Dblk-settings.c958 queue_logical_block_size(q)); in disk_set_zoned()
/linux-6.6.21/drivers/block/
Dvirtio_blk.c986 nblocks = DIV_ROUND_UP_ULL(capacity, queue_logical_block_size(q) >> 9); in virtblk_update_capacity()
988 string_get_size(nblocks, queue_logical_block_size(q), in virtblk_update_capacity()
990 string_get_size(nblocks, queue_logical_block_size(q), in virtblk_update_capacity()
998 queue_logical_block_size(q), in virtblk_update_capacity()
1442 blk_size = queue_logical_block_size(q); in virtblk_probe()
Dloop.c178 if (queue_logical_block_size(lo->lo_queue) < sb_bsize) in lo_bdev_can_use_dio()
/linux-6.6.21/drivers/md/
Draid0.c87 blksize = max(blksize, queue_logical_block_size( in create_strip_zones()
Draid5-ppl.c1402 ppl_conf->block_size = queue_logical_block_size(mddev->queue); in ppl_init_log()
Dmd.c1671 bmask = queue_logical_block_size(rdev->bdev->bd_disk->queue)-1; in super_1_load()
2116 bmask = queue_logical_block_size(rdev->bdev->bd_disk->queue)-1; in super_1_sync()
/linux-6.6.21/drivers/block/drbd/
Ddrbd_main.c957 cpu_to_be32(queue_logical_block_size(q)); in drbd_send_sizes()
/linux-6.6.21/drivers/nvme/host/
Dcore.c1727 u32 size = queue_logical_block_size(queue); in nvme_config_discard()