Home
last modified time | relevance | path

Searched refs:physical_block_size (Results 1 – 25 of 30) sorted by relevance

12

/openbmc/linux/block/
H A Dblk-settings.c315 if (limits->physical_block_size < size) in blk_queue_logical_block_size()
316 limits->physical_block_size = size; in blk_queue_logical_block_size()
319 limits->io_min = limits->physical_block_size; in blk_queue_logical_block_size()
340 q->limits.physical_block_size = size; in blk_queue_physical_block_size()
386 offset & (q->limits.physical_block_size - 1); in blk_queue_alignment_offset()
424 limits->io_min = limits->physical_block_size; in blk_limits_io_min()
590 top = max(t->physical_block_size, t->io_min) in blk_stack_limits()
604 t->physical_block_size = max(t->physical_block_size, in blk_stack_limits()
605 b->physical_block_size); in blk_stack_limits()
624 t->io_min = t->physical_block_size; in blk_stack_limits()
[all …]
H A Dblk-merge.c172 unsigned pbs = lim->physical_block_size >> SECTOR_SHIFT; in get_max_io_size()
/openbmc/qemu/tests/qemu-iotests/
H A D172.out25 physical_block_size = 512 (512 B)
54 physical_block_size = 512 (512 B)
93 physical_block_size = 512 (512 B)
107 physical_block_size = 512 (512 B)
150 physical_block_size = 512 (512 B)
164 physical_block_size = 512 (512 B)
208 physical_block_size = 512 (512 B)
222 physical_block_size = 512 (512 B)
251 physical_block_size = 512 (512 B)
290 physical_block_size = 512 (512 B)
[all …]
H A D172226 check_floppy_qtree -drive if=none,file="$TEST_IMG" -device floppy,drive=none0,physical_block_size=5…
230 check_floppy_qtree -drive if=none,file="$TEST_IMG" -device floppy,drive=none0,physical_block_size=1…
/openbmc/qemu/include/hw/block/
H A Dblock.h23 uint32_t physical_block_size; member
43 for (size = conf->physical_block_size; in get_physical_block_exp()
58 _conf.physical_block_size), \
/openbmc/qemu/hw/block/
H A Dblock.c133 if (!conf->physical_block_size) { in blkconf_blocksizes()
135 conf->physical_block_size = blocksizes.phys; in blkconf_blocksizes()
137 conf->physical_block_size = BDRV_SECTOR_SIZE; in blkconf_blocksizes()
160 if (conf->logical_block_size > conf->physical_block_size) { in blkconf_blocksizes()
H A Dswim.c215 dev->conf.physical_block_size != 512) in swim_drive_realize()
H A Dxen-block.c392 conf->discard_granularity = conf->physical_block_size; in xen_block_realize()
/openbmc/linux/drivers/block/rnbd/
H A Drnbd-proto.h152 __le16 physical_block_size; member
H A Drnbd-srv.c543 rsp->physical_block_size = cpu_to_le16(bdev_physical_block_size(bdev)); in rnbd_srv_fill_msg_open_rsp()
H A Drnbd-clt.c1338 le16_to_cpu(rsp->physical_block_size)); in setup_request_queue()
1632 le16_to_cpu(rsp->physical_block_size), in rnbd_clt_map_device()
/openbmc/linux/drivers/scsi/
H A Dsd.c832 max(sdkp->physical_block_size, in sd_config_discard()
1036 sdkp->physical_block_size > logical_block_size) { in sd_config_write_same()
1052 sdkp->physical_block_size)); in sd_config_write_same()
2596 sdkp->physical_block_size = sector_size; in read_capacity_10()
2601 sdkp->physical_block_size = sector_size; in read_capacity_10()
2709 sdkp->physical_block_size); in sd_read_capacity()
2740 if (sdkp->physical_block_size != sector_size) in sd_print_capacity()
2743 sdkp->physical_block_size); in sd_print_capacity()
3332 if (min_xfer_bytes & (sdkp->physical_block_size - 1)) { in sd_validate_min_xfer_size()
3336 min_xfer_bytes, sdkp->physical_block_size); in sd_validate_min_xfer_size()
[all …]
H A Dsd.h125 unsigned int physical_block_size; member
/openbmc/linux/drivers/md/
H A Ddm-ebs-target.c429 limits->physical_block_size = to_bytes(ec->u_bs); in ebs_io_hints()
430 limits->alignment_offset = limits->physical_block_size; in ebs_io_hints()
H A Ddm-log-writes.c877 limits->physical_block_size = bdev_physical_block_size(lc->dev->bdev); in log_writes_io_hints()
878 limits->io_min = limits->physical_block_size; in log_writes_io_hints()
H A Ddm-verity-target.c987 if (limits->physical_block_size < 1 << v->data_dev_block_bits) in verity_io_hints()
988 limits->physical_block_size = 1 << v->data_dev_block_bits; in verity_io_hints()
H A Ddm-zoned-target.c997 limits->physical_block_size = DMZ_BLOCK_SIZE; in dmz_io_hints()
H A Ddm-writecache.c1647 if (limits->physical_block_size < wc->block_size) in writecache_io_hints()
1648 limits->physical_block_size = wc->block_size; in writecache_io_hints()
H A Ddm-table.c424 q->limits.physical_block_size, in dm_set_device_limits()
H A Ddm-crypt.c3704 limits->physical_block_size = in crypt_io_hints()
3705 max_t(unsigned int, limits->physical_block_size, cc->sector_size); in crypt_io_hints()
/openbmc/linux/drivers/block/drbd/
H A Ddrbd_protocol.h326 u32 physical_block_size; member
H A Ddrbd_main.c941 p->qlim->physical_block_size = in drbd_send_sizes()
954 p->qlim->physical_block_size = in drbd_send_sizes()
/openbmc/linux/include/linux/
H A Dblkdev.h311 unsigned int physical_block_size; member
1174 return q->limits.physical_block_size; in queue_physical_block_size()
/openbmc/linux/Documentation/ABI/stable/
H A Dsysfs-block524 What: /sys/block/<disk>/queue/physical_block_size
533 physical_block_size variable contains the maximum
534 physical_block_size of the component devices.
/openbmc/qemu/hw/scsi/
H A Dscsi-disk.c2645 if (dev->conf.physical_block_size != 0) { in scsi_cd_realize()
2646 blocksize = dev->conf.physical_block_size; in scsi_cd_realize()

12