/openbmc/linux/block/ |
H A D | blk-settings.c | 315 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 D | blk-merge.c | 172 unsigned pbs = lim->physical_block_size >> SECTOR_SHIFT; in get_max_io_size()
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | 172.out | 25 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 D | 172 | 226 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 D | block.h | 23 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 D | block.c | 133 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 D | swim.c | 215 dev->conf.physical_block_size != 512) in swim_drive_realize()
|
H A D | xen-block.c | 392 conf->discard_granularity = conf->physical_block_size; in xen_block_realize()
|
/openbmc/linux/drivers/block/rnbd/ |
H A D | rnbd-proto.h | 152 __le16 physical_block_size; member
|
H A D | rnbd-srv.c | 543 rsp->physical_block_size = cpu_to_le16(bdev_physical_block_size(bdev)); in rnbd_srv_fill_msg_open_rsp()
|
H A D | rnbd-clt.c | 1338 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 D | sd.c | 832 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 D | sd.h | 125 unsigned int physical_block_size; member
|
/openbmc/linux/drivers/md/ |
H A D | dm-ebs-target.c | 429 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 D | dm-log-writes.c | 877 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 D | dm-verity-target.c | 987 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 D | dm-zoned-target.c | 997 limits->physical_block_size = DMZ_BLOCK_SIZE; in dmz_io_hints()
|
H A D | dm-writecache.c | 1647 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 D | dm-table.c | 424 q->limits.physical_block_size, in dm_set_device_limits()
|
H A D | dm-crypt.c | 3704 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 D | drbd_protocol.h | 326 u32 physical_block_size; member
|
H A D | drbd_main.c | 941 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 D | blkdev.h | 311 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 D | sysfs-block | 524 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 D | scsi-disk.c | 2645 if (dev->conf.physical_block_size != 0) { in scsi_cd_realize() 2646 blocksize = dev->conf.physical_block_size; in scsi_cd_realize()
|