Searched refs:queue_logical_block_size (Results 1 – 16 of 16) sorted by relevance
/linux-6.6.21/include/linux/ |
D | t10-pi.h | 42 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()
|
D | blkdev.h | 1144 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/ |
D | efi.c | 137 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()
|
D | atari.c | 50 if (queue_logical_block_size(state->disk->queue) != 512) in atari_partition()
|
D | msdos.c | 143 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/ |
D | bounce.c | 226 sectors = ALIGN_DOWN(bytes, queue_logical_block_size(q)) >> in __blk_queue_bounce()
|
D | blk-integrity.c | 369 ilog2(queue_logical_block_size(disk->queue)); in blk_integrity_register()
|
D | blk-sysfs.c | 133 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");
|
D | blk-settings.c | 958 queue_logical_block_size(q)); in disk_set_zoned()
|
/linux-6.6.21/drivers/block/ |
D | virtio_blk.c | 986 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()
|
D | loop.c | 178 if (queue_logical_block_size(lo->lo_queue) < sb_bsize) in lo_bdev_can_use_dio()
|
/linux-6.6.21/drivers/md/ |
D | raid0.c | 87 blksize = max(blksize, queue_logical_block_size( in create_strip_zones()
|
D | raid5-ppl.c | 1402 ppl_conf->block_size = queue_logical_block_size(mddev->queue); in ppl_init_log()
|
D | md.c | 1671 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/ |
D | drbd_main.c | 957 cpu_to_be32(queue_logical_block_size(q)); in drbd_send_sizes()
|
/linux-6.6.21/drivers/nvme/host/ |
D | core.c | 1727 u32 size = queue_logical_block_size(queue); in nvme_config_discard()
|